LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview PDA Module - IrDA problem

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

0 Kudos
Message 1 of 5
(6,673 Views)

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?

Regards,
miko
0 Kudos
Message 2 of 5
(6,647 Views)

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.

0 Kudos
Message 3 of 5
(6,332 Views)

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.

0 Kudos
Message 4 of 5
(6,333 Views)
Hi TAN_D,

use as service on the IRDA Module this:

IrDA:IrCOMM

then it works.

Use only this spelling, attend the upper und lower case in IrDA:IrCOMM !!!

It's a long time ago, where i do this.

In attachment my connection VI, now you can add on the output of the IrDA-Connection VI your read or write function.

If you have any question again, send me an email, so i will trying to help you.

Best regards
M.Fabian
0 Kudos
Message 5 of 5
(6,291 Views)