NI-FGEN C Function Reference

NIFGEN_ATTR_ARB_SAMPLE_RATE

  • Updated2023-02-21
  • 1 minute(s) read

IviFgenArbWfm Attribute

Numeric Value Data Type Access Applies to Coercion High-Level Functions
1250204 ViReal64 R/W N/A None niFgen_ConfigureSampleRate

Description

Specifies the rate, in samples per second, at which the signal generator generates the points in arbitrary waveforms. Use this attribute when the NIFGEN_ATTR_OUTPUT_MODE attribute is set to NIFGEN_VAL_OUTPUT_ARB or NIFGEN_VAL_OUTPUT_SEQ.

Note  You cannot change this property 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.

Units: Samples/s