Please see Wiki - how to post code on this forum.
That allows you to post the code in a readable format as shown below. This in turn reveals some strange syntax and redundant ( ) occurrences.
This is most likely not doing what you think it does.
Can you elaborate on what you have (what data, and what its role is concerning that progress bar), and what the whole thing is supposed to look like ?
I think it doesn't work if only use a progress bar. the work around is place a progress bar and a label overlapped in a container to make it happen.
When the value is less or equal to 100, set progress bar's visible property to true, when the value is large than 100, set label's visible property to true. (Just use expression binding for each component)
You can even make a template if you need re-use this 'combined component'.
You can and should name your ignition tags properly with words so that you can use them logically in your graphics, as well as to maintain your sanity (and the sanity of the next person who looks at the project)
Okay, I understand, however, when you upgrade the PLC, the Ignition tag name will not have to change, only the OPC path. Use a name that makes since for what the bits purpose is. Prior to using it throughout your program and then learning that you want to change the name and then having to manual search and rename the reference in all the places that it is used.
I love those things. They look like something straight out of a sci-fi horror movie. Most of the time, if not every time, I've seen something replaced on a PLC-5, it's been misdiagnoses. They just don't make 'em like that anymore. Those things are military grade, and they simply won't fail on their own.
I know; they are humongous! Every time I encounter one, I feel like I'm in one of the early alien movies, and I'm afraid I'll be electrocuted if I touch it. Contrast that feeling with its SLC successor. When I encounter an old SLC in the environment, I'm afraid to touch it because the brittle plastics will probably crumble and cause the cards to fall off the backplane.
I know PLC 5s have to be upgraded to the latest and greatest thing because where did I put that serial cable?, but I'm just saying: we're not replacing them because they stopped working. We are replacing them because nobody remembers how to work on them.