LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How Can I do a USB Comunication?

Hi,
I have a DSP 5509, it has a USB port. I need to do a comunication among DSP and my computer by USB port, using Labwindows CVI.

DSP will send data to the computer, the computer will receive this data and it must plot data.

Are there any information about this comunication?, Can Somebody help me?

Thanks,
Hiram Hernández
0 Kudos
Message 1 of 4
(4,070 Views)
If your device has a driver(dll) from the manufacturer, just access the driver from CVI by including the export header and import library into your project. Then, make sure your driver is in a Windows searchable directory (i.e, system32) or the same directory as your application. If you don't have a driver, then you may have to go through VISA commands. VISA allows you to communicate to USB devices through raw data transfer, and so you'd have to know exactly how to form and send data (basically creating your own driver through VISA). If not that, then you'd have to just create your own driver using a DDK of some sort (driver development kit).
Jeremy L.
National Instruments
0 Kudos
Message 2 of 4
(4,047 Views)
Hi,
I have a similar problem but I would use LabVIEW instead of LabWindows CVI. Is it possible? Can I use the bulk pipe for high speed data transfer from the DSP to PC?
Thanks,
Marco
0 Kudos
Message 3 of 4
(3,667 Views)
Hi Marco,
The procedure for doing the same thing in LabVIEW is very similar to that used by CVI/LabWindows.  Here is an article about Calling DLLs in LabVIEW and here is an article about Bulk pipe transfers in LabVIEW.  I think you should be able to accomplish what you need using LabVIEW relatively easily.
Eric A.
National Instruments
Distributed I/O Product Support Engineer
0 Kudos
Message 4 of 4
(3,612 Views)