NIFGEN_ATTR_FUNC_DUTY_CYCLE_HIGH

NI-FGEN C Function

NIFGEN_ATTR_FUNC_DUTY_CYCLE_HIGH

IviFgenStdFunc Attribute

Data Type Access Applies to Coercion High-Level Functions
ViReal64 R/W Channel None None

Description

Controls the duty cycle of the square wave the signal generator produces. Specify this attribute as a percentage of the time the square wave is high in a cycle.

Note   This parameter only affects signal generator behavior when you set the waveform parameter of the niFgen_ConfigureStandardWaveform function to NIFGEN_VAL_WFM_SQUARE.

Units: Percentage of time the waveform is high

Default Value: 50%