SOURce:FUNCtion:VOLTage:OFFSet
Syntax
SOURce:FUNCtion:VOLTage:OFFSet {<offset>|MIN|MAX|DEF}, (@<ch_list>)
SOURce:FUNCtion:VOLTage:OFFSet? [{MIN|MAX}, ] (@<ch_list>)
Description
This command sets a voltage offset for scaled trace outputs on the specified channels on the 34951A Isolated DAC Module. Scaling is applied using the following equation:
Scaled Value = (Gain x Trace Data) + Offset
Used With:
34951A Isolated DAC Module
Parameters
Name |
Type |
Range of Values |
Default Value |
<offset> |
Numeric |
Specify any value between -16 and +16. MIN = -16, MAX = 16. |
0 |
<ch_list> |
Numeric |
One or more channels in the form (@sccc).
|
This is a required parameter |
Remarks
If the resulting scaled value goes outside the present limit of the DAC channel (±16 Vdc), an error is generated and the value is not applied. For example, if the gain is set to 5V, the maximum offset allowed will be 15V.
Each DAC channel is capable of ±16 Vdc up to 10 mA maximum current. For protection, each channel incorporates a resettable thermal fuse that will open at greater than 20 mA. If an overload condition exists, the fuse will open, but no error or Service Request will be generated. To reset the fuse, remove the overload condition and wait a few minutes for the fuse to cool.
A Factory Reset (*RST command), Instrument Preset (SYSTem:PRESet command), and Card Reset (SYSTem:CPON command) will reset the offset to 0. In addition, storing the instrument state (*SAV command) will reset the offset to 0.
Return Format
The query command returns the offset in the form "+0.00000000E+00" for each DAC channel specified. Multiple responses are separated by commas.
Examples
The following command downloads a 1000-point square waveform to memory on the module in slot 4 and outputs the waveform from DAC channel 1. The gain and offset are adjusted to TTL levels. The trace name is "TEST_SQU".
TRAC:FUNC 4,SQU,
TEST_SQU, 1000 !Download
1000-point square wave to memory
SOUR:FUNC:TRAC TEST_SQU,(@4001) !Assign
trace to channel 1
SOUR:FUNC:VOLT:OFFS 2.5,(@4001) !Set
offset to 2.5 volts
SOUR:FUNC:VOLT:GAIN 2.5,(@4001) !Set
gain to 2.5
OUTP:STAT ON,(@4001) !Enable
outputs from channel 1
SOUR:FUNC:ENAB ON,(@4001) !Enable
trace mode on channel 1
The following query returns the offset on DAC channel 1 in slot 4.
SOUR:FUNC:VOLT:OFFS? (@4001)
Typical Response: +2.50000000E+00