NIHSDIO_ATTR_WAVEFORM_TO_GENERATE
- Updated2023-02-21
- 1 minute(s) read
Specific Attribute
| Data type |
Access | Applies to | Coercion | High-Level Functions |
|---|---|---|---|---|
| ViString | R/W | N/A | None | niHSDIO_ConfigureWaveformToGenerate |
Description
Use this attribute to specify which named waveform in onboard memory is generated upon calling niHSDIO_Initiate when NIHSDIO_ATTR_GENERATION_MODE is NIHSDIO_VAL_WAVEFORM. If this attribute is not set to a valid waveform name and more than one waveform is in onboard memory, you receive an error when calling niHSDIO_Initiate. If only one waveform is in onboard memory and this attribute is set to empty string, then that waveform is generated upon calling niHSDIO_Initiate.
This attribute is ignored when NIHSDIO_ATTR_GENERATION_MODE is set to NIHSDIO_VAL_SCRIPTED, since NIHSDIO_ATTR_SCRIPT_TO_GENERATE defines the sequence of waveforms to generate.
This attribute is valid only for generation sessions.