Status un – Measurement Computing Serial488/4 User Manual

Page 61

Advertising
background image

Section 3

Command Descriptions

3.22

Status

Un

The Status command selects the type of status message the Serial488/4 will

send when addressed to talk on the command address. The U0 selection causes the
command status to be selected. The U1 thru U4 selections cause a serial port status to
be selected. The status of the Serial488/4 may be read at any time without interfering
with normal operation. Any error conditions are cleared after the command status
string is read by the controller. The factory default setting as set by the Save
Configuration command (S0) is U0, command status is selected.

NOTE: The Status selected is independent of the serial port selected via the Port
command (Pn).

U0

Send the Serial488/4 command status when addressed to talk

U1

Send the status of serial port 1 when next addressed to talk

U2

Send the status of serial port 2 when next addressed to talk

U3

Send the status of serial port 3 when next addressed to talk

U4

Send the status of serial port 4 when next addressed to talk

U?

Return the current status command selection

The format of the status byte returned by the Serial488/4 after receiving a U0

command is as follows:

*.*E#K#M###P#U#Y#Z#####

where each # equals the number corresponding to that command. The leading

information *.* is the revision level of the Serial488/4 firmware.

Example 1: Read Serial488/4 command status using dual primary addressing mode.

DIM A$(50)

dimension A$

PRINT#1,"CLEAR08"

reset the Serial488/4

PRINT#1,"OUTPUT08;U0X"

send U0 to the Serial488/4

PRINT#1,"ENTER08"
INPUT#2,A$

read the status byte

PRINT A$

shows 1.0E0K1M000P1Y2

Advertising
This manual is related to the following products: