LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

pda read data not correct

When I use PC to read my RS232 device, It is OK
I send command like this
\:#03\r\n
Response:>+019.75+021.73+019.47+019.36+018.55+888888+888888+888888
Total count 58 string size
 
But When I deploy into my PDA
I send the same command like this
\:#03\r\n
it only response less charactars
Response:>+019.7?8
Hex:3E2B 3031 392E 37EB 2B38
Total count only 10 string size
 
Which the VI is the same, the only just diffierent is deploying into PDA.
 
So I hope someone here met that problem before.
 
Thanks a lot.
http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer
0 Kudos
Message 1 of 5
(2,865 Views)

Have you found a solution to your problem?

If not a little more information will be useful.  What version of labview and PDA Module are you using?  Could you post an example of your code?  It would be useful to know how you are reading the data from you serial port.

Hope I can help.

 

0 Kudos
Message 2 of 5
(2,845 Views)

//Have you found a solution to your problem?

If not a little more information will be useful.  What version of labview and PDA Module are you using?  Could you post an example of your code?  It would be useful to know how you are reading the data from you serial port.

Hope I can help//

I use LabVIEW 8.2.1 and LabVIEW PDA 8.2.1

I use the example of PDA

Serial Comm -Pocket PC.vi

which you can find in "Find examples".

I send the command just like I descript above.

I hope u could give some hint or somethings

Thank you so much

 

QIA

http://www.vitst.com
Virry Test & Control
LabVIEW Certified Developer
0 Kudos
Message 3 of 5
(2,832 Views)

The first thing I would check is if there is any incompatability between the code display for the Sting Control for the PDA by replacing the control with a sting constant and rebuilding your application.

I have 8.5 so I can't test it myself.

Good luck

Eric

0 Kudos
Message 4 of 5
(2,806 Views)

I just check the help file for PDA 8.2 and the code display is not supported.  You will need to find another way of inputing your CMDs.  If you know your full list of cmds you can put them in an array constant and index it with an enumerator.

 

Good Luck

Eric

0 Kudos
Message 5 of 5
(2,803 Views)