LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

advanced serial read write does not work

I have a set of weighing scales that have an RS232 connection, sending a 'w' to
them over RS232 should result in the current weighed value being returned.
 
I have got this to work using Hyperterminal setting up the correct data values and
using XonXoff.
 
So I tried the 'Advanced Serial Write and Read.vi' example, but I cannot get it
to work. I set all the data the same as for hyperterminal, but nothing gets
read and the vi times out after 10000ms.
 
If anyone can help, I would be grateful,
 
regards,
Sandra
0 Kudos
Message 1 of 3
(2,679 Views)
You may not be setting the correct termination character. The default setting is a LF (x0A). In Hperterminal, you send both a CR and LF. Make sure that the "End write with termination character" is set to True and try changing the termination character to x0D or both (xDA). By default, the read is terminated with the same ternimation character so you want ot make sure that it is the same. Check the instrument's manual.
0 Kudos
Message 2 of 3
(2,667 Views)

Thanks Dennis that did the trick !

best regards,

Sandra

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