2 stoprecording instruction, Stoprecording instruction, Forcestoprec_p – Teledyne LeCroy Voyager Exerciser Generation Script Language Manual User Manual
Page 98: Stoprecording, Waitfortrace_p
![background image](/manuals/353648/98/background.png)
Teledyne LeCroy
Voyager USB 3.0 Exerciser Generation Script Language Reference Manual
89
9.17.2 StopRecording Instruction
You can instruct the application to stop recording on USBTracer.
Format
StopRecording (
[
wait_for_trace, force_stop_recording
]
)
The instruction named parameters are:
o WaitForTrace: wait_for_trace is an optional parameter specifying that the Voyager USB 3.0
Exerciser does not proceed until the application uploads the recorded trace. If it is omitted,
the application stops recording and starts the uploading process, and Voyager USB 3.0
Exerciser proceeds without waiting until the trace file is fully uploaded.
o ForceStopRec: force_stop_recording is an optional parameter specifying that the application
stops recording and starts the uploading process even if the recording was not started by the
script. If it is omitted, the application stops recording and starts the uploading process only if
the script started the recording.
Examples
Main
{
# Stop recording and wait for trace even if the script
# did not start it.
StopRecording(
1
,
1
)
StartRecording(
"C:\\my_rec.rec"
,
"C:\\Test1.usb"
)
Send
TX_PACKET
Send
TX_PACKET
StopRecording(
1
)
# Stop recording and wait for trace.
StartRecording( TraceName =
"C:\\Test2.usb"
)
Send
TX_PACKET
Send
TX_PACKET
StopRecording(
1
)
# Stop recording and wait for trace
.
}