NI-HSDIO C Function Reference

NIHSDIO_ATTR_SCRIPT_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_ConfigureScriptToGenerate

Description

Use this attribute to specify which script in onboard memory is generated upon calling the niHSDIO_Initiate function when the NIHSDIO_ATTR_GENERATION_MODE attribute is set to 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 the niHSDIO_Initiate function. If only one script is in onboard memory and this attribute is set to empty string, you receive an error upon calling the niHSDIO_Initiate function.

This attribute is ignored when the NIHSDIO_ATTR_GENERATION_MODE attribute is set to NIHSDIO_VAL_WAVEFORM, since the NIHSDIO_ATTR_WAVEFORM_TO_GENERATE attribute defines which waveform to generate.

This attribute is valid only for generation sessions.

Related topics:

Log in to get a better experience