LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

PDA: Unable to write "00" in Hex to Serial Port !!!

Hello everyone,
First of all, I have been successfully reading the serial port. Now the problem comes in writing to the serial port.

Attached is the VI. My aim is to write Array2 to the serial port of the PDA. I am running this on an IPAQ 5450 with PocketPC 2002. I am reading the data on the hyperterminal of a normal PC. (As a side note, this VI gives absolutely no problems when run on the desktop PC, it is the execution on the PDA that is causing all the problem).

The problem that I observe is that, the first two times when "00" appears in my Array2, I get a blank on the indicator and also nothing on my PC. The other two times, it appears fine.

Array1 was added just to see if the "00" is the prob
lem.

Any help will be greatly appreciated. I also tested the executable on an IPAQ 3670 with no change in the results. Hence I am unable to point whether it is a bug on my LabView, on an IPAQ or just my code.

Thanks in advance. If you need any more clarifications then just write in asap.
Download All
0 Kudos
Message 1 of 2
(3,046 Views)
Hello,

Have you tried using PortMon or some similar utility to see if the PDA is actually sending the "00" data? PortMon can be downloaded from this site. You might want to use this to verify the cause of the problem; whether it is LabVIEW reading the data or the PDA module writing the data.

If the problem looks to be with the PDA module (if it is not sending the data to the serial port when it should be), there is a possibility that a bug exists with the module. In that case, I would recommend creating an email service request by going to www.ni.com/ask, so that one of our engineers can correctly route the problem to our R&D developers.

I hope this helps! I apologize for the extreme d
elay in response.

Liz F
National Instruments
0 Kudos
Message 2 of 2
(3,046 Views)