Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Porblem in GPIB

Hi, every one, I try to use the following program(see attachment) to measure a resistance using scanner card of Keithley multimeter. It show the following error: " Labview.exe have generated errors and will be closed by Windows, you need to restart the program"

I try to restart the program, it doesn't work. It has pass the configuration test in the MAX . Everything seem oK, Anyone can help!
thanks
zhou
0 Kudos
Message 1 of 3
(3,478 Views)
A very difficult VI to help you with. The diagram is password protected. Can you post a non-password version or send the password?

That error is usually created by a problem between LabVIEW and the operating system. Restart your computer. It is possible that the drivers are attempting to talk to memory that it should not have access to (possibly some program locked some memory and did not release it again - unfortunately too common).

If resetting does not work, then it's time to dig some more.

Rob
0 Kudos
Message 2 of 3
(3,478 Views)
Hello-

NI-Spy can help determine what exactly is happening on the GPIB. Could you attach a spy capture on subsequent replies?

My guess is that a VISA or GPIB open is being done in a loop. The open command and close commands should be done outside of a loop. Otherwise, a memory leak will result.

Regards

Randy Solomonson
Application Engineer
National Instruments
0 Kudos
Message 3 of 3
(3,478 Views)