SOURce:FUNCtion:FREQuency

34980A

SOURce:FUNCtion:FREQuency

Syntax

SOURce:FUNCtion:FREQuency {<frequency>|MIN|MAX|DEF}, (@<ch_list>)

SOURce:FUNCtion:FREQuency? [{MIN|MAX}, ] (@<ch_list>)

Description

This command sets the frequency of trace waveform outputs for the 34951A Isolated DAC Module. The maximum allowed frequency is for the entire trace waveform and is a function of the time between consecutive trace values (see SOURce:FUNCtion:SAMPle:PERiod command) and the number of waveform points.

Used With:

  • 34951A Isolated DAC Module

Parameters

Name

Type

Range of Values

Default Value

<frequency>

Numeric

Desired frequency in Hz.

The default is a function of the sample period and the number of points in the trace waveform.  

<ch_list>

Numeric

One or more channels in the form (@sccc).
Select from s001, s002, s003, or s004.

This is a required parameter

Remarks

  • If you have not associated a trace name with the specified channels (see SOURce:FUNCtion:TRACe[:NAME] command), the command is accepted but no error is generated if you attempt to set the frequency.

  • Since the maximum point-to-point rate for trace waveforms on the 34951A is 200 kHz, the maximum output frequency is:

    Maximum Frequency = 200,000 / Number of Points


    For example, a 1,000-point waveform will have a maximum frequency of: 200,000/1,000 = 200 Hz; a 100-point waveform will have a maximum frequency of: 200,000/100 = 2,000 Hz.

  • This command is valid only with an INTernal clock source (see SOURce:FUNCtion:CLOCk:SOURce command). If the clock source is set to EXTernal or STEP, the specified frequency is ignored.

  • All of the built-in waveforms are 1 cycle in length (see TRACe[:DATA]:FUNCtion command).

  • A Factory Reset (*RST command), Instrument Preset (SYSTem:PRESet command), and Card Reset (SYSTem:CPON command) will reset the frequency to its default (a function of the sample period and the number of points in the trace waveform). In addition, storing the instrument state (*SAV command) will reset the frequency to its default.

Return Format

The query command returns the output frequency in the form "+1.00000000E+03" for each DAC channel specified. Multiple responses are separated by commas. If you have not associated a trace name with the specified channels, "+0.00000000E+00" is returned for each channel (no error generated).

Examples

The following command sets the output frequency to 1 kHz on DAC channels 1 and 2 in slot 4.

SOUR:FUNC:FREQ 1000,(@4001,4002)

The following query returns the output frequency on DAC channels 1 and 2 in slot 4.

SOUR:FUNC:FREQ? (@4001,4002)

Typical Response:  +1.00000000E+03,+1.00000000E+03

See Also

SOURce:FUNCtion:CLOCk:SOURce

SOURce:FUNCtion:SAMPle:PERiod