Units setting?

Discuss issues and ideas you have to configuring displays with PowerVision
dberezowski
Posts: 65
Joined: Wed Sep 08, 2010 4:03 pm

Units setting?

Post by dberezowski » Wed Sep 15, 2010 9:32 am

The text for a text widget can be selected via the language setting. We have a need for this text to have a further constraint of units. An example follows.
English + Imperial should display miles per hour
English + Metric should display kilometers per hour
Spanish + Imperial should display millas por hora
Spanish + Metric should display kilómetros por hora
Portugese + Imperial should display milhas por hora
Spanish + Metric should display quilômetros por hora
etc.
Currently, we have implemented this via the use of a text gauge with the application selecting the appropriate text.. ie. We can not use the Configurator's language setting as a text width has no concept of units of measurement.

Can this be accomplished using just the Configurator?
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: Units setting?

Post by jpratt » Wed Sep 15, 2010 10:05 am

Currently the configuration tool separates language and unit selection so you can't easily change the label based on unit. Your best bet to solve this is probably to use a Text Gauge only for the numerical value and use a text widget for the label. The widget can be sized to hold the largest string and the alignment tools can help getting it into the correct position.

If you have to move the text or number values that will have to be accomplished via scripting.

We are considering design changes which would better support Cultures (Unit/Language combinations) but they are very much in the early concept stages and not part of product roadmaps as of yet.

Jake
Jake Pratt
Software Development Manager
dberezowski
Posts: 65
Joined: Wed Sep 08, 2010 4:03 pm

Re: Units setting?

Post by dberezowski » Wed Sep 15, 2010 10:36 am

Jake, thanks for the quick responce. One correction to my post.

We can not use the Configurator's language setting as a text WIDTH has no concept of units of measurement

should have read

We can not use the Configurator's language setting, as a text WIDGET has no concept of units of measurement
jpratt
Enovation Controls Development
Enovation Controls Development
Posts: 222
Joined: Mon Jun 21, 2010 11:18 am

Re: Units setting?

Post by jpratt » Thu Sep 16, 2010 8:21 am

Gotcha. To give the widget the ability to understand the Unit, you can put your labels in a lamp gauge and set the lamp gauge to the Unit variable. This way you can show and hide the correct widget based on the unit currently selected.
Jake Pratt
Software Development Manager