DAQmxSwitchConnectMulti

NI-DAQmx C Reference Help

Edition Date: January 2019

Part Number: 370471AM-01

»View Product Info
Download Help (Windows Only)

int32 DAQmxSwitchConnectMulti (const char connectionList[], bool32 waitForSettling);

Purpose

Makes one or more connections specified by a connection list. You can specify only the two endpoints, or you can specify the explicit path between two endpoints. This function can make connections on multiple devices, but each connection must reside on a single device. In the event of an error, connecting stops at the point in the list where the error occurred. If you set waitForSettling to TRUE, this function returns only after making all connections. If you want to wait for settling between connections, use this function multiple times to make connections separately.

Parameters

Input
Name Type Description
connectionList const char [] A list of connections, using a special syntax, to make between switch channels.
waitForSettling bool32 If TRUE, this function waits for the switches to settle before returning. If FALSE, the function returns immediately after the operation.

Return Value

Name Type Description
status int32 The error code returned by the function in the event of an error or warning. A value of 0 indicates success. A positive value indicates a warning. A negative value indicates an error.

WAS THIS ARTICLE HELPFUL?

Not Helpful