python - PyVisa on OSX Mavericks not recognizing USB 6255 -
after following pyvisa documentation carefully, i'm unable communicate ni usb 6255 via python. i'm using correct distribution of python (the 32bit one), , i'm in virtualenv don't screw normal one.
after creating resourcemanager()
object called rm
, ensuring daq plugged in , on, following:
>>> rm <resourcemanager(<visalibrary('/library/frameworks/visa.framework/visa')>)> >>> rm.list_resources() (u'asrl1::instr', u'asrl2::instr', u'asrl3::instr')
however, on macbook these 2 bluetooth ports , phone connected via usb.
in nivisaic, daq comes usb raw resource, i'm unable read/query due "i/o error".
any appreciated.
when setting pyvisa may have installed ni-visa on system. need ni daqmx base well. need know if ni usb 6255 compatible daqmx base driver.
so, check daqmx base , compatibility 6255.
here's link latest mac os x daqmx base download. http://www.ni.com/download/ni-daqmx-base-3.7/4272/en/
Comments
Post a Comment