R-GPIB Commands Sample Program
Ensure that the order mentioned below is followed for the command script to work correctly. A sample
script is listed here. It recalls a signal quality test setting, selects the test, runs the test, and queries the
result. For ex
ample: Measured mean value for rising edge rate test.
It is recommended to give a delay of at least one second between commands.
variable:value “recallName” ,“sqc”
variable:value “setup”,”Recall”
variable:value “sequencerState”,“Sequencing”
…..keep polling until it returns a “Ready”
variable:value? “sequencerState”
“Ready”
variable:value “resultFor”,“rer”
variable:value? “resultFor”
“Busy”
…..keep polling until it returns a “rer” the current test for w hich the result is queried
variable:value? “resultFor”
“rer”
variable:value? “mean”
1.88n
Sample Program
/* TDSUSB2
1
This is a reference program to illustrate how to communicate w ith TDSUSB2
2
Using Remote GPIB facilities.
Typically, the application does the following steps:
1. Start up the application
2. Recall Full Speed Signal Quality setup
3. Run the measurement
4. Generate the report
5. Exit the application
For the current progr
am, we will recall a setup fi le named as sqcsetup.
You can save setup fi les according to your own needs using the GUI based interface of
142 TDSUSB2 Universal Serial Bus Measurements Package