10-13-2005
02:54 AM
- last edited on
10-07-2026
02:51 AM
by
Content Cleaner
Hello,
we want to develop a LabVIEW PDA application on a Pocket PC PDA which communicates with an embedded system over the IrDA:IrCOMM service.
We use the Labview 7.1 PDA module.
The NI Application Note http://digital.ni.com/public.nsf/websearch/402DBAB03DB8A74F86256DBE00700E13?OpenDocument says that serial communication on a virtual COM Port has to be used to make LabVIEW PDA communicate with the IrDA:IrCOMM protocol.
I tried to do so with the Serial-Compatibility VIs with no success at all.
The embedded target is neither discovered by the PDA nor is an IR-connection opened.
We were more successful using LabVIEW PDAs Communication>IrDA VIs: An IrDA-Connection can now be established. The problem now is the data frame sent by LabVIEW PDA. The IrDA:IrCOMM (9-wire cooked service) data unit requires a control byte in the first place. Our IrDA-Analyser shows that this control byte is missing in the frame sent by LabVIEW PDA.
The effect is that our embedded target IrDA-protocol-stack interprets the first data byte as control command and crashes.
Is there a possibility to make LabVIEW PDA send the correct IrDA:IrCOMM data frame? Can LabVIEW PDA be told which kind of IrDA protocol it shall use?
Thanks in advance
Message Edited by M.Fabian on 10-13-2005 02:57 AM
10-17-2005 04:42 PM
I haven't been able to successfully opened a virtual IrComm port myself. I think it depends on the hardware and IrDA driver that is installed on the device.
LabVIEW IrDA functions only support TinyTP (Tiny Transport Protocol) and does not support IrComm.
Can you try manually prepending the control byte to the data to be sent?
10-17-2007 05:29 PM
Hi M. Fabian,
I have had a similar problem. Is it possible to help us? I have tried to use an IrDA VIs, however with no sucess. I used a Discovery - Open - and WriteData blocks. A Link was established between a PDA and Embedded System, but my Embedded System not recognized a data sent from PDA.
My embedded system only support a IrCOMM 9-wire IrDA protocol.
Regards,
Tan.
10-17-2007 05:29 PM
Hi M. Fabian,
I have had a similar problem. Is it possible to help us? I have tried to use an IrDA VIs, however with no sucess. I used a Discovery - Open - and WriteData blocks. A Link was established between a PDA and Embedded System, but my Embedded System not recognized a data sent from PDA.
My embedded system only support a IrCOMM 9-wire IrDA protocol.
Regards,
Tan.
10-18-2007 03:46 AM