beautypg.com

4 running host emulator, Running host emulator – Teledyne LeCroy ST Automated Test Suite User Manual User Manual

Page 16

background image

16

Make Recording

You can call the MakeRecording function, using as input parameter the path of the Analyzer project,
to start capturing, using the current the triggering strategy and specified sample size,. After those
limits are reached, the device stops, and the trace file is generated. With this option, you do not need
to wait for capturing. The function return value is the reference to the generated trace file.


Set SASTracer = MySASAutomation.MakeRecording("E:\Make-Recording.sac")
If Err.Number <> 0 Then

MySTATS.ReportError Err.number, Err.Description

Else

MySTATS.ReportText ("Trace is created")

End If

Closing

After SASTracer is opened and used, close it by calling the Close function. .


SASTracer.Close()


4.4 Running Host Emulator

Running a Host Emulator project is similar to running an Analyzer project. You can use either the
Start Recording or MakeRecording option. Use the Host Emulator project as the parameter, rather
than the Analyzer project. Set your port configuration to the device type that has at least one port of
Host Emulator functionality (for example

DEVICE_CONFIG_HE_0_0_0

).