niFgen Set Sample Rate
Configures the sample rate, which determines the rate at which the signal generator produces arbitrary waveforms. When you configure the signal generator to produce an arbitrary sequence, this is the sample rate for all arbitrary waveforms in the sequence. If the update clock (sample clock) source is external, setting the sample rate informs NI-FGEN of the external rate.
Notes The signal generator must not be in the Generating state when you call this VI. You must set Output Mode to Arbitrary Waveform or Arbitrary Sequence using niFgen Configure Output Mode VI before calling this VI. |
Instrument Handle identifies your instrument session. Instrument Handle was obtained from the niFgen Initialize VI or niFgen Initialize With Options VI. | |||||||
Sample Rate specifies the sample rate at which you want the signal generator to output arbitrary waveforms. If you are using an external update clock (sample clock), this is the frequency of the external update clock.
Units: Samples per second (S/s) |
|||||||
error in describes error conditions that occur before this VI or function runs.
| |||||||
Instrument Handle Out passes a reference to your instrument session to the next VI. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, it describes the error status that this VI or function produces.
|