beautypg.com

Teledyne LeCroy ST Automated Test Suite User Manual User Manual

Page 22

background image

22

Trainer-Infusion


'--------- set port configuration to DEVICE_CONFIG_TJ_0_0_0 ---------
MySASAutomation.SetPortConfiguration 0, 80

'--------- Start a generation file ---------
MySASAutomation.StartGenerationByPort "E:\Projects\TrainerOnly.ssg", 0, 0

'--------- Assign scenario to port 0 board 0 ---------
MySASAutomation.SetScenarioToPort 0, 0, "E:\VTSE.infdb", "FirstScenario"

'--------- Start scenario ---------
MySASAutomation.StartScenario 0, 0

'--------- Stop scenario ---------
MySASAutomation.StopScenario 0, 0

'--------- Stop Generation ---------
MySASAutomation.StopGeneration 0, 0