Agilent Technologies E1418A User Manual page 53

8/16-channel d/a converter module scpi programming guide
Table of Contents

Advertisement

Chapter 2
Like the
APPLy
n commands, you can change the output value by sending
additional
n commands. Changing the output value with the
SOURce
n commands does not open the output relay.
SOURce
/* Set channel 1 voltage mode */
SOURce1:FUNCtion:MODE VOLTage
/* Set channel 1 voltage output */
SOURce1:VOLTage 5.000
/* Turn on the output */
OUTPut1 ON
/* Channel 1 output is enabled */
/* Send a new output voltage */
SOURce1:VOLTage 15.000
Changing the output mode with the
relay.
/* Set channel 1 voltage mode */
SOURce1:FUNCtion:MODE VOLTage
/* Set channel 1 voltage output */
SOURce1:VOLTage 5.000
/* Turn on the output */
OUTPut1 ON
/* Channel 1 output is enabled and 5 volts applied */
/* Send a new output mode */
SOURce1:FUNCtion:MODE CURRent
/* Channel 1 output is disabled */
/* Set channel 1 output current */
SOURce1:CURRent .01
/* Channel 1 is programmed for 10 mA */
/* Turn on the output */
OUTPut1 ON
/* Channel 1 output is enabled and 10 mA applied */
SOURce
n commands opens the output
Programming Examples
51

Advertisement

Table of Contents
loading

Table of Contents