Teledyne-lecroy SAS_SATA Automation API manual Manual do Utilizador Página 122

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 150
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 121
TeledyneLeCroy SASVScriptEngineObject
116 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
IVScriptEngine::Tag
[propget] HRESULT Tag ( [out, retval] int* pVal )
[propget] HRESULT Tag ( [in] int newVal )
PropertyassignsandgetsatagtotheVSEobject.Thistagis usedineventnotifications,
allowingaclienteventhandlertodeterminewhichVSEobjectsenttheevent.
Parameters
pVal AddressofthevariablewherethecurrentVSEtagiskept
newVal NewtagforVSE
ReturnValue
Remarks
Example
C++:
// This example uses wrapper functions provided by the
#import directive.
ISASTrace* sas_trace;
. . .
ISASVerificationScript* sas_vscript = NULL;
sas_trace->QueryInterface(IID_ISASVerificationScript,
(void**)&sas_vscript))
assert( sas_vscript != NULL );
IVScriptEngine* sas_vsengine = NULL;
sas_vsengine = sas_vscript ->
GetVScriptEngine("Test_1");
assert( sas_vsengine != NULL );
sas_vsengine ->PutTag( 0xDDAADDAA );
assert( sas_vsengine -> GetTag() == 0xDDAADDAA );
VS_RESULT result = sas_vsengine ->RunVScript();
if( result == PASSED )
{
::MessageBox( NULL, "Test 1 passed !!!", "SASTracer
client", MB_OK );
}
. . .
Vista de página 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 149 150

Comentários a estes Manuais

Sem comentários