Posted Mon, 03 Jul 2023 06:00:30 GMT by 和也, 林
I am making a program to control KEITHLEY2182A with Labview to measure the voltage. However, when I run it, I get errors -101, -102, and -410. What changes should I make to eliminate the errors?
Thank you in advance.
Posted Wed, 05 Jul 2023 13:07:37 GMT by C, Andrea
For the 2182A, in Chapter 11 of the User Manual, the error codes are defined.
Error -101 = invalid character
Error -102 = Syntax error
Error -410 = Query Interrupted

The first two indicate you are sending invalid commands to the instrument.
The -410 just means you sent a query type command (one that ends in question mark), but did not fully read the response before sending a new command.  Even use of *IDN? query command can cause the -410 if you do not read the identify yourself response before sending new command.

To know which command is wrong/causing error -10x, LabVIEW has some single step debug features.
Or, install the NI IO Trace tool and invoke that.  It captures the bus traffic between your LV and and the 2182A.
You can see which command causes the error condition to be raised.

You must be signed in to post in this forum.