I attach a VI that measures and displays Capacitance as a function of voltage swept at a "keithley 590" meter. In the llb file attach, i am using the vi called "590-CV Measurement.vi"
I get the error "Error code 6 in GPIB Read in 590-CV Meaurement.vi".
The VI is supposed to display data as a table and as a graph. I see the keithley instrument sweeping the voltage but no data is displayed and the error code 6 which means "I/O operation aborted" as per
is displayed. Could anyone please help me on what is wrong?
Thanks a lot
Solved! Go to Solution.
i monitored the error message using NI Spy and it is attached below here.
Please help me to take the next step to fix this error code 6 in GPIB Read in 590 CV-Measurement.vi
Thanks for the files. I've been looking through the intrument driver and the spy file to correlate the behavior we're seeing with the function calls being made. I would like you to try two things and let me know the results.
First open the 590 CV-Measurement.vi and view the block diagram. In the Event Structure, select the "Run" event. In here, on the second line of function calls you'll fine one labeled GPIB Read. The top of this VI has a terminal for Timeout. Create a numeric constant of value 0 and wire it to this terminal. Run your program and see what behavior you see.
Once that test is done, delete the changes you made (the addition of the numeric constant). Then change the numeric value connected to the same GPIB Read command to any value less than the 20000 it's set to (i.e. 10000 or something). This will change the number of bytes the function is trying to call and hopefully prevent it from timing out.
Let me know what results you get.