LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 2010 Multimeter Error 0

Hi all,

 

I've been having a problem with the Keithley 2010 multimeter in LabVIEW. No matter what I've tried to do, the following error keeps on appearing (also see attached image):

 

'Error 0 occurred at Keith 2010 Reset / Preset; GPIB Send Message'

 

This error seems strange as I can communicate to the Keithley2010 through the NI measurement & automation explorer with no problem - sending it commands manually. The Reset / Preset vi is within the SCHLUM scanner vi and I cant see why an error is being caused there.

 

I've also attached the .vi and support vis in a zip folder.

 

Any information/help would be massively appreciated.

 

Thanks

K

0 Kudos
Message 1 of 2
(2,467 Views)

You are using the older GPIB Read/Write commands.  The commands just accept an instrument address, not a GPIB controller + instrument address.  Since there's no initialization of communications (setting up the right GPIB controller) in the SCHLUM vi, just straight to a GPIB Write that fails, suggests to me that you aren't sending commands to the right GPIB controller.

 

What sort of GPIB controller are you using?   If you check in NI-MAX what is the address of the controller?  (GPIB0, GPIB1, ..?)  By default the GPIB write is assuming your instrument address is GPIB0::11, whereas it could be GPIB6::11.  And thus the commands fail.

 

I think if you sort out the controller address, then use that infor to update the SCHLUM vi you should be good.  

 

Or alternately move to VISA communications and use full addressing.

 

Craig

0 Kudos
Message 2 of 2
(2,420 Views)