03-15-2016 11:47 AM
Hi all,
I have a USB-6501 connected to my Windows 10 PC but I'm seeing inconsistent results from NI MAX.
As you can see below, NI MAX shows the USB-6501 as "Present".
I can Reset and Self-Test it successfully. I can run Test Panels and perform I/O to the 6501's three ports and verify its operation using the connected LEDs and switches. All this works fine.
However, if I run NI IO Trace and hit Refresh in NI MAX, I see 6 devices listed (MEMACC, 2 network ports and 3 COM ports). The USB-6501 is not listed.
My C++ PC app which uses the 6501 calls viFindRsrc("USB?*::3923::?*::RAW") and it also does not see the USB-6501. This is code that used to work under Windows 7.
Configuration:
PC: Windows 10
USB-6501 connected to USB 2.0 port
6501 shows up in Device Manager, driver=niemrkw.sys, v15.5.0f0
NI MAX v15.3.0f0
All NI updates installed 15/3/2016
Any help appreciated.
Thanks,
Duncan
03-17-2016 08:49 AM
Hi Duncan
I think the reason why viFindRsrc doesn't find the 6501 is because the driver you use niemrkw.sys is a DAQmx driver and not a VISA driver. As viFindRsrc only looks for VISA instruments it can't find the 6501.
Here is a link to a tutorial how to install it as a VISA device. After I have done this my USB DAQ card (a different model then yours) could be found be the viFindRsrc and I could communicate with it as a VISA device.
Andreas Jost
Applications Engineer
National Instruments
03-17-2016 09:25 AM
Many thanks Andreas.
I will try this.
Duncan