Hello, I am new in scada ignition and I currently learning how to use the web dev module. I wanted to know how to automatically update tag value based on time (value update every 1 second, 2 second, etc.)
Can we do that and what module we can use ?
Hello, I am new in scada ignition and I currently learning how to use the web dev module. I wanted to know how to automatically update tag value based on time (value update every 1 second, 2 second, etc.)
Can we do that and what module we can use ?
Welcome to the forum!
I am trying to exploring and learn how can we automatically update tag value without we need to reload the web page
Can you describe what you exactly want to achieve and what kind data you want to use.
The WebDev is an API for external programs and should not be used to change tags within Ignition.
Not necessarily. I can see a scenario where you send a POST request to Ignition with a payload that gets written to a tag. Whether that is the intended use of the webdev module, I'm not sure. At my workplace, we currently use Ignition as a pseudo API Gateway to handle and pass data between our other API and iOS app.
I’m not sure if this is best practice, but I’ve successfully displayed real-time updated data in the Perspective frontend by making a request to an endpoint made with the webdev module with our external program. This request then sends a message that is handled by the gateway.
I would be interested in hearing other people's experiences.
Using the webdev for as pseudo API Gateway is a good solution.
We currently use the WebDev for the following
Use bindings to automatically update a page. Webdev has nothing to do with that.