Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI
1 ratings:
 3 out of 5     Rate this Document

Does LabVIEW 6.1 Use IrCOMM to Communicate to an IrDA Device?

Primary Software:
Primary Software Version: 6.1
Primary Software Fixed Version: N/A
Secondary Software: N/A

Problem: Does LabVIEW 6.1 use IrCOMM or IrDA Sockets to communicate to an IrDA device?

Solution: The LabVIEW IrDA primitives are based on IrSock (IrDA Socket) which is the new TCP/IP like functions which is the recommended approach. Legacy versions of Microsoft Windows used the serialized IrCOMM programming method, which is not supported in Windows 2000 or Windows XP, nor is it the recommended approach.

In order to support certain legacy IrDA devices, Windows 2000 implements a subset of the IrCOMM protocol, but exposes this protocol through the WinSock API rather than through the serial API. In particular, only 9 Wire Mode IrCOMM is supported; line state change information is not supported. Windows 2000 only advertises that it supports the IrCOMM 9 Wire Mode. Devices must be able to initiate the IrDA connection, and not to expect Windows to initiate the connection as a side effect of discovering new devices.

The fundamental limitation of the IrCOMM protocol, that you cannot have multiple servers listening for incoming connections, is still exposed in this implementation. If one application is listening for incoming IrCOMM connections, another application trying to do so will get an error from WinSock. For this reason it is recommended that all new applications either avoid IrCOMM or support multiple mode concurrently.

Related Links: LabVIEW Help: Using LabVIEW with Wireless Devices


Attachments:





Report Date: 07/23/2002
Last Updated: 09/20/2007
Document ID: 2NMCLTYY

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
  1 2 3 4 5
Please Contact NI for all product and support inquiries.submit