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:
GAUGE_1.setValue(Convert.stringToInt(Convert.floatToString(DS_1.getData("CKXYNLFBDHH0X2U91711DX83S",
{"ZQMSITEPD":'S999'}).value)));
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
Erik