Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PDA+serial communication

Here is my situation.. hopefully one of forum members can help me out.
 
I am trying to run some piece of hardware off a PDA an HP IPAQ to be exact with a cf to serial card.
ONe of the problems I am running into is how to check whether or not the CF to serial device is detected. I  downloaded the serial vi that is on the NI site and tried to send commands to the device to see if it respnded, but I've had no luck. I tried the same vi build for windows and i was able to see some output on the screen meaning i could communicate with the device or at least i got something.  So my question would be, How can I check with labview pda module if the cf to serial card works..? I am not sure what COM port it would be under, since so far I have been unable to find a way to check under the pocket pc os what com port it is listed on.. Thank you very much
0 Kudos
Message 1 of 2
(3,333 Views)

GHernandez,

To check the functionality of the serial converter, I would first simplify the test to a simple loop-back test, where you just connect your transmit line to your receive line (pins 2 and 3). This way you can take the instrument out of the equation and just make sure that the information is being sent.

But as far as how to communicate with the com port, there is probably a way through the Pocket PC OS to find out which com number it assigned to that port, but I can't tell you exactly where that is. Otherwise, you could use the guess-and-check method and just try different com ports. My guess would be that the CF to Serial converter would use Com 1. I would think that the documentation for the converter would include some information on that, though, so you might want to check there (if you haven't).

Hope this helps!

Tyler S

0 Kudos
Message 2 of 2
(3,317 Views)