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.

Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

usb 6501 and pyvisa

Hi

 

I'm trying to control the I/O of the USB 6501 device from NI via pyvisa. I can launch the test part from NI max and it works well. However when I want to see the device with ResourceManager() with pyvisa,I can see all my devices in the list except this one.

 

Does someone has a clue for this problem ?

 

Configuration : Windows 7, Spyder (Python 2.7), NI-DAQmx 9.9.0f0.

 

Thanks

0 Kudos
Message 1 of 8
(5,529 Views)
It's not accessible with VISA. It appears in MAX because you installed DAQmx, which is the driver you must use.
0 Kudos
Message 2 of 8
(5,500 Views)

You mean that I can't use pyvisa to control this device ?

0 Kudos
Message 3 of 8
(5,472 Views)
That is exactly what 'it's not accessible with VISA' means. Why did you think it was a VISA compatible device?
0 Kudos
Message 4 of 8
(5,469 Views)

I have absolutely no idea about it, I'm pretty new in this section, just wanna see if I could control it with python

 

Thank you for your help anyway

0 Kudos
Message 5 of 8
(5,463 Views)
I said you couldn't use VISA. I didn't say you could not use python.
0 Kudos
Message 6 of 8
(5,455 Views)

How can I use python to use an USB-4431 without pyvisa ?

 

Thank you.

 

Sorry if the answer exists already, I am quite a beginner..

0 Kudos
Message 7 of 8
(5,247 Views)
Search the boards for 'python daqmx'.

Next time, start a new thread for your questions though a dedicated python forum might be more appropriate.
0 Kudos
Message 8 of 8
(5,235 Views)