beautypg.com

17 analyzer control instructions, 1 startrecording instruction, Analyzer control instructions – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual

Page 97: Startrecording instruction, Keepoldtrace_p, Recopt_p, Startrecording, Tracename_p

background image

Teledyne LeCroy

Voyager USB 3.0 Exerciser Generation Script Language Reference Manual

88

9.17 Analyzer Control Instructions

You can control the USBTracer

™ from the script.

9.17.1 StartRecording Instruction

You can instruct the application to start recording on USBTracer.

Format

StartRecording (

[

recording_options, trace_file, keep_old_trace

]

)

The instruction named parameters are:

o RecOpt: recording_options is an optional parameter specifying the path to the file containing

the recording options. If it is omitted, the current USBTracer recording options are used.

o TraceName: trace_file is an optional parameter specifying a file name for the recorded trace.

If it is omitted, the file name provided in the recording options is used.

o KeepOldTrace: keep_old_trace is an optional parameter specifying that the application does

not overwrite a trace with the same file name but uses a similar but different new file name. If
it is omitted, the old trace file is overwritten.

Example

Main

{
StartRecording( "

C:\\my_rec.rec

",

"C:\\USB\Test1.usb"

)


Send

TX_PACKET

Send

TX_PACKET


StartRecording( RecOpt = "

C:\\my_rec.rec

" )

}