HP E1418A User Manual page 46

8/16-channel d/a converter module
Hide thumbs Also See for E1418A:
Table of Contents

Advertisement

46
Programming Examples
The output can also be disabled before changing the mode or output value.
Use the
n commands to disable the output.
OUTPut
/* Set channel 1 for 5.0 Volt output */
APPLy1:VOLTage 5.000
/* Disable the output */
OUTPut1 OFF
/* Channel 1 output relay is opened */
/* Now, enable the output */
OUTPut1 ON
/* Channel 1 is set to voltage output and 5.000 V applied */
/* Disable the output */
OUTPut1 OFF
/* Now set channel 1 for 20 mA current output */
APPLy1:CURRent .0200
/* Channel 1 is set to current output and 20 mA applied */
The
OUTPut
subsystem commands only affect the output relay. The
programmed mode and output value for a given channel is not changed.
Once the mode is set and the desired output value programmed, the output
can be turned on or off as needed with the
It is also possible, with the
output mode from voltage to current.
/* Set channel 1 for 5.0 Volt output */
APPLy1:VOLTage 5.000
/* Channel 1 is set to voltage output and 5.000 V applied */
/* Now set channel 1 for 20 mA current output */
APPLy1:CURRent .0200
/* Channel 1 is set to current output and 20 mA applied */
During the change from voltage to current (or current to voltage), the
channel output relay is opened. Sending a command sequence similar to the
one above performs the following actions:
Programs channel 1 to the voltage mode and 5.000 Volts output.
Closes the channel 1 output relay.
Opens the channel 1 output relay.
Programs channel 1 to current mode and 20 mA output.
Closes the channel 1 output relay.
OUTPut
n
APPLy
n commands, to change the channel
[:STATe]
command.
Chapter 2

Advertisement

Table of Contents
loading

Table of Contents