From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Using python in external IDE problems with import of DIAdem.py

Hello

 

I want to script in an external IDE such as VSC.
When i import DIAdem i get the error massage:

OSError: exception: access violation reading 0x0000000000000010

Does someone know a solution to that?

It happens because of line 203 in the code below of DIAdem.py:

202: GPI=ctypes.WinDLL("GfSGPI.dll")
203: vp=GPI.TOCMDGet()
0 Kudos
Message 1 of 2
(803 Views)

i have the the same problem,

 

please help

 

thank you 

0 Kudos
Message 2 of 2
(758 Views)