ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

usb port reading example

Hello,

          Can anyone plz attach a  simple working example for READING DATA from a USB port.

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 1 of 6
(5,173 Views)

Hi,

 

Use the LabVIEW Example Finder and search for USB.

You should find: USB RAW - Bulk.vi, USB RAW - Control.vi and USB RAW - Interrupt.vi

 

 

Christian

Message 2 of 6
(5,158 Views)

What device are you trying to read data from?

 

For instance, if it is a USB-to-Serial adapter, you can use native VISA Serial VI's to do the trick.

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

I found those examples.But it won't seems to be simple.Iam a beginner trying to read from the USB port for the first tine.Can you suggest some simple examples.

 

ThanxSmiley Happy

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
0 Kudos
Message 4 of 6
(5,135 Views)
USB is not simple. You need to provide details on the actual device you are connecting to.

Do some research here. There have been an excellent set of ' nuggets' written by Intaris. Read them.
Message 5 of 6
(5,132 Views)

nuggets' written by Intaris is very informative thanxSmiley Happy

----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Thanks as kudos only:)
Message 6 of 6
(5,121 Views)