NIFGEN_ATTR_OUTPUT_MODE

NI-FGEN C Function

NIFGEN_ATTR_OUTPUT_MODE

IviFgenBase Attribute

Data Type Access Applies to Coercion High-Level Functions
ViInt32 R/W N/A None niFgen_ConfigureOutputMode

Description

Sets which output mode that the signal generator uses. The value that you specify determines which functions and attributes you can use to configure the waveform that the signal generator produces.

Defined Values

NIFGEN_VAL_OUTPUT_FUNC Standard Function mode— Generates standard function waveforms such as sine, square, triangle, and so on.
NIFGEN_VAL_OUTPUT_FREQ_LIST Frequency List mode—Generates a standard function using a list of frequencies you define.
NIFGEN_VAL_OUTPUT_ARB Arbitrary Waveform mode—Generates waveforms from user-created/provided waveform arrays of numeric data.
NIFGEN_VAL_OUTPUT_SEQ Arbitrary Sequence mode —Generates downloaded waveforms in an order your specify.
NIFGEN_VAL_OUTPUT_SCRIPT Script mode—Allows you to use scripting to link and loop multiple waveforms in complex combinations.

Default Value: NIFGEN_VAL_OUTPUT_FUNC


Standard Function

When you set this attribute to NIFGEN_VAL_OUTPUT_FUNC, you can use the following functions to configure the waveform:

And you can set the following attributes:

Frequency List

When you set this attribute to NIFGEN_VAL_OUTPUT_FREQ_LIST, you can use the following functions to configure the waveform:

And you can set the following attributes:

Arbitrary Waveform

When you set this attribute to NIFGEN_VAL_OUTPUT_ARB, you can use the following functions to configure the waveform:

And you can set the following attributes:

Arbitrary Sequence

When you set this parameter to NIFGEN_VAL_OUTPUT_SEQ, you can use the following functions to configure the sequence:

And you can set the following attributes:

Script

When you set this parameter to NIFGEN_VAL_OUTPUT_SCRIPT, you can use the following functions to configure the script:

And you can set the following attribute: