Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

PyVirtualbench MSO: Error 374309 Not enough memory was provided to complete the operation.

Hello everyone,

I am using the Virtualbench 8054 and downloaded the pyvirtualbench software from github as master. A more recent is not available then I am using. I have run into some error with the Example code. When I want to enable more than one channel, or any other channel then 1, like this:

                mso.configure_analog_channel('SN/mso/1:2', True, 10, 0, 10, 1)

 

I get this message

Error/Warning 374309 occurred
NI-VirtualBench: Not enough memory was provided to complete the operation.

This message comes when it is trying to read_analog_digital_u64.


On the NI Virtualbench software 2 Channels are enabled and visible. Please help how to solve this issue?

Thanks

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

Dear annasinam,

 

Python wrapper is not officially developed for this specific device and may lead to this kind of errors. I did not encounter any problems when I used LabVIEW for this. Maybe it is because of the libraries used by python or something that fills up the memory. Anyways this is a step by step guide for doing so with LabVIEW  if you are interested.

 

best,

anasei.

0 Kudos
Message 2 of 2
(926 Views)