Macro Language: Document Commands
new
close
open <filename>
save
saveas <filename>
savepng <filename> [dpi]
savejpg <filename> [dpi]
savepdf <filename>
saveeps <filename>
printdoc
import <filename> <mode> [separator] [xcol] [noxcol] [comment] [ignore] [comment sequence] [only number lines] [time format] [comma separator] [period separator]
<mode>
: Import mode (0=multicolumn, 1=error values).
[separator]
: Defines the field separator for ASCII import.
[xcol]
: Defines the X column starting with 1 as the first column.
[noxcol]
: If true all columns will be interpreted as Y values and the X values will be generated as sequence number.
[comment]
: Overwrites the default comment for the imported buffers.
[ignore]
: Lines containing this string will be ignored.
[comment sequence]
: Anything in a line behind this sequence will be ignored for import.
[only number lines]
: If true import ignores all lines which not begin with a number.
[time format]
: custom time format for x column import.
[comma separator]
: If true treat comma as field separator
[period separator]
: If true treat period as field separator.
binaryimport <filename> <type> <mode> <swap> <columns> [comment]
<type>
: Defines the data type (0=double (64bit), 1=float (32bit), 2=integer (32 bit), 3=integer (16 bit)).
<mode>
: Defines the import mode (0=column mode, 1=block mode).
<swap>
: Enables or disables byte order swapping.
<columns>
: The number of columns to import.
mysqlimport <host> <db> <user> <password> <port> <sql>
perlimport <filename> [name]
name
is given the inline Perl block will be used. This is a block in your macro starting with a line containing PERL
and ending with a line containing PERL
. The default timeout for Perl scripts is 10 seconds. After this time the Perl job will be killed to prevent never come back jobs. You can set the timeout individual with the perltimout <sec>
macro command.
perlfilter <BUFFER> [name]
name
is given the inline Perl block will be used. This is a block in your macro starting with a line containing PERL
and ending with a line containing PERL
. The default timeout for Perl scripts is 10 seconds. After this time the Perl job will be killed to prevent never come back jobs. You can set the timeout individual with the perltimout <sec>
macro command
epicsimport <pv1> [pv2]
epictimeout <sec>
epicsmaxarray <bytes>
epicsaddrlist <address list>
epicssetvar <var> <pv>
export <file> <BUFFER>
subview <width> <height> <x> <y>
sizeview <width> <height> <x> <y>
changeview <subview number>
deleteview <subview number | all>