jmichalec Posted September 24, 2015 Report Share Posted September 24, 2015 Hi I have a two liquids in one tank. How to display two levels in one tank with two different colors for each liquid? This is my first project. Thank you. Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted September 24, 2015 MVP 2023 Report Share Posted September 24, 2015 Just place two different bar graphs on top of the tank graphic, side-by-side, or whatever configuration pleases you. Link to comment Share on other sites More sharing options...
jmichalec Posted September 25, 2015 Author Report Share Posted September 25, 2015 Thank you for response. I have a tank with oil and water on the bottom of the tank. The bottom of oil level is changing with water level. Jerry michalec Link to comment Share on other sites More sharing options...
MVP 2023 Flex727 Posted September 25, 2015 MVP 2023 Report Share Posted September 25, 2015 Well, that's a distinctly more challenging problem and will require some ladder logic to work. You'll need to understand the maximum and minimum levels that are possible with the water and oil. Then, I would place two bar graphs immediately one above the other with the water & oil colors on the bottom graph and the oil and empty space colors on the top graph. This will not work if both water and oil can independently range from 0% to 100% of the tank volume. If the above won't work and you can illustrate with, say, 20% steps, then you can generate 25 bitmaps with all the possible combinations and select them with "List of Images by Pointer". Maybe there's a better way, but that's what I have to offer off the top of my head. Link to comment Share on other sites More sharing options...
Walkerok Posted September 27, 2015 Report Share Posted September 27, 2015 I have uploaded a demonstration program on at least one way to show two tank levels in a single tank space they way you want. The program is competely simulated but you will be able to get the idea of what needs to be done. ThanksKeith oil and water tank level simulation.vlp 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now