12-19-2014 08:42 AM
I am trying to run ViRead to get data back from a GPD.
status = viRead (GPD, garbage, 100, VI_NULL);
printf("garbage %s\n", garbage);
Here is the line of code I am running, but when I run it, "garbage" prints Data out of range.
I can't understand why this prints that, any help is appreciated.
Thanks.
12-22-2014 12:01 PM
Hello Danielloo,
"Data out of range" often refers to when data falls outside of user-specified ranges. I would look through your code and see if you have set any ranges for your GPD readings. If so, I would try extending these ranges to see if that is what is causing the issue.
Best wishes!