Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

UDT script limitations

  • Last UpdatedJul 03, 2026
  • 1 minute read

The Web Client does not support the default parameters in UDT script methods. You must explicitly pass all parameters when calling the method, even if default values are defined.

Example

If the the UDT script is as below:

public float GetWeatherCSharp(float latitude = 0, float longitude = 0)

{

InTouch.me.Latitude = latitude;

InTouch.me.Longitude = longitude;

return (float)Math.Round(2.5, 2);

}

UDT script limitations example

The above UDT script is called in the Graphic Editor script as below:

On Show Script

dim locX as float;

dim locY as float;

locX = -36.8485;

locY = 174.7633;

Supported

Weather1.GetWeatherCSharp(locX, locY);

Not supported

Weather1.GetWeatherCSharp();

Related Links