Skip to content
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

Ember+ Viewer, formula with * does not work #76

Open
stian-barnfind opened this issue May 7, 2018 · 1 comment
Open

Ember+ Viewer, formula with * does not work #76

stian-barnfind opened this issue May 7, 2018 · 1 comment

Comments

@stian-barnfind
Copy link

Formula based on '*' does not work:

formula "($*0.1000000)" always results zero, while "($/10.000000)" works. The libformula in git however seems to work fine.

https://groups.google.com/forum/#!topic/ember-plus-discuss/Snbg43ed6Hg

@yboujraf
Copy link

Dear @stian-barnfind

Today I have the same issue and I fixed by removing the $.


                {

                    "number": 1,
                    "identifier": "ParameTypeReal",
                    "description": "",
                    "value": 0,
                    "minimum": 0,
                    "maximum": 4096,
                    "access": "readWrite",
                    "format": "%8.2f°",
                    "enumeration": "",
                    "factor": 1,
                    "isOnline": true,
                    "formula": "10*\n10/",
                    "default": 100,
                    "type": "real"
                },

Otherwise using formula with $ doesn't work with latest emberPlusViewr.

Best Regards,
Youssef

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants