Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Send image to other PC

Hello all.
Please help me.
I receive image from WEB-camera to my PC.
I want send this image to another PC.
How do it ?
With respect
Aleksandr
 
 
0 Kudos
Message 1 of 8
(4,525 Views)

Aleksandr,

Below are two documents which discuss this issue.

Transfering Images with DataSocket

Streaming IMAQ Images Over a Network (or Internet)

The second document is a bit old and leaves out a the critical piece of information mentioned in the first document.  The IMAQ image type is a pointer and not the actual image data.  You need to flatten the image to a string and pass the string instead of the pointer.  You can also convert the image to a 2 dimensional array or save the image to a jpeg.  The key here is that you do not want to transfer the IMAQ Image datatype to your computer but rather the image data.
 
I hope this helped,
Lorne Hengst
Application Engineer
National Instruments
0 Kudos
Message 2 of 8
(4,484 Views)
Dear Lorne Hengst.
Thanks for the help.
I will be try to solve this task.
With respect
Aleksandr
0 Kudos
Message 3 of 8
(4,463 Views)
I have try opened examples, but I receive the error: 1074397145 (No interface found).
What do it mean?
With respect.
Aleksandr.
 
 
0 Kudos
Message 4 of 8
(4,431 Views)

Aleksandr,

What version of NI-IMAQ and LabVIEW do you have?

This might be a version conflict.

Lorne Hengst
Application Engineer
National Instruments

0 Kudos
Message 5 of 8
(4,423 Views)

Hello Lorne Hengst.

Thanks for the attention.

I have LV - 7.1 and Vision 7.1

With respect

Aleksandr

0 Kudos
Message 6 of 8
(4,399 Views)

Aleksandr,

You mentioned that you are using a web camera.  It is probably either a firewire camera or a USB camera.  You will need to modify these examples so that they use the appropriate driver VIs for your camera.

So... replace all of the IMAQ driver VIs with the appropriate counterpart for which ever type of camera you are using (either NI-IMAQ for IEEE 1394, or NI-IMAQ for USB).

Good Luck,
Lorne Hengst
Application Engineer
National Instruments
0 Kudos
Message 7 of 8
(4,383 Views)
Dear Lorne Hengst
Thanks for the help.
I see the image from WEB-camera on LV.
I see the color image.
How can I transfer color image to B/W image?
With respect
Aleksandr.
 
0 Kudos
Message 8 of 8
(4,367 Views)