01-12-2015 02:23 PM
Hello,
Here attached there are two pictures: one configures the instrument using Visa driver downloaded from NI, the other one shows the same configuration bypassing Visa and just using TCPIP connection. In the first case I get an warning +1073676293. Could somebody help me with an explanation?
Thank you
Stefan P.
01-12-2015 02:32 PM
That warning means that the read function saw a termination charater (often \n or ASCII 0x0A) usually you can ignore the warning. However, if your data may have that value (like reading raw ADC values) its nice to know that there might be more data in the buffer so VISA correctly throws the warning.
01-12-2015 02:35 PM
01-12-2015 02:43 PM
I know that is coming with the reading command. What we should do to don't have the warning for every reading? With TCPIP connection when I’m doing readings I don’t have warnings.
Thank you
Stefan P.
01-12-2015 02:59 PM
and that is one reason to USE VISA. there are standard warnings and errors. In this case you can safely ignore the warning or use the general error handler to clear the warning
01-12-2015 03:07 PM
Thank you
Stefan P