03-14-2006 07:45 PM
03-14-2006 08:26 PM
Hi frens,
Does the VISA library in labwindows support usb?
Rgds,
Jason
03-15-2006
02:03 PM
- last edited on
11-24-2025
06:31 PM
by
Content Cleaner
Hi Jason,
NI-VISA supports most USB interfaces, depending on the class. As long as you can get the device detected and showing up in MAX (Measurement & Automation Explorer) then you will be able to use it in CVI.
Please let me know if you run into any issues.
Thanks,
03-16-2006 02:05 AM
03-16-2006 02:31 PM
03-16-2006 11:38 PM
03-17-2006
07:04 AM
- last edited on
11-24-2025
06:32 PM
by
Content Cleaner
Jason,
You do not need the DLL if it is a RAW device. Answering your second question depends on what you mean by "command set". See the KnowledgeBase How Can I Communicate With a Device Using NI-VISA USB RAW Mode? for more reference material. You will need to know what "pipes" or "endpoints" to write to and read from for the device. The DLL does this as well and probably exposes certain abstracted functions. You will have to do this yourself if you use NI-VISA as the driver.
Yes, a LabVIEW DLL can be used in CVI.
03-20-2006 07:38 PM
03-20-2006 09:11 PM - edited 03-20-2006 09:11 PM
Message Edited by kingkong on 03-20-2006 09:16 PM
03-21-2006
01:39 PM
- last edited on
11-24-2025
06:33 PM
by
Content Cleaner
Hi kingkong,
Yes you can use those DLLs in LabWindows/CVI. There is a lot of information about incorporating DLLs into CVI in the KnowledgeBases and discussion forums. Check out KnowledgeBase 23L9A9XL: How Do I Call a Visual Basic DLL from LabWindows/CVI?. There is a discussion forum post about using Visual C in CVI here: https://forums.ni.com/t5/LabWindows-CVI/How-to-use-a-Visual-C-DLL-in-CVI/m-p/10495?requireLogin=Fals... and another one here: https://forums.ni.com/t5/LabWindows-CVI/How-can-I-use-a-dll-file-written-in-Visual-C-using-LabWindow....
Finally, here's KB 3337DOV4: Calling a LabVIEW DLL from a CVI or other C/C++ project.
Hope this helps!
Megan B.
National Instruments