12-02-2015 05:11 AM
12-02-2015 05:54 AM
What kind of image do you refer to?
You are aware that there is a "tank" control available in LV? Simply pass the percentage value to the tank and make sure it scales from 0 - 100.
Norbert
12-02-2015 06:17 AM
12-02-2015 06:22 AM
That is a complete different task.
You can use IMAQ (Vision module) to analyze images. However, you have to create an application and "teach" it what you are looking for.
Biggest obstacles:
- Is the level of filling something you can clearly identify in the image? Is it the same for all levels?
- You want a %-age of filling: Tanks are not necessarily "linear". That means if the level of filling is at about 50% of the height of the tank, it still may fill 60% of the volume of the tank.
It would be easier to have some kind of filling level measurment in the tank directly. There are pretty good ones available for different environments (e.g. toxic, high temperature, ...) which usually work with capacity measurements.
Norbert
12-02-2015 06:39 AM
12-02-2015 06:40 AM - edited 12-02-2015 06:46 AM
12-02-2015 06:41 AM
Do you have example images you can post? this helps us to understand what you are facing....
Norbert
12-02-2015 07:40 AM