NIHSDIO_ATTR_STATIC_CHANNELS

NI Digital Waveform Generator/Analyzer

NIHSDIO_ATTR_STATIC_CHANNELS

Specific Attribute

Data
type
Access Applies to Coercion High-Level Functions
ViString R/W N/A None niHSDIO_AssignStaticChannels

Description

Assigns channels for static operation. The group of static channels is changed each time this attribute is set. For example, setting this attribute to 0-10 and then setting it to 5-8 results in only channels 5-8 being assigned to static. Channels 0-4 and 9-10 are unconfigured by the second configuration.

Writing an empty string to this attribute configures all channels for static operation. Writing the value None removes all channels from static operation. The channel is not changed until a call to niHSDIO_ReadStaticU32 (for acquisition sessions) or niHSDIO_WriteStaticU32 (for generation sessions).

You can configure a channel for more than one simultaneous operation. A channel can be simultaneously configured for the following operations:

  • Dynamic generation and any (static and/or dynamic) acquisition
  • Static generation and any (static and/or dynamic) acquisition
  • Both static and dynamic acquisition
Note  You cannot configure a particular channel for simultaneous dynamic and static generation.

Unconfiguring a static generation channel frees that channel to be reconfigured for dynamic generation. Unconfiguring a static generation channel does not stop the channel from driving its current value – any static value already written to the channel continues to be driven.

Syntax examples:

  • 2-15 or 15-2 set channels 2 through 15 to static
  • 0, 3, 10 or 3, 10, 0 set channels 0, 3, and 10 to static
  • "" (empty string) sets all channels for static
  • None removes all channels from static operation.