LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown USB Device in Windows - VISA does not see it

Hello,

 

I'm trying to connect my STM microcontroller to my computer using USB protocol and VISA software. When I plug STM USB device into USB port Windows sees it as unknown device and can not find any driver for it. I assume that this is situation VISA was created for. So I want to use a driver wizard to create driver for this device, but VISA does not display it in a device list. I tried to create and install driver for my device as if it was not connected, and installed created driver manually but it did not work.

 

Is it possible that Windows detects a USB device and VISA can't see it?

0 Kudos
Message 1 of 6
(3,870 Views)

An unknown USB device in Windows means that Windows cannot communicate to that device since a driver for Windows for that device was not installed.

 

Until that is done, VISA has no chance of being able to see it.

 

 

0 Kudos
Message 2 of 6
(3,856 Views)

Thanks for reply.

 

I'm gonna ask a question that might be silly, bo I'm new to USB and VISA. Are you suggesting that before I create driver in VISA, I should install driver written by myself?

0 Kudos
Message 3 of 6
(3,852 Views)

It actually depends what sort of USB device it should be. If it is a COMM USB class device, Windows should be able to pick it up directly as serial port, if it is some proprietary USB class, then you either have to get a driver installed and access that driver somehow, or create an INF file with the VISA driver wizard for it and write the driver yourself in LabVIEW using the VISA USB Raw interface. Without a very good description of the low level USB protocol however this last option is a complete no go.

 

If the VISA driver wizard doesn't display the device in the list then Windows has already claimed it somehow.

Rolf Kalbermatter  My Blog
DEMO, Electronic and Mechanical Support department, room 36.LB00.390
0 Kudos
Message 4 of 6
(3,838 Views)

Helllo.

 

I suggest to go trought  document which is called USB Instrument Control Tutorial (http://zone.ni.com/devzone/cda/tut/p/id/4478). 

 

Hope that this document will help you to understand what is required in order to communicate with your device.

 

Additionaly, take a look on this forum post:http://forums.ni.com/t5/LabVIEW/Nugget-1-of-n-GEtting-started-with-USB-communication-via-VISA/m-p/74... It can be usefull too.

 

Regards, 

Sofija

0 Kudos
Message 5 of 6
(3,802 Views)

Hi,


Are you trying to use the device, in which case there should be some driver from the mfg.  Or are you developing a driver for this device?

-------
Mark Ramsdale
-------
0 Kudos
Message 6 of 6
(3,795 Views)