LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling KE2000 with LV7.1

Hi there,

I'd like to do some simple measurements with a Keithley 2000 DMM
through LabView over Serial Port and Im even stuck with this simple
task. I played around with the VISA-Controls and even got some
measurements as I wanted to, however, I get (seemingly) random
timeouts. I tried the sample Programm form the Keithly Website
(VisaReadWrite) and first it worked, and now it's stuck, too. The odd
thing is, that first, the timeout was at the Visa-Read step, and a
little later (after various tries without changing anything) I get a
Timeout at the Write-Step. The Device itself does not show any errors,
turning it off and on again does not working, neither does restarting
LV.
Maybe I just locked up the VISA-Session or something? Any Help would be
appreciated!

Dave

0 Kudos
Message 1 of 5
(3,135 Views)

Mmmm, I use the Keithley KE2001s all the time but with GPIB.  VISA communications can be quirky and confusing at times.  Although I'm not very familiar with the serial versions I might be able to give you some insight if you post your code.  Without seeing your code I would suspect that there is still some data in the serial buffer causing the timeouts.

Regards,

K

LabVIEW Pro Dev & Measurement Studio Pro (VS Pro) 2019
0 Kudos
Message 2 of 5
(3,131 Views)

I have used the serial with the keithly and always had quirky little problems like this then i switched to GPIB and never had a problem.

post your code so that we may have a look. I think I still have that meter around here somewhere. Maybe I can try it out here for you.




Joe.
"NOTHING IS EVER EASY"
0 Kudos
Message 3 of 5
(3,126 Views)
You should also evaluate using the Keithley 2000 certified LabVIEW driver available on NI's Instrument Driver Network (ni.com/idnet).  You can either use it directly or as an example for how to program the instrument yourself.
0 Kudos
Message 4 of 5
(3,119 Views)

Dave,

I have also had RS232 issues with the KE2000 and another Data Acquisition program (CEC TestPoint).  They went away when I dropped the baud rate from 19.2K to 9600. 

I don't know if that will help with LV7.1, but it's worth a try.

Mike

0 Kudos
Message 5 of 5
(3,113 Views)