IrDA Open Connection Function
- Updated2025-07-30
- 2 minute(s) read
Opens an infrared connection to another IrDA-enabled device.
Close the connection with the IrDA Close Connection function.

Inputs/Outputs
service name
—
service name specifies the IrDA service you want to connect to.
remote device id
—
remote device id is the device ID of the remote IrDA device on the IrDA network. Use the IrDA Discover function to locate the device ID.
timeout ms (60000)
—
timeout ms specifies the time, in milliseconds, that the function waits to complete and return an error. The default value is 60,000 ms or 1 minute. A value of –1 indicates to wait indefinitely.
error in (no error)
—
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
connection ID
—
connection ID is an IrDA connection refnum that uniquely identifies the IrDA connection. Use this value to refer to this connection in subsequent IrDA function calls.
error out
—
error out contains error information. This output provides standard error out functionality. |
Examples
Refer to the following example files included with LabVIEW.
- labview\examples\Data Communication\Protocols\IrDA\Simple IrDA\Simple IrDA.lvproj
service name
—
remote device id
—
timeout ms (60000)
—
error in (no error)
—
connection ID
—
error out
—