Auto Refresh ASP Web Pages

ASP pages served by the DataHub web server contain static data values. Normally you would click to refresh the page in the browser to see new point values. This example includes a simple script that refreshes the page for you based on a clock timer (currently set to refresh every 2 seconds).

The example below shows several point values read from the DataPid domain in the DataHub. To see point values, you must be running the DataPid program.
Name Value Quality Time Stamp
Setpoint 73.912 Good 06:23:58.620
Process Variable 41.473 Good 06:23:58.728
Output Variable 96.344 Good 06:23:58.728
Update Frequency 10.000 Good 06:01:39.306
Auto SP Change 1.000 Good 02:32:34.932
This page will automatically refresh
This ASP page has been designed to automatically reload the page on a timed interval. This method may be perfectly suited to uses who want to display data that doesn't change very rapidly.

<-- Go back

Copyright © 1995 - 2010, Cogent Real-Time Systems Inc. All rights reserved.