Command reference, Command reference…… 57 – Measurement Computing DAC488 v.1 User Manual
Page 63

DAC488 User’s Manual
DAC488 Commands 57
Command
Syntax
Description
U
User Status
Un
Where
n = 0, 1, 2, 3, 4, 5, 6, 7,
or
8
.
(System Command)
U0
Send system status on talk.
U1
Send DAC port 1 status on talk.
U2
Send DAC port 2 status on talk.
U3
Send DAC port 3 status on talk. (DAC488/4 only)
U4
Send DAC port 4 status on talk. (DAC488/4 only)
U5
Send Digital input port status on talk.
U6
Send Overrun status on talk.
U7
Returns actual Output voltage and range.
U8 (def)
Returns programmed Output voltage and range.
U?
Returns current status select setting.
Notes:
All status commands are one shot.
V
Value Output
Vvolts
Write volts value for selected DAC port.
(Port Command)
V#bits
Write decimal bit value for selected DAC port.
V#$hexZ
Write hex bit value for selected DAC port
V?
Returns current range and value for selected port in the format
specified by the Output Format (
On
) command.
Notes:
The current Autorange and Range affect the value. When
programming in bits Autorange must be disabled. The digital
port must be programmed in bits.
W
Test
Wn
Where
n = 0
or
1
.
(System Command)
W0
(Default) Turn off TEST LED.
W1
Turn on TEST LED.
W?
Return state of TEST LED.
X
Execute
X
Execute Command String.
(System Command)
Y
Bus Terminator
Yn
Where
n = 0, 1, 2,
or
3
.
(System Command)
Y0
(Default) Bus terminator is carriage-return line-feed.
Y1
Bus terminator is line-feed carriage-return.
Y2
Bus terminator is carriage return only.
Y3
Bus terminator is line feed only.
Y?
Returns current bus terminator setting.
?
Query
(System Command;
Command Support)
?
Returns present configuration or mode of the command
preceding the
?
.
Command Reference
Like the command summary, the following detailed command reference presents all 26 of the DAC488
system and port commands in alphabetical order according to their command syntax. Support for these 26
commands, including the Query (
?
) command extension, and the use of the Serial Poll Status Byte, is also
presented. All examples are given using GW-BASIC or BASICA.