Measurement Computing Analyzer488 User Manual

Page 235

Advertising
background image

Section 6

Instrument Simulator

6.25

SYNTAX:

U0

Send the Analyzer488 status when next addressed
to talk (default)

U1

Tests for a key press

U2

Get a key press - 10 second timeout

U?

Returns the last Status command issued.

EXAMPLES:

PRINT#1,"CLEAR10"

reset the Analyzer488

PRINT#1,"OUTPUT10;C0U0X"

clear the data buffer and request

the status of the Analyzer488

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

read the status byte

PRINT A$

display will show:

1.1C0000D0E0G0H2I000J1K0P000S000T00000U0W00Y2Z000

PRINT#1,"U1X"

Request keyboard input buffer

INPUT #2,C$
PRINT C$

Display shows 255

Advertising