01-05-2020 10:00 AM
So I have created something like this on the picture. Unfortunately, it does not read any values. Also, such an error shows up. I will try to simplify the code, print only numbers and then read it in LabView I suppose.
01-05-2020 12:53 PM
I said those need to be %.3f. I did not suggest %f.
Put an indicator on your raw string. That way we know if anything is coming through.
01-06-2020 09:32 AM - edited 01-06-2020 09:33 AM
I put %f.3 there but took a screenshot without it, my mistake.
So, after adding this "raw data" indicator, angle_xz worked, but angle_yz did not 😐
01-06-2020 09:49 AM
%f or %.3f should work. It is concerning to me that you are only showing "84" for angle_xz. It should be showing "84.026". Are you in a part of the world that uses a comma as the decimal separator? If so, your format string should be "%.;angle_xz=%fdgangle_yz=%fdg". The "%.;" at the beginning forces the use of a period as the decimal separator.
01-06-2020 09:52 AM
Yes, you are right and it worked 🙂
01-06-2020 09:57 AM
@michcie wrote:
I put %f.3 there but took a screenshot without it, my mistake.
So, after adding this "raw data" indicator, angle_xz worked, but angle_yz did not 😐
It looks like yz worked as well. It just happened to be 0!