Table Of Contents

Get Channel Name (Get Channel Name) (G Dataflow)

Last Modified: July 23, 2019

Returns the channel name from a one-based index.


instrument handle in

The instrument session the niDigital Initialize with Options node returns.


error in

Error conditions that occur before this node runs.

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

Standard Error Behavior

Many nodes provide an error in input and an error out output so that the node can respond to and communicate errors that occur while code is running. The value of error in specifies whether an error occurred before the node runs. Most nodes respond to values of error in in a standard, predictable way.

error in does not contain an error error in contains an error
If no error occurred before the node runs, the node begins execution normally.

If no error occurs while the node runs, it returns no error. If an error does occur while the node runs, it returns that error information as error out.

If an error occurred before the node runs, the node does not execute. Instead, it returns the error in value as error out.

Default: No error



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.


session out

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


error out

Error information.

This output provides standard error out functionality.



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).


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.



The origin of the error or warning.

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


channel name

Returns a string of the channel name(s).

Where This Node Can Run:

Desktop OS: Windows

FPGA: Not supported

Web Server: Not supported in VIs that run in a web application

Recently Viewed Topics