Table Of Contents

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

Version:
Last Modified: July 23, 2019

Returns the channel name from a one-based index.

connector_pane_image
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

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

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.

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

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