IrDA Open Connection Function

Owning Palette: IrDA Functions

Requires: Base Development System (Windows)

Opens an infrared connection to another IrDA-enabled device.

Close the connection with the IrDA Close Connection function.

Example

 Add to the block diagram  Find on the palette
service name specifies the IrDA service you want to connect to.
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 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 describes error conditions that occur before this node runs. This input provides standard error in functionality.
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 contains error information. This output provides standard error out functionality.

Example

Refer to the Simple IrDA.lvproj in the labview\examples\Data Communication\Protocols\IrDA\Simple IrDA directory for an example of using the IrDA Open Connection function.

 Open example  Find related examples