18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Introduction<br />

function. This process can take several milliseconds or even seconds, depending on how you<br />

configured the script in the Math worksheet (especially for loops).<br />

If you configure a Math function for a screen object, the Viewer stops updating the screen until the<br />

Viewer executes the entire Math worksheet called by the Math function.<br />

If you must use the Math function for the Scheduler task or a screen object, we recommend using<br />

the following procedure to prevent process delays:<br />

1. Specify one auxiliary tag with the value 1 and the Scheduler or Viewer task will send a message<br />

to the Tags database to update this tag value.<br />

2. Configure the tag in the Execution field of the Math worksheet to be executed. When the<br />

Background Task scans the Math worksheet, IWS will execute the worksheet.<br />

3. Reset the tag in the last line of the Math worksheet (write the value 0 to the auxiliary tag).<br />

As a result, the Background Task will not execute the Math worksheet in the next scan unless the<br />

auxiliary tag is set to the value 1 again.<br />

<strong>InduSoft</strong> Web Studio Page 29

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!