-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
conversion factor for variables doesn't work #20
Comments
i don't think this is supported right now and i don't know what is does ... |
This factor is multiplied with the value of the variable and the result is displayed in the visu. In my example, I habe a value of a storage in percent, and in the visu I want to show the value in kWh. The conversion factor between precent and kWh in this case is 8,38 (1% equates to 8,38 kWh). Of course I can declare a new variable in the global variables list, calculate the energy value in the programme and use this variable in the visu. But it is more "quick and dirty" to use the factor. |
This has to included in the interfaces within #22 |
I use the function conversion factor (Umrechnungsfaktor in german) in the visu (see picture below).
In the java version and in the visu inside of codesys, it works. But in the javascript visu, the factor is always 1 (no conversion is done at all), independent whether there is a conversion factor or not.
The text was updated successfully, but these errors were encountered: