HP (Hewlett-Packard) E1418A TV Converter Box User Manual


 
The output can also be disabled before changing the mode or output value.
Use the
OUTPutn commands to disable the 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
OUTPutn[:STATe] command.
It is also possible, with the
APPLyn commands, to change the channel
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.
46 Programming Examples Chapter 2