Get Channel Name

Returns the channel name from a one-based index.

Inputs/Outputs

datatype_icon

instrument handle in

The instrument session the niDigital Initialize with Options node returns.

datatype_icon

error in

Error conditions that occur before this node runs.

The node responds to this input according to standard error behavior.

Standard Error Behavior

Default value: No error

datatype_icon

index

Specifies a one-based index for the desired channel in the session. Valid values are from one to the total number of channels in the session.

datatype_icon

session out

Handle that identifies the session in all subsequent NI-Digital node calls.

datatype_icon

error out

Error information.

This output provides standard error out functionality.

Standard Error Behavior

datatype_icon

status

A Boolean that specifies whether an error occurred.

True An error occurred (indicated by an X).
False A warning or no error occurred (indicated by a checkmark).
datatype_icon

code

An error or warning code.

If status is True, code is a non-zero error. If status is False, code is 0 or a warning code.

datatype_icon

source

The origin of the error or warning.

source is usually the name of the node that produced the error or warning.

datatype_icon

channel name

Returns a string of the channel name(s).