I am evaluating this device for possible use in one of the units we build.
According to the mfgr I should be to be able to query the web based unit using an API call via TCP/IP.
See the bottom of page 13 in this manual.
My question is… Would it be possible for me to create a script in my HMI client that will fetch information from this device at a regular interval, possibly in a timer event in the Client Events?
Don’t see why not. You can checkout our documentation on the system.net.httpClient() for some examples for doing API requests.
I would also note that if you only need these API requests to happen on one screen, then you can also utilize the Timer component and do the API requests on its actionPerformed event handler. This way it won’t always be calling the endpoints just from having a client opened, but only when the window you have open requires it. However, if you will be utilizing the response in many different windows then you can use the Client Event timer script and then write the response to something like a Client Tag which can then be read and used on a window.