PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

Python Test Program doesn't Share Instruments with Soft Panels

Hello,

 

We are controlling PXI SMU's and PXI-6570 with Python programs (nimi-python library).  One problem we have is that the we can't run soft-panels simultaneously with the test program.  In the past, I've used LabView and TestStand (C#), and it was always possible to do this.  How can we get the Python test program and the soft panels to run at the same time?  

 

BR,

0 Kudos
Message 1 of 6
(1,377 Views)

AFAIK, I don't think it is possible for Python, debugging at a breakpoint in Python for instruments is not possible yet.

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 2 of 6
(1,348 Views)

Thanks, Santosh.

0 Kudos
Message 3 of 6
(1,332 Views)

Hi Santhosh,

 

NI gave me some help with this one, and it turned out that we could use panels for debugging Python programs after we upgraded pyvisa and nidcpower, and then added the argument independent_channels=True when creating a new session.

 

BR

0 Kudos
Message 4 of 6
(1,291 Views)

@wcon0 wrote:

Hi Santhosh,

 

NI gave me some help with this one, and it turned out that we could use panels for debugging Python programs after we upgraded pyvisa and nidcpower, and then added the argument independent_channels=True when creating a new session.

 

BR


Please share the versions required for this work.

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 5 of 6
(1,283 Views)

Hi Santhosh,

 

Sorry for late reply.  It took a while for me to get some time on the tester.  Here are details of the setup where the NI Digital soft panel works.

 

Software versions

OS.....................................................Win10

NI-488.2.............................................21.0.0

NIDCPower.......................................21.8.0

NI-Digital Pattern Driver....................21.0.0 

NI Digital Pattern Editor.....................21.0.0

Python...............................................3.7.6

pyvisa nidcpower...............................v1.4.1

pyvisa nidigital...................................v1.4.1

 

Pinmap

We modified the pin map so that each SMU channel was in a unique channel group.

 

Order

0.  Start digital pattern editor, open project, and disconnect from instruments.

It must be disconnected.

1.  Run test program to a break point after all instrument sessions have been initiated.

2. Connect digital pattern editor to instruments.

Digital pattern editor should be able to monitor and control instruments.

0 Kudos
Message 6 of 6
(1,265 Views)