01-23-2009 08:31 AM
Hi there,
I have problem with finding the difference between example vi and my own. I just want to sent a simple ascii code with 3 characters and CR LF at the end. If I run "Basic Serial Write and Read.vi" from the examples it works fine. BUT, if I build it up by myself, even if I use the same components, it sends \r \n as characters not as commands.
Can anybody have a look on it?
mfg Rainer
LV 8.5.1
Solved! Go to Solution.
01-23-2009 08:38 AM - edited 01-23-2009 08:39 AM
Hi Rainer,
where do you insert your string to write? If you use the "Schreibpuffer" input, then you should change the display type to "code display" and insert then the "\r\n". Right click on the control (in the FP) and select "\ Code display".
At the moment you send "\n" as last sign. If you don't want it, then change the boolean constant to false.
Hope it helps.
Mike
01-23-2009 08:48 AM
Hi MikeS81,
thanks for your very fast answer. Sometimes the "hardest" problems have the easiest answers.
mfg Rainer