beautypg.com

2 stoprecording instruction, Stoprecording instruction, Forcestoprec_parameter – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 76: Stoprecording in, Waitfortrace_parameter

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

68

9.19.2 StopRecording Instruction

You can instruct the application to stop recording on UWBTracer.

Format

StopRecording (

[

wait_for_trace, force_stop_recording

]

)

wait_for_trace:

Optional parameter specifying that the UWBTrainer should not proceed until

the application uploads the recorded trace. If it is omitted, the application stops recording and
starts the uploading process, and UWBTrainer proceeds without waiting until the trace file is fully
uploaded.

force_stop_recording:

Optional parameter specifying that the application should stop

recording and start 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.

The instruction named parameters are:

WaitForTrace: See wait_for_trace parameter for details.

ForceStopRec: See force_stop_recording parameter for details.

Examples

Main

{

# Stop recording and wait for trace even if the script didn’t start

# it.

StopRecording(

1

,

1

)

StartRecording(

"C:\\my_rec.rec"

,

"C:\\Test1.uwb"

)

Send

TX_FRAME

Send

TX_FRAME

StopRecording(

1

)

# Stop recording and wait for trace.

StartRecording( TraceName =

"C:\\Test2.uwb"

)

Send

TX_FRAME

Send

TX_FRAME

StopRecording(

1

)

# Stop recording and wait for trace

.

}