04-08-2025 10:17 AM
> Just a clarification, the 64 bit python example is still failing.
This is after changing all parameters to match the functional C# code?
> Thankyou for all the debug steps. Very enlightening.
You are welcome, we're trying our best.
I'm unsure what to try next short of actually debugging the failing system 🙁
04-08-2025 10:48 AM - edited 04-08-2025 10:51 AM
I know this does not solve the issue with the 64 bit python version, but will report, that on my 3rd SMU system, I downgraded to a 32 version of python and the python example session connect worked.
Thankyou everyone, for the help. 🙂
04-08-2025 12:08 PM - edited 04-08-2025 12:09 PM
Yes, changing the address from PXI1Slot to SMU2 and adding the channel as SMU2/0.
That did not work, same error.
The 64 bit python version is still reporting the error on my main SMU system whereas my third SMU system I uninstalled 64 bit python, installed 32 bit version, loaded python libraries and voila, it ran with no error.
04-08-2025 02:45 PM
I forgot to list the fact that you can use the nidaqmx module just fine from the same 64-bit Python executable in this reply. The nidaqmx module calls into the DLL using ctypes just like the nidcpower module.
Is using 32-bit Python a reasonable workaround? Otherwise the options I can think of are:
04-08-2025 02:51 PM
No this is a workable solution for me
And enough bread crumbs for the next chap to dig deeper should need be.
Good thread IMO. 😛
We de-embedded Anaconda recently btw, having be with a change to their licensing.
All good. Just dealing now with the python removal on the primary SMU machine.
You can close the ticket as solved*.
Thankyou again.
04-08-2025 05:53 PM
If you are/were using Anaconda, I wonder if your path is messed up and while the top-level nidcpower_64.dll DLL is found, the things it libloads on initialize aren't found or fail to load. You could write quick Python code to print that for both your interpreters (32 and 64).
You aren't using the stock Python downloaded from python.org?
04-11-2025 07:51 AM
The de-embed of Anaconda was performed by our IT group.
I loaded a newer 64 bit version of Python before reaching out to the NI community as indicated in my earlier posts. I upgraded all the NI stuff thereafter to the latest.
The 32 bit version is working good at this point.
All three of my SMU systems have the issue with the 64 bit version of python. I've only updated one with the 32 bit version of python and will report when the other's successfully work.