C&H Technologies EM405-8 Manual - page 12
6
Arguments of the list command are optional. If no arguments are provided, all scripts will be
listed without details. Use the
–l
option to show the details of the scripts. Details include the
file size, date, the system/user designation and a run/idle status indication. The
–r
option shows
only those scripts that are currently running. Both options may be included in a single
list
command. If the optional
[script]
argument is passed only scripts of the specified name will
be listed.
In the output of the
list
command, each script listing is terminated with a “new line” character
(‘\n’ or 0xA). The entire list is terminated with a carriage return (‘\r’ or 0xD).
2.1.5 Read
The
read
command will return the source code of the specified script via the interface from
which the command was sent. For example, if in the scripting socket interface you type
read
myscript.lua
the source code of
myscript.lua
will appear in the terminal window. If you
send the same command via the VXI-11 interface, the next VXI-11 read will return the source
code of the script. Note that the VXI-11 interface has a 16 kilobyte limit therefore any script
greater than 16 kilobytes will not be returned properly. An alternative to the
read
command is
the
retrieve
command detailed in section 2.1.7.
read