Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

viFindRsrc with USBTMC devices fails w/64-bit apps

Solved!
Go to solution

As for VISA 5, every USBTMC device must be hosted by IVI Foundation's class driver. Take a look into Device Manager to check if the device is hosted by "ausbtmc.sys" placed in Windows/System32/Drivers directory. The latest driver version is "File version = 79.05.13322.00" No other drivers are considered as USBTMC host.

0 Kudos
Message 11 of 20
(2,572 Views)

Yes, this is indeed the case, path, name, and version match.

0 Kudos
Message 12 of 20
(2,570 Views)
Solution
Accepted by lecroyDev

If you look at the release notes for NI-VISA 5.1.1 you will find this tidbit:

 

310315

Both viFindRsrc and the VISA I/O Control do not list USBTMC devices in 64-bit applications
Calling viFindRsrc in a 64-bit application or expanding the VISA I/O Control in 64-bit LabVIEW will not return USBTMC devices. VISA is still able to correctly open a session and communicate with the USBTMC device through other functions.

Workaround: For the I/O Control, provide the USBTMC device with an Alias through MAX and change the filter on the I/O Control to show "All defined aliases for resources of this class" to allow the device to show up. There is no workaround for viFindRsrc.

Reported Version: 5.1    Resolved Version: 5.1.1    Added: 08/09/2011
Message 13 of 20
(2,492 Views)

Superb, many thanks for posting this, comforting to know hat I wasn't imagining it 🙂

0 Kudos
Message 14 of 20
(2,486 Views)

@Makoto wrote:

As for VISA 5, every USBTMC device must be hosted by IVI Foundation's class driver. Take a look into Device Manager to check if the device is hosted by "ausbtmc.sys" placed in Windows/System32/Drivers directory. The latest driver version is "File version = 79.05.13322.00" No other drivers are considered as USBTMC host.


When i got exactly this driver installed on my System, should i see the device(Rigol Multimeter)in MAX ? Or do i still need the driver wizard? Im asking because im trying to get my Rigol DMM 3062 via USB to Labview 11 and VISA 5.1.1 on a x86 Win7 machine.

0 Kudos
Message 15 of 20
(2,463 Views)

Sorry for this double posting but i were not able to figure out how to edit twice.

 

Ich read about a niusbtmc.sys which was called the tmc driver from NI. Here we have on ausbtmc.sys which was assigned to agilents visa driver.

(old thread)

Is this outdated or do i still need niusbtmc.sys for NI-MAX?

0 Kudos
Message 16 of 20
(2,450 Views)

I dont know if Rigol 3062 USB is USBTMC compliant or not. If USBTMC compliant, you have no additional steps to do for connecting it with VISA. The latest VISA versions (of VISA SPEC 5.x), the default device driver ausbtmc.sys installed together with VISA Shared Component will host the device and VISA automatically recognizes the device.

 

You should contact the manufacturer if the device is USBTMC compliant.

Message 17 of 20
(2,439 Views)

niusbtmc.sys is the USBTMC driver installed from NI-VISA 3.x and it is too old. asubtmc.sys is originally from Agilent IO libraries but now latest VISA versions all rely on asubtmc.sys which is installed with VISA Shared Component.

You should uninstakk all VISA libraries then install a new one.

Message 18 of 20
(2,438 Views)

Thanks for your both answers.

 

Manufacturer says its USBTMC. With their Software the DMM works fine on PC, but its not that bulky. Maybe firmware problem? I contacted Rigol support two weeks before but there is only one answer a day because of the different time zones USA/Germany. Also im not feeling that comfortable with their support. 

 

Best regards,

deryoshi 🙂

0 Kudos
Message 19 of 20
(2,429 Views)

Go Device Manager and open the device's property, then try uninstall the device driver once. After that re-connect the device USB cable again. If something is going wrong regarding the driver installation, re-installing the driver may fix the issue.

0 Kudos
Message 20 of 20
(2,405 Views)