Active Channels

NI Digital Waveform Generator/Analyzer

Active Channels

Short Name: ActiveChannels

Specifies part of the session to which subsequent properties apply. The Active Channels property is most often used to specify a channel or channels. You can also use the Active Channels property to specify a script trigger or marker.

You can set the Active Channels property more than once within a property node, if you want to independently set and/or get properties that apply to different parts of a session. The following example shows how to set Voltage Levels: Data High to 5 for channel 0 and to 3 for channel 1.

Active Channels

If you want to set and/or get properties that apply to a part of the session, and then get and/or set properties that apply to the session as a whole within the same property node, set Active Channels to an empty string before the properties that apply to session as a whole. The following example shows how to set Data High for channel 0 and a Samples per Record for the session.

Active Channels

Remarks

The following table lists the characteristics of this property.

Data Type ViString
Permissions R/W
Channel Based No