It is currently Thu Sep 09, 2010 6:23 am




Post new topic Reply to topic  [ 4 posts ] 
 Progress Bar Problems 
Author Message
Trooper
Trooper

Joined: Thu Nov 19, 2009 10:30 am
Posts: 20
Post Progress Bar Problems
I've noticed two problems with the progress bar:

1. If you copy a progress bar that has already been assigned to a tag, the copied version keeps the referance to the min max values of the original version. You can change the copied version and then once you save/commit the window then reopen window, the min max values match the go back to origal version.

2. The progress bar does not work with values less than 1. For example, say you need to display a decimal value that ranges between 0 to 1. The progress bar either displays 0 or 1 and nothing inbetween.


Sun Jul 25, 2010 3:48 pm
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 229
Location: Sacramento, CA
Post Re: Progress Bar Problems
1) When you tag onto a component more than one binding occurs. The progress bar's value, min, max and tooltip get bound to the tag. All of the bold properties are bound. When you copy and paste the component you must change all bindings in order to point to the correct tag.

If you change a property value that is bound to something, then re-opening the window will revert the value back. Look for whether or not the property is bold or bound.

2) The progress bar's value is an integer, so you cannot use a floating point value. However, you can bind the value to an expression converting the floating point value to an integer. You can scale it up.

_________________
Travis Cox
Inductive Automation
Technical Support Rep.


Mon Jul 26, 2010 9:33 am
Profile WWW
Trooper
Trooper

Joined: Thu Nov 19, 2009 10:30 am
Posts: 20
Post Re: Progress Bar Problems
Thanks for clearing that up. I now understand...


Tue Jul 27, 2010 5:08 am
Profile
Moderator
Moderator

Joined: Sun Apr 02, 2006 2:46 pm
Posts: 2517
Location: Sacramento, CA
Post Re: Progress Bar Problems
With regards to #2: You can "roll-your-own" floating point progress bar with a combination of the level indicator component + linear scale component.

_________________
Carl Gould
Software Development
Inductive Automation


Thu Aug 05, 2010 9:50 am
Profile WWW
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: