03-04-2019 01:57 PM
@RavensFan wrote:
Your write to measurement file is after the loop with a normal tunnel. That means it will only write what data is at the tunnel after the last iteration of the while loop.
@fireball900 wrote:
I've tried tying the input source to different points with different threads, but there's been no difference.
I have no idea what you are trying to say there.
The input was linked to various points in the block, like from the array input to the chart, or from the string input or output from the VISA. If it's the loop that's the problem, that would make sense. I can test the fix in a couple of hours, thank you.
The random 85 error is the problem really now, all the more so because it does seem to be random. I can literally just keep trying till it works, with no apparent change in my method.
I tried to attach the arduino code, but the attachment doesn't like .ino files. Is that the file you meant, or would converting it into another format work?
03-04-2019 02:10 PM - edited 03-04-2019 02:14 PM
Hi fireball,
The random 85 error is the problem really now, all the more so because it does seem to be random. I can literally just keep trying till it works, with no apparent change in my method.
You can implement code to handle that error! (Something like "IF error THEN forget about the last message"…)
Why do you scan for "%p" numbers? How is the formatting done on the Arduino side?
I tried to attach the arduino code, but the attachment doesn't like .ino files. Is that the file you meant, or would converting it into another format work?
Most often I see Arduino code as simple text…
On your last VI: why do you think it helps to convert the VISA reference to an array of U8 bytes? And why do you want to save that array using WriteMeasurementFile?
(The forum accepts any file inside a ZIP file.)