From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to show condition based string in lcd

Solved!
Go to solution

I am building a tank water level controller

so based on the water level, I need to show "tank empty / tank quarter full / tank half full / tank full" in LCD

now I get it how to show alternate texts in LCD but dont egt it how I show more than one two condition based texts in LCD

Help please 

0 Kudos
Message 1 of 18
(3,245 Views)

Hello,

 

I don't really get what you mean.

Can you describe it a little bit better?

I don't know if this is the solution to your problem but check the vi.

 

Koen

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
Message 2 of 18
(3,223 Views)

 

Here is a preview of my doing
See i need status LCD 2 to show the tank condition by text
so how do i do that ?
also, thanks for the reply and the vi, but i use 10 and its made in 11 i guess 😞

0 Kudos
Message 3 of 18
(3,217 Views)
Solution
Accepted by topic author arghya139

Oh sorry saved it for 10 now.

Hope this is what you meant.

 

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
Message 4 of 18
(3,211 Views)

KoenR94 beat me to it by a few seconds but here is my version saved in 2010.

Message 5 of 18
(3,206 Views)

a different take without ranges....

Example_VI.png

 

since you used a double and not an interger, what do you think is going to happen when the % is between 10-11,49-50,89-90? using koenr example...

Message 6 of 18
(3,193 Views)

Thanks man thats exactlly what i wanted 🙂
gracious

0 Kudos
Message 7 of 18
(3,188 Views)

since you used a double and not an interger, what do you think is going to happen when the % is between 10-11,49-50,89-90? using koenr example...


 

True mine was based on integers. Anyway this can easily be achieved using a conversion block.

 

---

UnCertified LabVIEW Student
Mistakes are for learning, that's why suggestions are always welcome!
0 Kudos
Message 8 of 18
(3,179 Views)

but i understood what u did with case structures 😞
others i didn't
sorry i mean no disrespect to anyone here

all are very helpful

0 Kudos
Message 9 of 18
(3,175 Views)

@arghya139 wrote:

but i understood what u did with case structures 😞
others i didn't
sorry i mean no disrespect to anyone here

all are very helpful


no worries.....down the line of experiences with LV, you will apreciate the usages and manipulations of data through arrays and not to be limited with case structures  Smiley Wink

0 Kudos
Message 10 of 18
(3,166 Views)