The main xml tag that holds all devices and scripts. It requires either all or none of the following attributes. Including no attributes will result in the profile executing once.
An xml tag to configure an email account.
Configures a serial device or tcp device connection.
A set of commands that run as a single piece of code. You can place scripts in external files within a profile directory and include them in the profile using the Import command (see below).
A script named "main" is required for the profile to execute. It is called everytime the profile iterates. The Run command below can be used to call other scripts from within the "main" script.
The variable configuration xml file contains all profile variables. It must be named config.xml to be used with the Data Interface. It can be loaded and saved using the LoadVars and SaveVars commands found below.
Checks a directory or file path and stores True or False in a profile variable.
Creates a file.
Creates a directory.
Deletes a file.
Deletes a directory.
Renames a file.
Copies a file.
Appends the contents of a file to another file.
File operations. (DEPRECATED. Use only in legacy systems.)
The folllowing attributes can be used in any of the commands
Most attributes allow for profile variables and ascii codes to be included in the arguments. Use square braces [ ] for variables and curly braces { } for ascii codes.
Breaks out of the inner-most loop of the executing script
Attempts to connect to a device. Sets variable to True if connection is successful, False otherwise.
Closes the serial device connection to a device
Connects to the device and collects data based on the following attributes.
To collect 8 characters (e.g. "ABCDEFGH") from the device:
Send a message to a specific email address
Gets the elapsed time since the profile has started.
Allows different sets of commands to be executed based on a condition
Includes a Command Script stored in an external file in the profile. The file can be located anywhere within the current profile's directory
Evaluates a line of Javascript code and saves the result to a variable. For bitwise operations, use BWAND, BWOR, XNOR, NOR, LS (left shift), RS (right shift), ZFRS (zero-fill right shift).
Stops profile execution.
Loads variables from an xml or text file
Logs a string to the profile's log file. Ascii codes wrapped in { } and variables wrapped in [ ] will be substituted.
Evaluates a math expression and saves the result to a variable. Use Js instead.
Executes a set of commands wihle continuing profile execution. Caution: Switching Devices during a MultiTask command in a profile that uses device connections outside of the MultiTask command can result in the incorrect device being used.
Parses a hex string into a list of variables or a list of variables into a hex string
Pauses profile execution for a specified ammount of time.
Iterates over all lines in a file and runs a set of commands.
Executes a file or additional script in the profile
Saves the current state of all profile variables to a file
Extends the collect class to include the ability to send a string to the device before collecting data
Sends a file to a remote server via FTP using an ip address or hostname
Sets the value of a variable
Sets the current device to be used for data transmission
Calculates the size of a variables contents and stores the result in another variable.
Executes different sets of commands based on the value of a variable
Checks if a variable can be parsed into certain data type and stores True or False in another variable
Executes a set of commands while a condition is true
Creates a file if it doesn't exist and appends a string to the end of it