04-08-2021 10:02 AM
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.
04-08-2021 12:37 PM
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
04-09-2021 08:46 AM
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
04-09-2021 02:22 PM
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
04-14-2021 09:29 AM
Hi Craig
Thanks so much for your response, I have managed to get the communication after reinstallation of NI VISA.