Teledyne-lecroy ST Automated Test Suite User Manual Instrukcja Użytkownika Strona 20

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 33
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 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
Przeglądanie stron 19
1 2 ... 15 16 17 18 19 20 21 22 23 24 25 ... 32 33

Komentarze do niniejszej Instrukcji

Brak uwag