Tektronix Technical Forums are maintained by community involvement. Feel free to post questions or respond to questions by other members. Should you require a time-sensitive answer, please contact your local Tektronix support center here.

GPIB Communication in Python not working

Post Reply
beruch
Posts: 2
Joined: September 24th, 2015, 10:54 pm
Country: Austria

GPIB Communication in Python not working

Post by beruch » September 24th, 2015, 11:04 pm

Dear Sir or Madam,

i am trying to communicate in ACS 5.2 via a PTM with a Cascade Elite 300 Prober, but it seems like the commands are not forwarded.
To test the communication, I created a PTM in the ScriptEditor which only contains the line:

Code: Select all

gpibsend(PRBR1, ":move:seperate 2") 
As in the manuals described, the prober is listed in "C:\ACS\KATS\CONFIG\ACS_hdcon_-.kcf" as follows:

Code: Select all

[PRBR1]
MODEL=CC12K
PINCOUNT=24
UDF_COUNT=0
When i execute the PTM, nothing at all happens. The Keithley Message Console does not list a new command, as well as the NI Spy on the prober does not receive anything. In general, ACS does communicate with the prober perfectly (e.g. Prober Control).

Andrea C
Keithley Applications
Keithley Applications
Posts: 1565
Joined: October 15th, 2010, 10:35 am
Country: United States
Contact:

Re: GPIB Communication in Python not working

Post by Andrea C » September 30th, 2015, 4:28 am

Your Python module needs to import the library for GPIB:
import KIGPIB_KATS as gpib

After that, you'll be able to access the gpib.send and gpib.enter commands.

gpib.send(GPIB_address, "command string")
gpib.enter(GPIB_address, max_number_of_bytes_to_return)

The PRBR1 identifier will not be equal to the gpib address of the probe station.

In general, I will give a strong caution about taking over the control of the probe station unless you intend to do it 100%. You can't expect ACS to manage the probe station to test all sites in your wafer map if you are sending prober commands behind the scenes. You may want to contact the office in Munich and discuss the motivation for sending commands to the prober.

beruch
Posts: 2
Joined: September 24th, 2015, 10:54 pm
Country: Austria

Re: GPIB Communication in Python not working

Post by beruch » September 30th, 2015, 7:48 am

Thank you for the warning. I do not intend to perform any movements but rather control the temperature of the thermochuck. i only included a movement command for the simple demonstration of the problem. i will give you feedback as soon as i know whether it worked.


EDIT: still not working. I included screenshots
Attachments
F2.PNG
F2.PNG (51.81 KiB) Viewed 17853 times
F1.PNG
F1.PNG (24.42 KiB) Viewed 17853 times

Andrea C
Keithley Applications
Keithley Applications
Posts: 1565
Joined: October 15th, 2010, 10:35 am
Country: United States
Contact:

Re: GPIB Communication in Python not working

Post by Andrea C » October 1st, 2015, 7:47 am

I did simple python script to send *idn? and read response.
In ACS, I add a PTM and import my script, save, run it.
ACS_simple_gpib_PTM.PNG
simple PTM script for GPIB
ACS_simple_gpib_PTM.PNG (117.61 KiB) Viewed 17842 times

Post Reply

Return to “ACS Software Products”

Who is online

Users browsing this forum: No registered users and 2 guests