niHSDIO_AssignDynamicChannels

NI Digital Waveform Generator/Analyzer

niHSDIO_AssignDynamicChannels

Specific Function

C Function Prototype

ViStatus niHSDIO_AssignDynamicChannels (ViSession vi, ViConstString channelList);

Purpose

Configures channels for dynamic acquisition (if vi is an acquisition session) or dynamic generation (if vi is a generation session).

Note  A channel cannot be assigned to static generation and dynamic generation at the same time.

Parameters

Name Type Description
vi ViSession This handle identifies your instrument session. vi was obtained from the niHSDIO_InitAcquisitionSession or niHSDIO_InitGenerationSession function.
channelList ViConstString This string identifies which channels are reserved for dynamic operation.

Valid Syntax

"0-19" or "0-15,16-19" or "0-18,19"
"" (empty string) or VI_NULL to specify all channels
"none" to unassign all channels

Channels cannot be configured for both static generation and dynamic generation.

Return Value