Get Channel Name
- Updated2023-02-17
- 2 minute(s) read
Get Channel Name
Returns the channel name from a one-based index.
Inputs/Outputs

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.
Default value: No error

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.

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

error out

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

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.

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