LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LV5 serial write.vi vs hyperterminal difference?

I have a rs232c stepper motor controller connected to a PC running
NT4. I have
full control of the device (read and write) when using the
hyperterminal program (comes with NT4)
and everything work fine.
Without changing anything except running Labview<->Serial.vi from the
LV5 distribution
disk, I was only able to listen (serial read.vi ) to the device but
not controlling it. It appears
that ascii commands sent (serial write.vi) are ignore by the device,
while the same ascii commands sent via hyperterminal are accepted.
What are the likely reasons for this? The port parameters appears to
be OK because
I was able to read from it.
TIA.
0 Kudos
Message 1 of 3
(2,739 Views)
I think hyperterminal adds the EOL(end of line) itself, and in serial write vi YOU must add it, try putting a LF and/or a CR in the string you write, and everything should work.
Hope this helps
Message 2 of 3
(2,739 Views)
Thank you. That solved the problem.

> I think hyperterminal adds the EOL(end of line) itself, and in serial
> write vi YOU must add it, try putting a LF and/or a CR in the string
> you write, and everything should work.
> Hope this helps
0 Kudos
Message 3 of 3
(2,739 Views)