V - value output, Tput…… 84 – Measurement Computing DAC488 v.1 User Manual
Page 90

84 DAC488 Commands
DAC488 User’s Manual
V - Value Output
TYPE
Port Command
SYNTAX
Vval
Writes volts value for selected DAC port, where
val
is a value between -10 and
+10.
V#bits
Writes bit value for selected DAC port, where
val
is a value between -4095 and
+4095.
V#$hexZ
Writes hexadecimal bit value for selected DAC port, where
val
is a value
between F001 and +0FFF (-4095 and +4095).
V?
Returns current range and value for selected port in the format specified by the
Output Format (
On
) command.
DESCRIPTION
The Value Output command is used to program a voltage value to the selected DAC port. A voltage may be specified
in any of three formats:
•
Volts: V7.5 or V0.75E+1 (7.5 volts)
•
Decimal bits: V#3000 (3000 x 2.5 mV = 7.5 volts)
•
Hexadecimal bits: V#$BB8Z ($BB8 = 3000, which is also 7.5 volts)
The bit resolution is: 250 µV/bit, 1.25 mV/bit and 2.5mV/bit for the
±
1 volt,
±
5 volt and
±
10 volt ranges respectively.
Notes:
(1) When programming in bits, Autorange must be disabled (A0). The voltage output when programming in
bits will depend on the range selected. Factory default value is zero volts (V+00.00000), Ground range (R0).
(2) When programming in hexadecimal bits, the hexadecimal number must be preceded by a $ and followed
by the letter Z.
EXAMPLE
PRINT#1,"CLEAR09"
Line 1: Reset the DAC488.
PRINT#1,"OUTPUT09;C0 P1
A0 R2 V4 X"
Line 2: Select Direct Control mode, select port 1, disable autoranging, select
±
5 volt range, output 4 volts. The DAC488 will output 4 volts on Port 1.
PRINT#1,"OUTPUT09;C0 P1
A0 R1 V#3200 X"
Line 3: Select Direct Control mode, port 1, disable autoranging, select
±
1 volt
range, output 0.8 volts (voltage specified in decimal bits). The DAC488 will
output 0.8 volts on Port 1. (3200 x 250 µV = 0.8 volts)
PRINT#1,"OUTPUT09;C0 P1
A0 R2 V#3200 X"
Line 4: Select Direct Control mode, port 1, disable autoranging, select
±
5 volt
range, output 4 volts (voltage specified in decimal bits). The DAC488 will
output 4 volts on Port 1. (3200 x 1.25 mV = 4 volts)
PRINT#1,"OUTPUT09;C0 P1
A0 R3 V#3200 X"
Line 5: Select Direct Control mode, port 1, disable autoranging, select
±
10
volt range, output 8 volts (voltage specified in decimal bits). The DAC488
will output 8 volts on Port 1. (3200 x 2.5 mV = 8 volts)