Chapter 4 Command Reference

58502A Command Summary

Table 4-1. 58502A Command Summary (Continued)

Keyword/Syntax

Parameters

Description

 

 

 

INPut (Continued)

 

INPUT Subsystem (Continued)

 

 

 

:AUTO

append 0 or OFF, or

Enables or disables the automatic input switching feature. 0 or

 

1 or ON

OFF disables it while 1 or ON enables it. This setting is stored

:AUTO?

returns 0 or 1

in non-volatile memory.

 

 

Query.

 

 

 

:DEFault

A or B

Selects the default input channel (or port) to be used at

 

 

powerup. This setting has no impact on auto-switching and

 

 

does not affect the current input channel selection. This setting

 

 

is stored in non-volatile memory.

:DEFault?

returns A or B

Query.

 

 

 

OUTPut:QUEStionable

 

OUTPut:QUEStionable Subsystem

 

 

 

:PACKed?

returns binary

Provides status on each output in a single packed integer.

 

weighted decimal

Each bit is associated with an output channel. The least

 

 

significant bit = output 1, next bit = output 2, and so on. If bit is

 

 

0, output signal is present. Hence value of 0 indicates that all

 

 

outputs are outputting the source signal. If there was no output

 

 

from outputs 2 and 3, the response would be:

 

 

6 (1*0 + 2*1 + 4*1 + 8*0 + ... = 6)

 

 

 

[:UNPacked]?

returns array of

Provides status on each output (lowest numbered output to

 

Boolean

highest). 0 = signal at output, 1 = no signal at output. Same

 

 

result as PACKed? (see prior command), but information on

 

 

each output is provided with separate value. If outputs 3 and 5

 

 

were not outputting the source signal, the response would be:

 

 

0,0,1,0,1,0,0,0,0,0,0,0

 

 

 

[SOURce]:ROSCillator

 

ROSCillator Subsystem (USED WITH OPTION 010 ONLY)

 

 

 

:WARM?

0 or 1

Reports if internal oscillator is warmed up.

 

 

0 = not warm.

 

 

1 = warm.

 

 

 

SYSTem

 

SYSTem Subsystem

 

 

 

:COMMunicate:SERial

 

Node Only

 

 

 

:FDUPlex

0 or 1

Sets duplex. (0 = echo Off, 1 = echo On).

 

 

 

[:RECeive] TRANsmit

 

Node Only. There is a single setting of commands under this

 

 

node for both transmit and receive. Default values are in italics.

 

 

 

:BAUD

<numeric>

Sets the BAUD rate (1200, 2400, 9600, 19200).

 

 

 

:BITS?

7 or 8

Returns Data Bits set by PARity (7 for odd/even, 8 for none).

 

 

 

:PACE

XON NONE

Sets flow control. (On or None).

 

 

 

:PARity

 

Node Only.

 

 

 

[:TYPE]

EVEN ODD

Sets parity. (Odd, Even, or None).

 

NONE

 

 

 

 

:ERRor?

returns integer,

First parameter is error number, quoted string is error

 

quoted string

description.

 

 

 

User’s Guide

4-5