B.1.3 using the min and max parameters, B.1.4 querying parameter settings – BNC 645 User Manual

Page 122

Advertising
background image

122

A semicolon ( ; ) is used to separate commands within the same
subsystem, and can reduce typing efforts. For example, sending the
following command string:

"BURSt:MODE TRIG; NCYCles 10"


is the same as sending the following two commands:

"BURS:MODE TRIG"
"BURS:NCYCles 10"

Use a colon and a semicolon to link commands from different subsystems.
For example, in the following command string, an error is generated if
you do not use both the colon and semicolon:

"BURS:STATe ON;:TRIG:SOUR EXT"

B.1.3 Using the MIN and MAX Parameters
You may put MINimum or MAXimum in place of a parameter for many
commands. For example, consider the following command:


FREQuency: STARt {<frequency>|MINimum|MAXimum}

Instead of specifying a specific frequency value, you may use MIN to set
the frequency to its minimum value or MAX to its maximum value.

B.1.4 Querying Parameter Settings
You can query the current value of a parameter by adding a question
mark

( ? ) to the command. For example, the following command sets

the start frequency to 5000 Hz:


"STAR 5000"


You can query the start frequency by executing:


"STAR?"

Advertising