Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

ViFindRsrc and USB-6501

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.

 

nimax.png

 

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.

 

niiotrace.png

 

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.

 

vifindrsrc2.png

 

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

 

 

 

0 Kudos
Message 1 of 3
(4,090 Views)

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

 

Andreas
CLA, CTA
0 Kudos
Message 2 of 3
(4,053 Views)

Many thanks Andreas.

 

I will try this.

 

Duncan

0 Kudos
Message 3 of 3
(4,050 Views)