beautypg.com

Humid – Visara Master Console Center Scripting Guide User Manual

Page 129

background image

Chapter 5 Script Commands

Scripting Guide

129

HUMID

Syntax:

HUMID( %Port) ==> %Humidity

Description:

Reads the current humidity from a sensor unit.

Action:

The humidity value is read from the sensor unit connected to the

specified port.

Parameters:

%Port. Numeric expression. The assigned sensor port number to
which the sensor is connected. Refer to Ports on page 24 for further

information.

Returns:

Numeric value. The current humidity reading.

Notes:

This command is not commonly used.

Example:

%Hum := HUMID( 2)
LOG( LOG_EXEC, ”HUMIDITY 2 = ” + STR( %Hum))

See Also:

TEMP