Agilent Technologies InfiniiVision 5000 Series Programmer's Manual page 676

Hide thumbs Also See for InfiniiVision 5000 Series:
Table of Contents

Advertisement

11
More About Oscilloscope Commands
Example 2:
myScope.WriteString ":TIMebase:REFerence CENTer;POSition 0.00001"
Program
or
Message
Terminator Sets
myScope.WriteString ":TIMebase:REFerence CENTer"
Parser Back to
myScope.WriteString ":TIMebase:POSition 0.00001"
Root
In the first line of example 2, the subsystem selector is implied for the POSition command in
N O T E
the compound command. The POSition command must be in the same program message as
the REFerence command because the program message terminator places the parser back
at the root of the command tree.
A second way to send these commands is by placing TIMebase: before the
POSition command as shown in the second part of example 2. The space
after POSition is required.
Example 3:
You can send multiple program commands and program queries for
Selecting
different subsystems on the same line by separating each command with a
Multiple
semicolon. The colon following the semicolon enables you to enter a new
Subsystems
subsystem. For example:
<program mnemonic><data>;:<program mnemonic><data><terminator>
For example:
myScope.WriteString ":TIMebase:REFerence CENTer;:DISPlay:VECTors ON"
The leading colon before DISPlay:VECTors ON tells the parser to go back to the root of the
N O T E
command tree. The parser can then see the DISPlay:VECTors ON command. The space
between REFerence and CENter is required; so is the space between VECTors and ON.
Multiple commands may be any combination of compound and simple
commands.
676
Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Guide

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents