34951A SCPI Programming Examples
External Trigger
Example: Selecting the external trigger source and issuing trigger source The
following command segment enables the trigger output mode on a DAC
module installed in slot 4, then enables the external trigger source on DAC
channels 1 and 2. The last command issues an external trigger pulse from
the module.
SOURce:MODule:TRIGger:OUTPut ON,4
SOURce:FUNCtion:TRIGger:SOURce EXTernal,(@4001,4002)
SOURce:MODule:TRIGger:EXTernal:IMMediate 4
Auto Calibration
Example: Performing an auto calibration on all DAC channels This command
performs an auto- cal of all four channels on a DAC module. Because the
auto- cal takes can take up to one minute per DAC channel, you may want
to increase the time- out value of your programming application prior to
sending this command.
The following command performs an auto- cal of a DAC module in slot 5
and returns a pass/fail indication.
CALibration:MODule? 5
The following command performs an auto- cal of all 34951A DAC modules
in a mainframe.
CALibration:MODule? ALL
Example: Effects of using the secure state command on storing calibration
constants The following command removes instrument security, and the
calibration constants are stored in non- volatile memory if sent before the
CALibration:MODule? command.
CALibration:SECure:STATe OFF <security code>
If the instrument is secured at the time of auto- cal, the calibration
constants are stored in volatile memory and are lost when power is turned
off. The *RST command will not discard the calibration constants. The
command to secure the instrument is:
CALibration:SECure:STATe ON <security code>
6
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
The default security code is AT34980.
N O T E
Agilent 34951A 4-Channel Isolated D/A Converter Module User's Guide