![background image](http://html1.mh-extra.com/html/advantech/ubiq/ubiq_user-manual_2856809064.webp)
UbiQ Scenario Manager User Manual
58
5.1
Summary Tables
The following table summaries the global variables and functions that belong to the
Smart-C Script language. Global variables and functions are grouped by tasks you
might wish to perform.
Global Variables:
Name
Description
TRUE
Its value is 1
FALSE
Its value is 0
FILE_READ
Be used by the open function
FILE_RDWR
Be used by the open function
FILE_CREATE_NEW
Be used by the open function
FILE_CREATE_RW
Be used by the open function
SEEK_BEGIN
Be used by the seek function
SEEK_END
Be used by the seek function
SEEK_CURRENT
Be used by the seek function
g_nVar1
Global variable, its type is int, initialized to 0, can be used in your
programs
g_nVar2
Global variable, its type is int, initialized to 0, can be used in your
programs
g_nVar3
Global variable, its type is int, initialized to 0, can be used in your
programs
g_nVar4
Global variable, its type is int, initialized to 0, can be used in your
programs
g_nVar5
Global variable, its type is int, initialized to 0, can be used in your
programs
g_fVar1
Global variable, its type is double, initialized to 0, can be used in
your programs
g_fVar2
Global variable, its type is double, initialized to 0, can be used in
your programs
g_sVar1
Global variable, its type is string, initialized to °×°±, can be used in
your programs
g_sVar2
Global variable, its type is string, initialized to °×°±, can be used in
your programs
g_bConfig
Global variable, its type is integer, and set to 1 when entering the
configuration mode
g_ConfigPage
Global variable, its type is integer, and set to total configuration
pages on the configuration mode
g_CurPage
Global variable, its type is integer, and set to current configuration
page on the configuration mode
CLOCK_SHOW_ID
Be used by the LoadBMP function
CLOCK_UNSHOW_ID
Be used by the LoadBMP function
SCREEN_REDRAW_ID Be used by the LoadBMP function
g_nComTimeout
Global variable, its type is integer.
g_nCurIndex
Global variable, its type is integer. It specifies the current index on
the configuration mode
g_nPortID
Global variable, its type is integer.
g_nRS485ID
Global variable, its type is integer.
g_nRS485ID2
Global variable, its type is integer.
g_nRS485ID3
Global variable, its type is integer.
g_nRS485ID4
Global variable, its type is integer.
Summary of Contents for UbiQ
Page 1: ...User Manual UbiQ Scenario Manager User Manual V1 03...
Page 4: ...UbiQ Scenario Manager User Manual iv...
Page 7: ...Chapter 1 1 Introduction...
Page 13: ...Chapter 2 2 Getting Started...
Page 37: ...Chapter 3 3 Tutorials...
Page 47: ...Chapter 4 4 Basic of Smart C Script Language...
Page 62: ...UbiQ Scenario Manager User Manual 56...