The output can also be disabled before changing the mode or output value.
Use the
OUTPut
n 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
OUTPut
n
[:STATe]
command.
It is also possible, with the
APPLy
n 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
Summary of Contents for E1418A
Page 6: ...Notes 6 Contents HP E1418A 8 16 Channel D A Converter Module ...
Page 10: ...Notes 10 HP E1418A User s Manual ...
Page 12: ...12 HP E1418A User s Manual ...
Page 105: ...TRIGger 105 HP E1418A SCPI Command Reference Chapter 3 ...
Page 111: ...Notes HP E1418A Command Quick Reference 111 HP E1418A SCPI Command Reference Chapter 3 ...
Page 135: ...135 HP E1418A Register Based Programming Appendix B ...
Page 157: ...Notes 156 HP E1418A Error Messages Appendix C ...
Page 170: ...Notes Appendix D Voltage Current Output Adjustment 169 ...
Page 174: ...Figure E 1 8 Channel Disassembly 172 Configuration and Disassembly Appendix E ...
Page 175: ...Figure E 2 16 Channel Disassembly Appendix E Configuration and Disassembly 173 ...
Page 192: ...Notes 192 HP E1418A 8 16 Channel D A Converter Module Index ...