NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Instrument Driver - Semiconductor Module

Hi! I'm using the Semnicon Module to implement wafer testing.

 

I'm trying to initialize custom instruments in the ProcessSetup sequence using a python class. I'd like to pass the pythojn object as a reference to the MainSequence so I could control my equipment there.

 

I see there's an example using C# but it only shows an example with NI equipment.

Is there a way of doing this using python? I can create a local object, but I see no way to pass it to the next sequence as a part of the Semiconductor Module.

Thanks!

0 Kudos
Message 1 of 3
(937 Views)

I have solved the problem by using the sequence file global variable to store the instrument reference. This allows me to use it in other sub-sequences. 

0 Kudos
Message 2 of 3
(859 Views)

Are you using TSM for Python? https://pypi.org/project/nitsm/

 

I would recommend taking up training course to use TSM properly.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 3 of 3
(857 Views)