Skip to Content
Sep 16, 2014 at 12:55 PM

How to put a value into the Gauge object


Hi Experts

I would like to use the DS_1.getData() command to retrieve data from a query
and place it into a gauge (standard object in DS). What I understand is that
the getData command retrieves a float value and the gauge object expects an integer
value. I didn’t find a float to integer conversion so I tried a work around. It
looked something like this but it did not work:


The value from the float to string conversion holds the decimals like 49,937 and this creates an error in the conversion from
string to int.

Does anyone have an example on how to get data from a DS into a gauge?

Kind regards