LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Send String Text to external device using RS-232

Hi,

I got introduced to labview a few days ago and I was wondering if someone could help me with the following problem:

In attachment you can find the VI I am working on to try to communicate with an external device connected using RS-232.

I would like to write a string consisting of a text file with different commands to the external device.

The problem I have is that I can't write the linefeed.

I used a Serial port sniffer and notice that the text written to the RS-232 port does not contain linefeeds.

I used the termination character (\n) but this was not recognised.

I must be doing something wrong but I can't figure it out.

Can someone give me an explenation on how to get this working.

Thanks in advance!!!

 

Seppe

 

0 Kudos
Message 1 of 3
(2,952 Views)
0 Kudos
Message 2 of 3
(2,950 Views)
What does the external device recognize as the end of a command? (Hint: you'll have to use its manual.)
 
Have you worked through the free tutorials on LabVIEW? See the end of this post.
 
Cameron
To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 3 of 3
(2,921 Views)