LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I'm having trouble communicating with a transducer (Keyence LS-3100 laser scan micrometer) via the serial port. It works in Hyperterminal. Any suggestions?

Its not a simple baud-rate or parity error. If I issue the command to send data (X1) in hyperterminal I start to get data. If I then switch to Labview I still get data. However if I try to issue the send-data command via Labview I get nothing (i.e. I can read from the device, but not write to it).
I am on a Windows 98 (version 2) PC, running Labview 5.1.1
0 Kudos
Message 1 of 5
(3,393 Views)
Try adding a carraige return to the end of your command.


"djb" wrote in message news:506500000008000000711E0000-986697009000@quiq.com...
> I'm having trouble communicating with a transducer (Keyence LS-3100
> laser scan micrometer) via the serial port. It works in
> Hyperterminal. Any suggestions?
>
> Its not a simple baud-rate or parity error. If I issue the command to
> send data (X1) in hyperterminal I start to get data. If I then switch
> to Labview I still get data. However if I try to issue the send-data
> command via Labview I get nothing (i.e. I can read from the device,
> but not write to it).
> I am on a Windows 98 (version 2) PC, running Labview 5.1.1
0 Kudos
Message 2 of 5
(3,393 Views)
I'm afraid its not that simple. I've tried the command both with and without a carriage return. Capitalized and not capitalized. No response.
0 Kudos
Message 3 of 5
(3,393 Views)
When I get to where you are at right now I "spy" on the serial port to
see exactly what is being sent back and forth. You are fortunate that
you can get it to work with HyperTerminal, you can use it to create
a known good message and watch the response coming back.

Try
http://www.sysinternals.com/ntw2k/freeware/portmon.shtml
http://www.fte.com/products/stspy95.htm

or other similar products.


"djb" wrote in message news:506500000005000000D8290000-986697009000@quiq.com...
> I'm afraid its not that simple. I've tried the command both with and
> without a carriage return. Capitalized and not capitalized. No
> response.
0 Kudos
Message 5 of 5
(3,393 Views)
Try changing the hardware flow-control settings e.g. DSR/DTR and RTS/CTS

Good luck

Keith
0 Kudos
Message 4 of 5
(3,393 Views)