I am trying to write to the log, the current value of a device.
I am using the below test string in the immediate execute script event (undertand it is not the device value .. but a test to convert numeric to string).
&hs.WriteLog ("TEST", Convert.ToString(158))
Ultimately, I want to get the value of device # 158, but I understand that the values for devices are always numeric .. thus the reason for convert to string.
If you know how to get this device's value to display in the log .. if you can provide the syntax, I would appreciate it ..
tanx .. Don
I am using the below test string in the immediate execute script event (undertand it is not the device value .. but a test to convert numeric to string).
&hs.WriteLog ("TEST", Convert.ToString(158))
Ultimately, I want to get the value of device # 158, but I understand that the values for devices are always numeric .. thus the reason for convert to string.
If you know how to get this device's value to display in the log .. if you can provide the syntax, I would appreciate it ..
tanx .. Don
Comment