LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning value to picture in picture ring control

Highlighted

Hi,

 

i made a picture ring that contains 23 images. I'm measuring a real-time signal and want to assign (for example) picture 1 to measured-voltage-value of 0.5 V, picture 2 to 1 V, picture 3 to 1.5 Volts, etc.

How do i do this?

 

Greetings

0 Kudos
Message 1 of 5
(1,121 Views)

Hi Erik,

 

simply wire round(value/0.5) to the terminal of the ring...

Best regards,
GerdW
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

Message 2 of 5
(1,109 Views)

Image ring.png

 

It all depends on your code structure.

---

While evaluating my code please have in mind that I am a LV novice. Therefore sometimes my code might violate some coding rules that I have to learn about myself. But how else could I do that... 🙂

Chart zoom with "Mouse Over" effect
0 Kudos
Message 3 of 5
(1,105 Views)

Thank you GerdW for your advice. I did as you said and it now responds to my signal.

I've an additional question: since my maximum value is around 3 volts, can i make the picture ring in such way that it shows every additional 0.3 volts the next picture (i've reduced it to 10 pictures)? (and when i'm over 3 volts it still shows the last picture)

 

Greetings, Eriktw

0 Kudos
Message 4 of 5
(1,093 Views)
Hi Erik, what about the "In range and coerce" function, found in the comparison palette?
Best regards,
GerdW
CLAD expired, using LV2011SP1 + LV2017 (+LV2019 sometimes) on Win7+cRIO
Kudos are welcome Smiley Wink

0 Kudos
Message 5 of 5
(1,088 Views)