Author Topic: Keithley 213 Quad Voltage Source - GPIB  (Read 2685 times)

0 Members and 1 Guest are viewing this topic.

Offline k1mgyTopic starter

  • Regular Contributor
  • *
  • Posts: 54
Keithley 213 Quad Voltage Source - GPIB
« on: January 27, 2017, 08:19:51 pm »
I've removed a Keithley 213 Quad Voltage Source from the shelf with a thought that perhaps it might be made useful at last.  It sat on the shelf because I could never talk to it over the GPIB and that's the only way to enable outputs.

Anyone here have experience with this?

I can't afford the National Instruments software, which seems to be the only option...
 

Offline Assafl

  • Frequent Contributor
  • **
  • Posts: 600
Re: Keithley 213 Quad Voltage Source - GPIB
« Reply #1 on: January 28, 2017, 10:45:00 am »
NI offer Labview for makers for 50$. It is the 2014 version and works really well.

I also got the original Agilent 82357B for about 90$ (local electronics junkyard).

And got the raspberry pi for metrology project (see on the metrology forum). I use it control and log a DMM and power supply using Python scripts.

Turns out RPi comes with a free version of Mathematica so I am now trying to see if I can connect the two.
 

Offline k1mgyTopic starter

  • Regular Contributor
  • *
  • Posts: 54
Re: Keithley 213 Quad Voltage Source - GPIB
« Reply #2 on: January 28, 2017, 01:40:10 pm »
Assafl: Thank you very much.

I did a bit more research and found the NI Drivers (I have the NI USB interface) and a GPIB toolkit by KE5FX.  In the toolkit is a command line tool called query.  The Keithley is at address 9 and I see it on the buss when using another tool.

When I send the 213 a command, I consistently get back a reply that looks like it's trying to send me some data.

    A1C0P1R0V+00.00000

The error LED on the 213 is lit after sending any command.  If I ask what the error is using E? I get the same:

   C:\Program Files (x86)\KE5FX\GPIB>query.exe 9 E?
      A1C0P1R0V+00.00000

Any clue what this is? 
 

Offline k1mgyTopic starter

  • Regular Contributor
  • *
  • Posts: 54
Re: Keithley 213 Quad Voltage Source - GPIB
« Reply #3 on: January 28, 2017, 02:15:40 pm »
Never mind :)

I got it.

Had to power-cycle the Keithley 213.

Also, am now using EZGPIB, which provides a simple programming interface.  Quite powerful.

  http://www.ulrich-bangert.de/html/downloads.html
 

Offline k1mgyTopic starter

  • Regular Contributor
  • *
  • Posts: 54
Re: Keithley 213 Quad Voltage Source - GPIB
« Reply #4 on: January 29, 2017, 01:45:50 pm »
A1C0P1R0V+00.00000  is a status output.  It's listed deep within the Keithley 213 manual.

 

Offline cncjerry

  • Supporter
  • ****
  • Posts: 1283
Re: Keithley 213 Quad Voltage Source - GPIB
« Reply #5 on: February 15, 2017, 08:52:43 pm »
PM me if you need help.  I have a 213 and have done a lot of GPIB with it with Visual Basic.  I started to write an entire app for controlling it, got part way, but I know the device inside and out.

Jerry
 

Offline k1mgyTopic starter

  • Regular Contributor
  • *
  • Posts: 54
Re: Keithley 213 Quad Voltage Source - GPIB
« Reply #6 on: February 15, 2017, 09:09:00 pm »
Thanks very much!

Maybe we can port your VB stuff to C. :)


 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf