LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how does this programme work?

can someone please explain step by step how this programme workes? The code was developed by ian.f.k
0 Kudos
Message 1 of 3
(2,496 Views)
A JPEG file is read from disk and written to a picture indicator (Read JPEG File and Draw Flattened Pixmap). The size of the rectangle (right and bottom items of the cluster) is checked to make sure that it is greater than zero. This is done by converting the cluster to an array and the Less or Equal function creates an array of Booleans for each comparison. The array of comparison results is ANDed together to verify that all elements are not TRUE (each element is not less or equal to zero). If each element is not less than or equal to zero, the size of the picture indicator is set to the same size as the JPEG file. If any element is less than or equal to zero, then the size of the picture indicator is set to a default width of 50 and height of 50.
0 Kudos
Message 2 of 3
(2,496 Views)
Hi!

I added some comments in the code.

/Thomas
0 Kudos
Message 3 of 3
(2,496 Views)