System – CUE Design Director Script Language User Manual

Page 92

Advertising
background image

Reference Manual Design Director Script Language

www.cuesystem.com

Page 92 of 94

3.3.3.

System

The system object – i.e. low level information.

Property

Type

Description

Day

uint

The current date – day

Hardware

uint

The hardware code i.e. it is a number unambiguously defining
what hardware it is. The property is to read only.

HardwareVersion uint

Hardware version number. The property is to read only.

Hour

uint

Current time – hours.

Minute

uint

Current date – month.

Panel

PanelObject

Currently running touch panel. The property is to read only, the
object content can be changed.

Second

uint

Current time – seconds.

StackFree

uint

Current free space in a stack. The property is to read only.

StackSize

uint

Current space reserved for a stack. The property is to read only.

SubVersion

uint

The number of the sub version of the software of the virtual
world. The property is to read only.

Version

uint

The number of the version of the software version of the virtual
world. The property is to read only.

Year

uint

Current date – year

Method

Parameters

Description

ButtonPress

ParamByVal Code uint

It sends information to the control unit about the button press with
the value of the ButtonCode property equal to value of Code
parameter.

ButtonRelease

ParamByVal Code uint

It sends information to the control uint about the button realease
with the value of the ButtonCode property equal to value of Code
parameter.

Exit

It exits the entire software work of the virtual world of touch
panels. The function works only at some hardware. Somewhere
else it would generate an error.

GetVar

ParamByVal Nbr uint
Param Value uint

The method returns to Value parameter the actual value of the
the current system variable number - nbr. If nbr is higher that the
current number of the system variables then an error will be
generated.

GetVar$

ParamByVal Nbr uint
Param Value string

The method returns to Value parameter the current string values
stored in the system variables from nbr variable number. If nbr is
higher than the current number of the system variables, or the
stored string does not correspond to string convention (Pascal
string), then an error will be generated.

SetVar

ParamByVal Nbr uint
ParamByVal Value uint

The method sets the system variable nbr to Value value. If nbr is
higher than the current number of the system variables, then an
error will be generated.

SetVar$

ParamByVal Nbr uint
ParamByVal Value string

The method sets the system variables from number nbr to Value
string value. If nbr is higher than the the current number of the
system variables, or if the stored string does not correspond to
string convetion (Pascal string), then an error will be generated.

GetRemoteVar

ParamByVal Nbr uint

This method ensures loading of the remote system variable
number nbr to system variable.

SetRemoteVar

ParamByVal Nbr uint
ParamByVal Value uint

The method sets the remote system variable number nbr to
Value value.

Advertising