09-28-2022 10:16 PM
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,
09-29-2022 07:59 AM
AFAIK, I don't think it is possible for Python, debugging at a breakpoint in Python for instruments is not possible yet.
09-29-2022 10:40 AM
Thanks, Santosh.
10-20-2022 02:23 PM
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
10-20-2022 02:58 PM
@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.
10-23-2022 05:48 PM
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.