07-20-2015 05:26 AM
07-20-2015 06:14 AM
Replacing Serial.print() with Serial.println() in the Ardunio code will add a \n to the end of the transmitted string.
07-20-2015 11:52 PM - edited 07-20-2015 11:52 PM
Thanks for the replies!
Can you tell me these in step by step? Thank you!
07-21-2015 12:03 AM
07-21-2015 12:09 AM - edited 07-21-2015 12:22 AM
I've done that but the wavechart is still showing spikes?
The reading from the double precision float will also go back to 0 after displaying the correct reading?
07-21-2015 12:27 AM
07-21-2015 12:32 AM
Here is it! So I have to remove the decimal string to number conversion?
07-21-2015 01:04 AM
Hi lamela,
So I have to remove the decimal string to number conversion?
No, we never told you so…
But we told you to read the help for that function and to "clean up" your string before trying to convert to number that way!
Here is it!
You still use BytesAtPort! Why don't you work with a TermChar as has been discussed in several posts by now?
07-21-2015 01:20 AM - edited 07-21-2015 01:26 AM
Ok. I've added termchar but I'm still unsure of the function.. Is it something like this?
What should be corrected here?
07-21-2015 01:26 AM - edited 07-21-2015 01:43 AM
Hi lamela,
Ok.. I've added termchar
So why do you add that TermChar twice? (SerialPortInit and this property node?
Why do you set the TermChar to "0" at SerialPortInit?
Why do you set the TermChar to "termchar" in the loop? Why do you tolerate a coercion dot for this input?
Why do you set the termchar in each iteration of the loop?
Did you study the example VIs coming with LabVIEW at all?
I'm still unsure of the function
Which function do you talk about?
Is it something like this?
Well, you still don't parse your string correctly. How does the string look like before number conversion? What is the result of the conversion? Did you use probes to check all this?
The NumericConversion function expect a string, which ONLY consists of numbers. It does NOT handle anything else and will not handle any equal signs or unit strings!
To give you an idea of what might work:
(This snippet expects a LF as termchar!)