beautypg.com

2 stop timer instruction, 3 reset timer instruction, Stop timer instruction – Teledyne LeCroy UWBTrainer Exerciser Script Language User Manual

Page 59: Reset timer instruction

background image

LeCroy Corporation

UWBTrainer Exerciser - Generation Script Language Reference Manual

51

9.7.2 Stop Timer Instruction

This instruction stops the UWBTrainer microsecond resolution timer and revokes the “TIMER”
condition.

Format

StopTimer

Example

Main

{

# Start the timer with timeout 2000 microseconds and the auto_reset

# option.

StartTimer (

2000,

1

)

Wait( TIMER )

# Wait for the timer. The timer will be restarted.

StopTimer

# Stop the timer and revoke the “TIMER” condition.

}

9.7.3 Reset Timer Instruction

This instruction resets the UWBTrainer microsecond resolution timer.

Format

ResetTimer

Example

Main

{

# Start the timer with timeout 2000 microseconds.

# The timer has to be reset after elapsing.

StartTimer (

2000

)

Wait( TIMER )

# Wait for the timer. The timer has to be restarted.

ResetTimer

# Reset the timer.

Wait( TIMER )

# Wait for the timer again.

}