From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

image reception

We have to transmit an image through laser source and receive with the help of photodiode. How to receive image in following program? suggest changes.

0 Kudos
Message 1 of 2
(2,179 Views)

This is a wonderful example of the wisdom of the Software Adage "Write the Documentation First".  I think what you are hoping to do is to re-invent the wheel of transmitting images digitally.  One way to do that is the following:

  1. Break the image up into pixels having a certain bit depth (8, 16, 24, 32 bits).
  2. Transmit all of the bits as a bit stream.
  3. Reassemble the bits into pixels and the pixels into an image.

From the name of your sample VI, an Arduino is involved in this process, almost certainly in Step 2.  So write a very simple routine to handle bit transmission as a bit stream.  Once you have that working, worry about Steps 1 and 3, which you should be able to do with a few functions from LabVIEW's Array and Vision Palettes.

 

Bob Schor

0 Kudos
Message 2 of 2
(2,139 Views)