Teledyne-lecroy ST Automated Test Suite User Manual Manuel d'utilisateur Page 20

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 33
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 19
20
'--------- Stop scenario on port 1 board 0 ---------
MySASAutomation.StopScenario 0, 1
If Err.Number <> 0 Then
MySTATS.ReportError Err.number, Err.Description
Else
MySTATS.ReportText ("Scenario is stopped on port 1")
End If
4.7 Activating Device Emulator
To activate/deactivate Device Emulator projects, call the ActivateDevice and DeactivateDevice
functions from the SASAnalyer automation object, using as parameter the device emulator project.
Use the following code to activate/deactivate a device emulator:
'--------- Activate a Target Emulator project ---------
MySASAutomation.ActivateDevice "E:\Projects\DeviceOnly.std"
If Err.Number <> 0 Then
MySTATS.ReportError Err.number, Err.Description
Else
MySTATS.ReportText ("Device is activated")
End If
WScript.Sleep(5000)
'--------- Stop recording and make trace file ---------
MySASAutomation.DeactivateDevice()
If Err.Number <> 0 Then
MySTATS.ReportError Err.number, Err.Description
Else
MySTATS.ReportText ("Device is deactivated")
End If
Vue de la page 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 32 33

Commentaires sur ces manuels

Pas de commentaire