DAQmx Flatten Channel String
Converts an array of physical or virtual channel names to a comma-delimited list of names. You can use this VI to convert an array of channel names to a single string prior to using the DAQmx Create Virtual Channel VI or the DAQmx Create Task VI.
Place on the block diagram. | Find on the Functions palette. |
names in is the array of physical or virtual channel names. | |||||||
error in describes error conditions that occur before this VI or function runs. The default is no error. If an error occurred before this VI or function runs, the VI or function passes the error in value to error out. If an error occurs while this VI or function runs, the VI or function runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
|
|||||||
names out is the resulting comma-delimited list of physical or virtual channel names. | |||||||
error out contains error information. If error in indicates that an error occurred before this VI or function ran, error out contains the same error information. Otherwise, error out describes the error status that this VI or function produces. Right-click the error out indicator on the front panel and select Explain Error from the shortcut menu for more information about the error.
|