Teledyne-lecroy ST Automated Test Suite User Manual Manual do Utilizador Página 21

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 33
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 20
21
4.8 Running Mixed Configurations/Functionalities
For several port configurations, you can run Analyzer, Trainer, Host Emulator, Device Emulator, and
Infusion at the same time. For possible port configurations, refer to the Automation API Reference
Manual.
You can run Analyzer with all other functionalities.
Use the following examples of Analyzer-Host-Device and Trainer-Infusion to write your own mixture
configuration automation tests: (Note that error checking parts have been removed from these
examples.)
Analyzer-Host-Device
'--------- set port configuration to DEVICE_CONFIG_AHE_0_ADE_0 ---------
MySASAutomation.SetPortConfiguration 0, 100
'--------- Run an Analyzer/Exerciser project ---------
MySASAutomation.StartRecording("E:\AnalyzerHostDevice(AHE-0-ADE-0).sac")
'--------- Activate a Target Emulator project ---------
MySASAutomation.ActivateDevice "E:\Projects\DeviceOnly.std"
'--------- wait for 5 seconds ---------
WScript.Sleep(5000)
'--------- Deactivate device ---------
MySASAutomation.DeactivateDevice()
'--------- Stop recording and make trace file ---------
MySASAutomation.StopRecording(FALSE)
'--------- Open trace file and have access to its trace file, and later close it -------
--
Set SASTracer = MySASAutomation.OpenFile("E:\AnalyzerHostDevice(AHE-0-ADE-0).scs")
'--------- call a function to see how many packet there are in trace file ---------
MySTATS.ReportText ("Number of packets in trace file : " &
CSTR(SASTracer.GetPacketsCount()))
'--------- Close trace file ---------
SASTracer.Close()
Vista de página 20
1 2 ... 16 17 18 19 20 21 22 23 24 25 26 ... 32 33

Comentários a estes Manuais

Sem comentários