LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

circle LED

Solved!
Go to solution

Thanks for both of you alexderjuengere and GerdW for answering me 😄

 

I've tried the VI of alexderjuengere in a pc with LabVIEW 2012 and that's what I really want , it's the perfect solution 🙂

 

THANKS for all of you 🙂

0 Kudos
Message 11 of 18
(1,132 Views)

@salah_m7 wrote:

Thanks for both of you alexderjuengere and GerdW for answering me 😄

 

I've tried the VI of alexderjuengere in a pc with LabVIEW 2012 and that's what I really want , it's the perfect solution 🙂

 

THANKS for all of you 🙂


I have to admit, GerdW's approach is much more generic because in his approach you're in immediate command of the image depth; my approach always use 24 bit image depth ...

 

 

oh, and - as I've just checked - you needn't to divide by two2013-05-07_circle_2.png

0 Kudos
Message 12 of 18
(1,127 Views)

I'm sorry alexderjuengere but I didn't understand why in your approach we are limited to 24 bit image depth

0 Kudos
Message 13 of 18
(1,118 Views)

Oups xD now I see why. (I'm sorry but this is my first time to deal with pictures in LabVIEW)

 

And for GerdW: your VI also worked for me :), but the first time it didn't work well because it was my fault I haven't understood your comment clearly but I've changed the values of the constant clusters and finally I've got what I need, thank you very much 😉

 

Thanks LabVIEW community 😄 

 

 

0 Kudos
Message 14 of 18
(1,108 Views)

@salah_m7 wrote:

I'm sorry alexderjuengere but I didn't understand why in your approach we are limited to 24 bit image depth


ok, I didn't express myself clearly.

 

we are not limited to 24 bits, but it is not that comfortable to switch to a different resolution.

 

what I really wanted to point out is that I used a u32 (r, g, b, alpha a 8 bits * 4 = 32 bits) to represent a binary image (true, false a 1 bit).

 

 

 

 

 

From my idealistic point of view I would rather prefer somthing like this

2013-05-07_circle-3.png

 

 

 

 

 

 

 

 

 

0 Kudos
Message 15 of 18
(1,107 Views)

@alexderjuengere wrote:

From my idealistic point of view I would rather prefer somthing like this

2013-05-07_circle-3.png


Can you explain the "=true"? What would happen if you leave it out? 😄

0 Kudos
Message 16 of 18
(1,091 Views)

Here's what I would do. (Simple problems ask for complex math! :D)

 

Note that the origin is in the upper left corner and Y is positive going down. Modify as needed.

 

Message 17 of 18
(1,088 Views)

Smiley Surprised Smiley Very Happy

0 Kudos
Message 18 of 18
(1,086 Views)