Creates a frequency list from an array of frequencies and an array of durations.
The waveform generator generates each frequency for the given amount of time and then moves on to the next frequency. When the end of the list is reached, the waveform generator starts over at the beginning of the list. You can create multiple frequency lists using this node.
The waveform generator must not be in the Generating state when you call this node.
You must set the output mode input of Configure Output Mode to frequency list before calling this node.
Array of frequencies to form the frequency list in hertz (Hz).
The array must have at least as many elements as the value you specify in the frequency list length input. Each frequency array element has a corresponding duration array input element that indicates how long that frequency is repeated. frequency array should have the same number of elements as the duration array input.
Handle that identifies your instrument session previously allocated by Initialize With Channels.
Error conditions that occur before this node runs.
The node responds to this input according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Default: No error
Number of steps in the frequency list.
The value must be between the minimum and maximum frequency list lengths that the waveform generator allows. You can obtain the minimum and maximum frequency list lengths from the minimum frequency list length and maximum frequency list length outputs of Query Freq List Capabilities.
Standard waveform that you want the waveform generator to produce. The Waveform property sets to this value.
Name | Value | Description |
---|---|---|
Sine | 0 | The waveform generator produces a sine waveform. |
Square | 1 | The waveform generator produces a square waveform. |
Triangle | 2 | The waveform generator produces a triangle waveform. |
Ramp Up | 3 | The waveform generator produces a ramp up waveform. |
Ramp Down | 4 | The waveform generator produces a ramp down waveform. |
DC | 5 | The waveform generator produces a DC waveform. |
Noise | 6 | The waveform generator produces a noise waveform. |
User | 7 | The waveform generator produces a user-defined waveform. |
Default: Sine
Array of durations in seconds to form the frequency list.
The array must have at least as many elements as the value that you specify in the frequency list length input. Each duration array element has a corresponding frequency array input element and indicates how long in seconds to generate the corresponding frequency. duration array should have the same number of elements as the frequency array input.
Reference to your instrument session to wire to the next node.
Error information.
The node produces this output according to standard error behavior.
Standard Error Behavior
Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.
Handle that identifies the frequency list you want the waveform generator to produce.
Wire frequency list handle to Configure Frequency List to specify which frequency list you want the waveform generator to produce.
Where This Node Can Run:
Desktop OS: Windows
FPGA: Not supported