LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2D array (image) orientation (suggestion for simpler method)

Hi all
How can I reshape an 2D boolean array as follow ?

(This is for printing on cylindrical objects such as a thick cord)

 

salam1.png

 

To this :

 

salam2.png

 

 

 

0 Kudos
Message 11 of 19
(1,806 Views)

For more than 2 characters you have to make modifications.

 

JM

Message 12 of 19
(1,794 Views)
Download All
Message 13 of 19
(1,785 Views)

I have used your code (H-flip) and found that in some cases maybe it is incorrect. I have attached 2 images for your review.

 

Input: output array (output from another block)

Output: H-flip array

 

Do you have any suggestion?

 

Thank you 🙂

Download All
0 Kudos
Message 14 of 19
(1,539 Views)

Compare your VI to the example mostly more carefully.  You didn't wire up the second part of the first array function.

 

\What is the point of adding zero to a number?

0 Kudos
Message 15 of 19
(1,526 Views)

@eric.miller wrote:

Do you have any suggestion?

 


  • Next time just download the attached VI instead of wiring up an incomplete version yourself from scratch. 😄

 

Here is a better reference link

0 Kudos
Message 16 of 19
(1,499 Views)

Thank you Smiley Happy

 

This wire is too small so that i could not see it...

 

"What is the point of adding zero to a number?"

---> I checked the operation of the your program...

 

"Next time just download the attached VI instead of wiring up an incomplete version yourself from scratch"

---> I am learning LabVIEW, so I want to do everything by myself Smiley Very Happy thank for your support

0 Kudos
Message 17 of 19
(1,489 Views)

 

 


@eric.miller wrote:

 

"What is the point of adding zero to a number?"

---> I checked the operation of the your program...


That zero does not exist in my program. In the other version, I insert the sign function. It operates on the remainder and increase the number of iterations by one if the size is not evenly divisible.


@eric.miller wrote:

 

"Next time just download the attached VI instead of wiring up an incomplete version yourself from scratch"

---> I am learning LabVIEW, so I want to do everything by myself Smiley Very Happy thank for your support


You should still download my code, run it side-by-side, and see if the results are different. Then do some probing and debugging to see where the wire values differ.

 

 

 

0 Kudos
Message 18 of 19
(1,452 Views)

Why do I feel like a game of Tetris after reading one of Altenbach's posts?

0 Kudos
Message 19 of 19
(1,434 Views)