Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

Espression Object

I’m trying to use an Object Expression (not the plain Insert Expression) for scaling the value of a Pot Object named “TestPot” before log into the database in order to have the proper scale record. Because some conditions of my design, I need that the Pot swing from 0 to 4095 (simulating an analog input), and using an Expression Object (TestExp), to scale the Pot’s value to a range –100 (MinPot) to +100 (MaxPot). After this scaling, I would like to log the Expression’s value and display it by one Hyper-trend.

After some work, I tried many ways but I can’t see the Expression in the Hypertrend.

Attached there is a file containing this example.

Is here something wrong?
Download All
0 Kudos
Message 1 of 3
(3,146 Views)
I guess you show TestExp.value in the hypertrend. However, (expression) objects just have an implicit datamember. Therefore, you should just add TestExp to the hyperternd configuration.

Hint: Browsing to the datamember instead of typing is a cool feature of Lookout 🙂

Hope this helps - let us know.
Roland
Message 2 of 3
(3,146 Views)
Can't this scaling be done with the Edit Data Member Configuration?
0 Kudos
Message 3 of 3
(3,146 Views)