LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to transfer data using USB port

With 2 Windows base computer and Labview on each of them, how can I use the USB ports to transfer data at high speed.
0 Kudos
Message 1 of 7
(3,991 Views)
No low level USB fumnctions are available in LabVIEW - at least at this time. The 2/12 and 2/12 digests of the info-labview mail server had a lengthy discussion of the subject. For pc to pc communication, its pretty simple to use a crossover network cable and use the TCP/IP functions or datasocket to transfer at 100MB rate.
0 Kudos
Message 2 of 7
(3,991 Views)
Hi,

maybe you can use the serial port vi's. I used them to communicate via
usb-modem and it works. You yust have to look in use system setting wich
com-port windows set to your usb-port.

Niko
0 Kudos
Message 3 of 7
(3,991 Views)
Hi,

I'm a rookie in this place and I have a question. I want to use my USB port to connect to my webcam. If I use the serial VI, don't I use then a different protocol then normally on USB?

thnx for the help,
Stefan
0 Kudos
Message 4 of 7
(3,991 Views)
"stefan.school@hccnet.nl" wrote in message news:<506500000005000000E0DE0000-1042324653000@exchange.ni.com>...
> Hi,
>
> I'm a rookie in this place and I have a question. I want to use my USB
> port to connect to my webcam. If I use the serial VI, don't I use then
> a different protocol then normally on USB?
>
> thnx for the help,
> Stefan

Hi Stefan,
You can't use serial vi to communicate with the webcam. The
communication between windows and USB devices involves certain steps
including enumeration of devices and setting the USB devices address,
etc. Since Win98, MS windows have a set of standard low level drivers
taking care of this communication that you don't have to worry. What
do you want to do with your webcam? You can check ou
t my toolkit
IVision, use IVision_CameraDemo1/2.vi to grab, stream your video.
Irene
http://www.geocities.com/irene_he/IVision.html
0 Kudos
Message 5 of 7
(3,991 Views)
Hi Irene,

Thnz for the adress. I tryed the .llb and it works. But now, I only want to no, How can I just get the video stream in Labview? Or do I have to buy it 😞 (I won't do)

thnx for the help,

Stefan
0 Kudos
Message 6 of 7
(3,991 Views)
"stefan.school@hccnet.nl" wrote in message news:<50650000000500000050DF0000-1042324653000@exchange.ni.com>...
> Hi Irene,
>
> Thnz for the adress. I tryed the .llb and it works. But now, I only
> want to no, How can I just get the video stream in Labview? Or do I
> have to buy it 😞 (I won't do)
>
> thnx for the help,
>
> Stefan

Hi Stefan,
Well, if you don't mind the nagging dialog box, you can always use
IVision. But you may find some free vis from Pete (you maybe able to
find in this discussion forum) for some USB webcams, but then you
can't control your camera settings and I don't think those vis work
for firewire or camcorder, because it's based on VFW.
Good luck and have fun.
Irene
www.geocities.com/irene_he

0 Kudos
Message 7 of 7
(3,991 Views)