LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can Labview 2009 communicate via an USB port to a custom PCB.

I would like to know if Labview 2009 will allow me to communicate with a Cypress CY7C68001 USB SX2 controller.

The SX2 USB interface device is designed to work with any external master, such as standard microprocessors, DSPs, ASICs,

and FPGAs to enable USB 2.0 support for any peripheral design. I have a driver for this controller, but I was wondering if the

builtin VISA USB components in Labview 2009  would allow me to build an interface in Labview to communicate with this

device. Appreciate an insights. Thanks.

0 Kudos
Message 1 of 3
(3,549 Views)

I cannot answer your question about VISA and USB.  I would assume the answer is "yes" because I do not see why that wouldn't be the case.  However, all the USB devices I have ever used came with some device driver and most of the time I could just use the device driver's functions directly in LabVIEW.  That way if the manufacturer updates their driver package, you can take advantage of it in your own software in a modular way.

 

If a driver is available (like a .dll), then I would first try to use the "Call Library Function" in LabVIEW to access its methods.  You will most likely need the documentation for the driver.  If the inputs/outputs for the driver's function are complex, then you will need to write a wrapper .DLL in C or something to make the function calls more accessable to LabVIEW (which seems to only be good at simple data types when using the Call Library Function).

 

-nic

0 Kudos
Message 2 of 3
(3,535 Views)