LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

niHSDIO acess violation

Hi!

I am using python 3.11 and ctypes to connect to my PXIe-6548. The code worked pretty well for couple of years until I restarted the computer today. Now, the very first initialization function generates an access violation error:

OSError: exception: access violation reading 0x0000000000000148

 

VI_TRUE = c_int(1) 
VI_FALSE = c_int(0)
vi_session = VI_NULL
device_id = c_char_p(b"PXI1Slot3")
niHSDIO = windll.LoadLibrary("niHSDIO_64.dll")
 
err = niHSDIO.niHSDIO_InitGenerationSession(device_id, VI_FALSE, VI_TRUE, '', byref(vi_session))
 
Has anyone dealt with such problems before? 
0 Kudos
Message 1 of 1
(287 Views)