-
Notifications
You must be signed in to change notification settings - Fork 5
Description
Describe the bug
Hello. I am experiencing an inconsistent error in loading the "snAPI64.dll" file. This may be due to my own ignorance, but I'm out of troubleshooting ideas.
Screenshot 1 shows the command line output when I run my program. It fails on initialization of a snAPI object (self.sn = snAPI()).
However, if I restart the kernel and in the command line I initialize a snAPI object (from snAPI.Main import *; sn = snAPI(), Screenshot 2), the device connects just fine. If I then close the device and exit the API (sn.closeDevice(); sn.exitAPI()), I can run my program without issues.
This error occurred when I was setting up this system, but as if by magic, it disappeared. This issue has resurfaced with zero changes to the system.
Trouble Shooting I Have Tried
- Uninstalled/Reinstalled python 3.12
- Update C++ Redist
- Restart computer
- Run command line as administrator
Additional context
Thanks in advance for your help!


