Hi all
I wonder if there are a way of modify a variable with a simple a mathematical formula.
I am building a graphical scale. I receive the weight via RS232, this works perfect.
Let say a person stands on the scale - i get the value 70 (kilos) into a variable. I show this on the screen with Live Text.
When a button is pushed i want to modify the variable to how much the persons weight is on the moon.
I want to do this
Change variable :
variable x 0,165 = new variable
70x0,165=11,55
I can now show this new variable on the screen with Live Text.
"Your weight on the moon is 11,55Kg"
Is this possible to do internally on Brightsign / BrightAuthor
Date
Votes
1 comment
-
Brandon You won't get that in standard BrightAuthor functionality.
You'll either need to write a plugin (in BrightScript), or do it in a HTML5 state with Javascript.
For your example, I would do the whole thing as an HTML5 page with Javascript to do the calculations. That would give you the most style/display flexibility and easy math manipulation._________________________________________________________________________
Friendly reminder, the community forum is intended for user-to-user discussion. It is not regularly monitored. For troubleshooting problems and to ensure a timely answer from a BrightSign representative, please submit a support ticket.
Post is closed for comments.