LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

shift register

Heh, that's even better. 🙂

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 11 of 17
(676 Views)

Hey, thanks so much for the help guys. The problem has been solve. 🙂

0 Kudos
Message 12 of 17
(673 Views)

screen.png

Hi as you guys can see from the screenshot above, the slider value does not get pass to the RGB to colour vi and thus my graylevel picture does not change its colour. So is there any way for me to pass my slider value to the RGB to colour vi?

0 Kudos
Message 13 of 17
(663 Views)

The RGB to color VI needs U8-Integers (unsigned 8 bit values), not floats - though Labview should be able to convert that... hmm.

 

actually, that's the one thing i didn't get in your first problem: you wouldn't have to worry about limiting the values to 255 if using a U8 in the first place - adding 1 to an U8 with value 255 will give you a value of 0, since you would need 9 bit to describe the value of 256, and the 9th would be discarded.

 

 

Edit: argh! must have been blind!!!! These values can't leave a running while loop - they'll only be given out when the loop has stopped. you'll have to move the color changing functionality into that while-loop, or you will run it exactly once - after pressing "stop".

0 Kudos
Message 14 of 17
(656 Views)

so how actually do I pass the value of the slider to my RGB to colour vi?

0 Kudos
Message 15 of 17
(653 Views)

see edit above

 

the first thing you'll have to understand in Labview is execution order: each block or loop can only start if all input wires have their data recieved and nothing can leave a loop without "tunneling" through local variables or similar before the loop has stopped.

0 Kudos
Message 16 of 17
(675 Views)

The easy solution to Freds problem is moving the Grey image part inside the loop ...

 

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 17 of 17
(671 Views)