NI FGEN 5401 5411 5431 - ni/grpc-device GitHub Wiki
- NIFGEN_ATTRIBUTE_FILTER_CORRECTION_FREQUENCY
- NIFGEN_ATTRIBUTE_TRIGGER_SOURCE
- NIFGEN_ATTRIBUTE_SYNCHRONIZATION
- NIFGEN_ATTRIBUTE_VIDEO_WAVEFORM_TYPE
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150104 | ViReal64 | R/W | N/A | None | None |
Controls the filter correction frequency of the analog filter. This property can correct for the ripples in the analog filter frequency response at the frequency specified. When using the Standard Waveform output mode, this property should be set to the same frequency as the standard waveform. To disable filter correction, set this property to 0.
Units: hertz
Default Value: 0
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1250302 | ViInt32 | R/W | Channel | None | [OBSOLETE] niFgen_ConfigureTriggerSource |
Controls which trigger source the signal generator uses.
After you call the niFgen_InitiateGeneration function, the signal generator waits for the trigger that you specify in the triggerSource parameter in the niFgen_ConfigureTriggerSource function. After the signal generator receives a trigger, it produces the number of cycles that you specify in the NIFGEN_ATTRIBUTE_CYCLE_COUNT attribute.
This attribute is also the source for the trigger in the other trigger modes as specified by the NIFGEN_ATTRIBUTE_TRIGGER_MODE attribute.
Defined Values
NIFGEN_VAL_IMMEDIATE | Immediate—The signal generator does not wait for a trigger of any kind. |
---|---|
NIFGEN_VAL_EXTERNAL | External—The signal generator waits for a trigger on the external trigger input. |
NIFGEN_VAL_PFI_0 | Specifies that the generator use the PFI 0 trigger source. |
NIFGEN_VAL_PFI_1 | Specifies that the generator use the PFI 1 trigger source. |
NIFGEN_VAL_PFI_2 | Specifies that the generator use the PFI 2 trigger source. |
NIFGEN_VAL_PFI_3 | Specifies that the generator use the PFI 3 trigger source. |
NIFGEN_VAL_SOFTWARE_TRIG | Software Trigger—The signal generator waits until you call the niFgen Send Software Trigger VI. |
NIFGEN_VAL_RTSI_0 | Specifies that the generator use the RTSI line 0 trigger source. |
NIFGEN_VAL_RTSI_1 | Specifies that the generator use the RTSI line 1 trigger source. |
NIFGEN_VAL_RTSI_2 | Specifies that the generator use the RTSI line 2 trigger source. |
NIFGEN_VAL_RTSI_3 | Specifies that the generator use the RTSI line 3 trigger source. |
NIFGEN_VAL_RTSI_4 | Specifies that the generator use the RTSI line 4 trigger source. |
NIFGEN_VAL_RTSI_5 | Specifies that the generator use the RTSI line 5 trigger source. |
NIFGEN_VAL_RTSI_6 | Specifies that the generator use the RTSI line 6 trigger source. |
NIFGEN_VAL_RTSI_7 | Specifies that the generator use the RTSI line 7 trigger source. |
NIFGEN_VAL_PXI_STAR | Specifies that the generator use the PXI star trigger source. |
NIFGEN_VAL_TTL0 | Specifies that the generator use the PXI TRIG0 or VXI TTL0 trigger source. |
NIFGEN_VAL_TTL1 | Specifies that the generator use the PXI TRIG1 or VXI TTL1 trigger source. |
NIFGEN_VAL_TTL2 | Specifies that the generator use the PXI TRIG2 or VXI TTL2 trigger source. |
NIFGEN_VAL_TTL3 | Specifies that the generator use the PXI TRIG3 or VXI TTL3 trigger source. |
NIFGEN_VAL_TTL4 | Specifies that the generator use the PXI TRIG4 or VXI TTL4 trigger source. |
NIFGEN_VAL_TTL5 | Specifies that the generator use the PXI TRIG5 or VXI TTL5 trigger source. |
NIFGEN_VAL_TTL6 | Specifies that the generator use the PXI TRIG6 or VXI TTL6 trigger source. |
Default Value: NIFGEN_VAL_IMMEDIATE
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150111 | ViInt32 | R/W | N/A | None | None |
Specifies the source of the synchronization signal to use.
Note: You cannot change this attribute while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.
Defined Values
NIFGEN_VAL_NONE | Specifies that the generator use no synchronization source. |
---|---|
NIFGEN_VAL_RTSI_0 | Specifies that the generator use RTSI 0 as the synchronization source. |
NIFGEN_VAL_RTSI_1 | Specifies that the generator use RTSI 1 as the synchronization source. |
NIFGEN_VAL_RTSI_2 | Specifies that the generator use RTSI 2 as the synchronization source. |
NIFGEN_VAL_RTSI_3 | Specifies that the generator use RTSI 3 as the synchronization source. |
NIFGEN_VAL_RTSI_4 | Specifies that the generator use RTSI 4 as the synchronization source. |
NIFGEN_VAL_RTSI_5 | Specifies that the generator use RTSI 5 as the synchronization source. |
NIFGEN_VAL_RTSI_6 | Specifies that the generator use RTSI 6 as the synchronization source. |
NIFGEN_VAL_TTL0 | Specifies that the generator use PXI TRIG0 or VXI TTL0 as the synchronization source. |
NIFGEN_VAL_TTL1 | Specifies that the generator use PXI TRIG1 or VXI TTL1 as the synchronization source. |
NIFGEN_VAL_TTL2 | Specifies that the generator use PXI TRIG2 or VXI TTL2 as the synchronization source. |
NIFGEN_VAL_TTL3 | Specifies that the generator use PXI TRIG3 or VXI TTL3 as the synchronization source. |
NIFGEN_VAL_TTL4 | Specifies that the generator use PXI TRIG4 or VXI TTL4 as the synchronization source. |
NIFGEN_VAL_TTL5 | Specifies that the generator use PXI TRIG5 or VXI TTL5 as the synchronization source. |
NIFGEN_VAL_TTL6 | Specifies that the generator use PXI TRIG6 or VXI TTL6 as the synchronization source. |
Default Value: NIFGEN_VAL_NONE
Numeric Value | Data Type | Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|---|
1150216 | ViInt32 | R/W | N/A | None | None |
Selects which waveform type the NI 5431 generates. Setting this attribute ensures that the crystal is set to the proper frequency.
Note: You cannot change this attribute while the device is generating a waveform. If you want to change the device configuration, call the niFgen_AbortGeneration function or wait for the generation to complete.
Defined Values
NIFGEN_VAL_PAL_B | PAL B video type |
---|---|
NIFGEN_VAL_PAL_D | PAL D video type |
NIFGEN_VAL_PAL_G | PAL G video type |
NIFGEN_VAL_PAL_H | PAL H video type |
NIFGEN_VAL_PAL_I | PAL I video type |
NIFGEN_VAL_PAL_M | PAL M video type |
NIFGEN_VAL_PAL_N | PAL N video type |
NIFGEN_VAL_NTSC_M | NTSC M video type |