NIHSDIO_ATTR_SCRIPT_TO_GENERATE
Specific Attribute
Data type |
Access | Applies to | Coercion | High-Level Functions |
---|---|---|---|---|
ViString | R/W | N/A | None | niHSDIO_ConfigureScriptToGenerate |
Description
Use this attribute to specify which script in onboard memory is generated upon calling niHSDIO_Initiate when NIHSDIO_ATTR_GENERATION_MODE is NIHSDIO_VAL_SCRIPTED. If this attribute is not set to a valid script and more than one script is in onboard memory, you receive an error upon calling niHSDIO_Initiate. If only one script is in onboard memory and this attribute is set to empty string, you receive an error upon calling niHSDIO_Initiate.
This attribute is ignored when NIHSDIO_ATTR_GENERATION_MODE is set to NIHSDIO_VAL_WAVEFORM, since NIHSDIO_ATTR_WAVEFORM_TO_GENERATE defines which waveform to generate.
This attribute is valid only for generation sessions.