VirtualBench

cancel
Showing results for 
Search instead for 
Did you mean: 

Integrating PYTHON with VB

I need a urgent Help....

 

I did everything as they mentioned on website for integrating PYTHON with VB.

I get wrapper from https://github.com/armstrap/armstrap-pyvirtualbench

 

 

I'm trying to run the power supply example as they have in there PYTHON wrapper..

but still I'm getting following Error..

 

 

File "ps_example.py", line 43, in <module>
ps = virtualbench.acquire_power_supply()
File "C:\Users\acer\Desktop\New folder\armstrap-pyvirtualbench-master\lib\pyvirtualbench.py", line 1908, in acquire_power_supply
return self.PowerSupply(self, device_name, reset)
File "C:\Users\acer\Desktop\New folder\armstrap-pyvirtualbench-master\lib\pyvirtualbench.py", line 1916, in __init__
status = self.nilcicapi.niVB_PS_InitializeW(self.library_handle, c_wchar_p(self.device_name), c_bool(reset), byref(self.instrument_handle))
OSError: exception: access violation reading 0xFFFFFFFFD4744EC0

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "ps_example.py", line 56, in <module>
virtualbench.release()
File "C:\Users\acer\Desktop\New folder\armstrap-pyvirtualbench-master\lib\pyvirtualbench.py", line 382, in release
status = self.nilcicapi.niVB_Finalize(self.library_handle)
OSError: exception: access violation writing 0xFFFFFFFFD4744EC8

0 Kudos
Message 1 of 1
(2,837 Views)