niHSDIO_AssignStaticChannels

NI Digital Waveform Generator/Analyzer

niHSDIO_AssignStaticChannels

Specific Function

C Function Prototype

ViStatus niHSDIO_AssignStaticChannels (ViSession vi, ViConstString channelList);

Purpose

Use this function to configure channels for static acquisition (if vi is an acquisition session) or static generation (if vi is a generation session). A channel cannot be simultaneously assigned to a static generation and dynamic generation.

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 will be configured as static.

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