beautypg.com

4 multiple command rules, 5 command path rules, 3 command reference – B&K Precision 5491B - Manual User Manual

Page 46: 1 display subsystem

background image

46

 The command header should be followed by a question mark (?) to generate a query for that

command.

For example:

FUNC?

6.2.4 Multiple Command Rules

The semicolon (;) can be used as a separator to execute multiple commands on a single line. The

multiple command rules are as follows.

 Commands at the same level and in the same subsystem command group can be separated by a

semicolon (;) on a multiple command line.

For example:

:RESistance:NPLCycle ;NPLCycles ?

 To restart commands from the highest level, a semicolon (;) must be used as the separator, and

then a leading colon (:), which shows that the restarted command is a command at the top of the

command tree, must follow.

For example:

:RESistance:NPLCycle ; :RESistance:NPLCycles ?

 The common commands can restart only after a semicolon on a multiple command line.

For example,

:RESistance:NPLCycles;*IDN?

6.2.5 Command Path Rules

 Each new program message must begin with the root command, unless it is optional (e.g.,

FUNCtion). If the root is optional, simply treat a command word on the next level as the root.

 The colon at the beginning of a program message is optional and need not be used. Example:

:DISPlay:ENABle = DISPlay:ENABle

 When the path pointer detects a colon(;), it moves down to the next command level.
 When the path pointer detects a colon (:) after a semicolon (;), it resets back to the root level.
 The path pointer can only move down. It cannot be moved up a level. Executing a command at a

higher level requires that you start over at the root command.

6.3 Command Reference

The multimeter provides the following subsystem commands:

◆ DISPlay ◆ FUNCtion ◆ VOLTage ◆ CURRent ◆ RESIstance

◆ FREQuency

◆ PERiod ◆ HOLD

◆ TRIGer ◆ FETCh ◆ SYSTem

The meter also supports following common commands:

◆ *RST

◆ *TRG

◆ *IDN

6.3.1 DISPlay subsystem

The DISPlay subsystem commands are mainly used to control the display of the multimeter and are

summarized in Table 6-2.

This manual is related to the following products: