14
•
Quit
However, all commands will function at runtime.
(b) When using the Msg command to create modeless dialogs or the Sleep command for waiting, do
not stop
ADAMView
when the modeless dialog is still active or the Sleep command is still working.
(c) Be careful when programming the script to avoid an infinite loop.
Limitations
(a) Strings are limited in length to 32764 characters.
(b) The data area that holds public variables is limited to 16 KB.
(c) The size of source code script is limited to 65534 characters.
(d) Arrays can have up to 60 dimensions.
(e) Variable names are limited to 80 characters.
(f) Labels are limited to 80 characters.
(g) The number of open DDE channels is not fixed; rather, it is limited only by available memory and
system resources.
(h) The number of open files is limited to 512 or the operating system limit.
(i) The size of an array cannot exceed 32 KB.
(2) The Tags Created by
ADAMView
are the Following:
Block
Tag name
Data type
Channel count
Analog Input
TASK1/AI1
Floating point
32
Analog Output
TASK1/AO1
Floating point
1
Digital Input
TASK1/DI1
Integer
1
Digital Output
TASK1/DO1
Long
1
Temperature
TASK1/TMP1
Floating point
1
Hardware Counter
TASK1/CTFQ1
Floating point
1
Hardware Alarm
TASK1/ALM1
Long
1
RS-232
TASK1/SER1
String
8
Input File
TASK1/INF1
Floating point
1
Alarm Log
TASK1/ALOG1
Long
1
Ramp
TASK1/RMP1
Floating point
1
Moving Average
TASK1/AVG1
Floating point
1
Single Calculation
TASK1/SOC1
Floating point
1
Timer
TASK1/ET1
Long
1
Time Stamp
TASK1/TS1
String
1
Counter
TASK1/CNT1
Long
1
On/Off Control
TASK1/ONF1
Integer
1
PID Control
TASK1/PID1
Floating point
1
DDE Client
TASK1/DDEC1
String
1
Conditional Sound
TASK1/SOUND1
Long
1
Beep
TASK1/SP1
Long
1
Button Control
DISP1/BBTN1
Long
1
Knob Control
DISP1/KNOB1
Floating point
1
Numeric Control
DISP1/NCTL1
Floating point
1
Slider Control
DISP1/SPIN1
Floating point
1
Ameter Display
DISP1/METER1
Floating point
1
Bar Display
DISP1/BAR1
Floating point
1
Indicator Display
DISP1/INDI1
Long
1
Drawing Display
DISP1/CELL1
Long
1
Conditional Button
DISP1/CBTN11
Long
1
Conditional Bitmap
DISP1/BMP1
Long
1
Conditional Text
DISP1/CTXT
String
1
Historical Trend
DISP1/HIST1
Floating point
8
Virtual Tags
VIRTASK/V1
Floating point
1