After following the pyvisa documentation very carefully, I'm unable to communicate with my NI USB 6255 via python. I'm using the correct distribution of python (the 32bit one), and I'm in a virtualenv so I don't screw up my normal one.
after creating a ResourceManager()
object called rm
, ensuring that my daq is plugged in and on, I get the following:
>>> rm
<ResourceManager(<VisaLibrary('/Library/Frameworks/visa.framework/visa')>)>
>>> rm.list_resources()
(u'ASRL1::INSTR', u'ASRL2::INSTR', u'ASRL3::INSTR')
However, on a Macbook these are the two bluetooth ports and then my phone connected via usb.
In NIVisaIC, my DAQ comes up as a USB RAW resource, but I'm unable to read/query it due to an "I/O Error".
any help would be appreciated.