Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Keithley 4200A scs GPIB serial communication

Hello

I wish to control the Keithley 4200a scs parameter analyser using LabVIEW, I have connected it via a GPIB-USB-HS cable supplied by National Instruments. When I try accessing it in NI Max I get the attached error. The Keithley is using Clarius version 1.1.0.0 loaded in 2016 Please help me clear this error.

Thank you.

0 Kudos
Message 1 of 5
(2,776 Views)

If you refer to section 2-22 of the manual you should be able to solve this.

 

https://download.tek.com/manual/4200A-901-01D_Reference_Manual_Nov2017.pdf

 

The 4200 can act as a controller or a subordinate (be controlled by a PC).  You mention Clarius, which the manual states puts the GPIB port into controller mode. 

 

So you will need to run the Keithley External Control Interface (KXCI), which is section 9.1 of the manual.

 

Hope that helps.

Craig

0 Kudos
Message 2 of 5
(2,750 Views)

Hi Craig 

Thank you very much for your response.

I'm aware of the controller, subordinate operations of 4200, I'm operating in KXCI since I want to control the instrument remotely all my settings in Kcon are correct however when I go to NI MAX in the LabVIEW host machine I get the error I highlighted in my earlier communication, saying the instrument does not understand (*IDN?) commands, as is on the earlier attachment hence I'm seeking help to clear that error.

The instrument appears on devices and interface and its status is present, upon scanning the scan is successful and completes normally, when I try to communicate with the instrument that's when I get the said error from NI-488.2 communicator 

0 Kudos
Message 3 of 5
(2,725 Views)

Good that you have the communication and NI-Max working.  What is the termination character set as?  Typically its \r or \n. 

 

So you would send *IDN?\n and the instrument would send back a response.  

 

Craig

0 Kudos
Message 4 of 5
(2,715 Views)

Hi Craig

Thanks so much for your response, I have managed to get the communication after reinstallation of NI VISA.

0 Kudos
Message 5 of 5
(2,679 Views)