Skip to main content
InSource Solutions

Suitelink Suspend and Resume errors causing data delays during runtime.

InSource_Logo_Transparent.png

Description

 

This article from InSource shows how to change a Condition Script from synchronous to asynchronous to prevent data issues during Runtime.

  • Author: Ernest Lee
  • Published: 12/19/2017
  • Applies to: InTouch v9 and higher

Details

A typical Condition Script can either run synchronously or asynchronously. 

Explanation of both:

 

  • When a synchronous script runs, all InTouch animation and tag value updating stops. Then, animation and tag value updating resumes after the script stops.
  • When an asynchronous script runs, all InTouch animation and tag value updating continues during the period when the script runs.

Per information above a synchronous script can slow down communication depending on how often it is running. 

The script below is synchronous

PlaySound("c:\welcome.wav",0);

Replacing the 0 with a 1 forces the script to run asynchronously which does not affect InTouch animation or tag value updates.

PlaySound("c:\welcome.wav",1);