13
1.
5
Limitations and Restrictions
ADAMView 4.25
includes the following information about usage and limitations of the software to
help
users use
ADAMView
correctly.
(1) Basic Script Programming
Notice
(a) In the debug environment for the Main Script, Pre/post-task Script or Basic Script block, the
following commands are disabled:
•
ScanTask.start
•
ScanTask.stop
•
ScanTask.SingleScan
•
ScanTask.GetStatus
•
OutputI
•
OutputL
•
OutputF
•
OutputS
•
Display
Category
Task
Description
ScanTask
Start/stop
a task
* To start/stop a task by Script, the task's starting
method must be Inactive in Task Property
*In Basic Script block or Pre/Post-task Script, it cannot
start or stop the task by itself.
* The possible task names passed into GetScanTask
("task name") command refer to "the tags created by
ADAMView
".
Tag
Retrieve/
set value
to or from
Data
Center
* To retrieve/set values of tags in the Data Center via
Basic Script. Make sure that the data type is correct.
Refer to the Data Center for data types of tags. The
user can also use Variant type in the Script to retrieve
or set values of tags.
* If the channel count of the specified tag is greater
than 1, the user needs to use the Tag.Array[n]
command to retrieve/set a value for channel n. Make
sure n does not exceed the maximum number of
channels. If using the Tag.Value command to
retrieve/set a value, it will be the channel 0.
* The possible tag names refer to "the tags created by
ADAMView
".
Output
commands
in Basic
Script
block
Output
value in
Basic
Script to
another
block
* Don't use these commands in main script or pre/post-
task script. It is only for a Basic Script block. * Select
the correct command to output the value. For example,
if you need to output a string, select OutputS command
and pass a string type parameter.
Quit(0)
command
Stops the
overall
system
* new command