Hey everybody!
I am programming an interface to control a Keithley 237 thorugh labview. This programm is supposed to doncut current measurements on different voltages. This voltages will be applied gradually with an specific time step. I downloaded the VI´s that are available on Keithley´s website in order to be able to programm the new interface. I am also communicating with my Keithley device through GPIB.
The problem is that I am able to do a couple of measurements before i get an error code "0". I investigated on the NI Help and get that this error is due to a "connection mistake because the command could not be sent to the GPIB card". This error arises randomly and on different instances of my programm. The problem is that the response time that has to be waited by the program before sending an error out runs out and it says that it couldn´t communicate with my device. I have already tried to make this time much bigger, (i even eliminated the time restriction) but the program continues not to work and hangs for hours.
The only two ways that i have found to acces the device once again is byrebooting the keithley 237 or by sending a "GPIB clear" command to it. The problem here is that if I send the GPIB Clear command, the voltage on the keithley device goes to 0 again and it exits its operate mode. this is something thatI do not want because it will interrupt my measurements.
Is there anyway that I can make the GPIB card to respond (avoid these hangings?)
I hope you can help me.
Greetings,
Luis.