Teledyne-lecroy SAS_SATA Automation API manual Manual de usuario Pagina 26

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 150
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 25
TeledyneLeCroy SASAnalyzerObject
20 AutomationAPIforTeledyneLeCroySAS/SATAProtocolSuite
ISASAnalyzer::IsRunning
HRESULT IsRunning (
[in] int nFunctionality,
[out, retval] BOOL* pbIsRunning)
Thisfunctionreturnstherunningstatusofprojects.
Parameters
nFunctionality Thisparameterspecifiesthefunctionalityoftheprojectthatyou
wanttocheckitsrunningstatus.Youshouldsetthisparameteras
below:
0:tocheckallavailablefunctionalitiesstatusatonce
1:tocheckAnalyzerrunningstatus
2:tocheckInfusionrunningstatus
3:tocheckSierra/STXrunningstatus
4:tocheckwhetherTarget/Deviceemulatorisactiveornot
5:tocheckInitiatoremulatorrunningstatus
ReturnValue
pbIsRunning Thisparameterreturnstherunningstatus
Remarks
Bycallingthisfunction,youwillbeabletocheckwhethertheAnalyzer,Infusion,
Sierra/STX,Target/DeviceEmulatorandInitiatorEmulatorarerunningornot.Ifyouwant
tocheckallthesefunctionalitiesatonce,youhavetosetthefirstparameter
(nFunctionality)tozero.
Example
VBScript:
Dim bIsRunning
Dim Timer
Dim TimeOut
Timer = 0
bIsRunning = TRUE
'Set waiting time out to 60 Seconds
TimeOut= 60 'seconds
'Wait for project to stop or timeout happen
While bIsRunning <> FALSE And Timer < TimeOut
Vista de pagina 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 149 150

Comentarios a estos manuales

Sin comentarios