10-29-2018 10:54 AM
I am using this VI that i found in a different similar post here and i am still having some issues with it. I am sending this from a microcontroller: b,3.9998752,9.5648515 and i want to use a different indicator for each of them. I am sure i am missing something as i am new to LV. Any ideas?
thanks
Solved! Go to Solution.
10-29-2018 11:28 AM - edited 10-29-2018 11:28 AM
1. You actually do not need that 0ms wait in the loop. You already have a wait in there.
2. Your format string should actually be "%[^,],%f,%f". The %s will continue until a white space. So your first parameter (the string) is actually grabbing all of the data. By using %[^,], you are getting all characters until a comma is found.
10-29-2018 01:08 PM - edited 10-29-2018 01:09 PM
Thanks for the help. I changed the format but i still have the same issue. The input string is b,3.9989767 for example, but there are no outputs after that.
10-29-2018 01:15 PM - edited 10-29-2018 01:16 PM
10-29-2018 01:20 PM
Are you getting an error out of the VISA Read? That is the only thing that makes any remote sense at all.
10-29-2018 01:51 PM - edited 10-29-2018 01:53 PM
I changed the display mode but had the same results. I am having an error as crossrulz pointed out however.
10-30-2018 12:16 PM
I searched online for this exact error and found this that solved my problems. I added \r\n to the string that is transmitted. Thanks everyone for helping.