Agilent Technologies Switch/Measure Switch User Manual


 
190 34980A User’s Guide
9 4-Channel Isolated D/A Converter with Waveform Memory Module
Example: Downloading trace points to memory and outputting waveform from
DACs
The following command segment downloads seven trace points to memory on
the module in slot 4 and output the waveform from DAC channels 1 and 2.
The trace name is "NEG_RAMP".
TRACe:DATA 4,NEG_RAMP, 1, .67, .33, 0, -.33, -.67, -1
SOURce:FUNCtion:TRACe NEG_RAMP,(@4001,4002)
OUTPut:STATe ON,(@4001,4002)
SOURe:FUNCtion:ENABle ON,(@4001,4002)
Example: Setting the amplitude of a waveform for offset and gain
The following commands set the offset to 5.25 and the gain to 1.5 on DAC
channels 1 and 2 of a module in slot 4.
SOURce:FUNCtion:VOLTage:OFFSet 5.25,(@4001,4002)
SOURce:FUNCtion:VOLTage:GAIN 1.5,(@4001,4002)
Example: Setting cycle count for a waveform The following command
segments turn off the trace output mode on DAC channels 1 and 2 in slot 4,
set the cycle count to 100, then turn the trace output mode back on.
SOURce:FUNCtion:ENABle OFF,(@4001,4002)
SOURce:FUNCtion:TRACe:NCYCles 100,(@4001,4002)
SOURce:FUNCtion:ENABle ON,(@4001,4002)
Example: Deleting a waveform The following command deletes the trace
named "TEST_WFORM" from the module in slot 4.
TRACe:DELete 4,TEST_WFORM
External Clock
Example: Selecting an external clock source and setting a clock divisor The first
command selects the external clock source on DAC channels 1 and 2 in slot 4.
The external clock input is shared between these two channels. The second
command sets the clock divisor to 100 on the same DAC channels (the
external clock input signal is divided by 100).
SOURce:FUNCtion:CLOCk:SOURce EXTernal,(@4001,4002)
SOURce:FUNCtion:CLOCk:EXTernal:DIVisor 100,(@4001,4002)
Example: Outputting a clock The following commands set the clock output
frequency for slot 4 to 5 kHz and enable the output.
SOURce:MODule:CLOCK:FREQuency 5E+3,4
SOURce:MODule:CLOCK:STATE ON,4