Commands vrs. Scripts

There are two main methods to operate the Avisaro 2.0 product:

The Command Interface (Mehr more) allows to send commands from an external unit. This unit is typically a SPS control or a micro controller. Most commands can be send in an easy to read ASCII or compact binary format. Commands exists to ...
tl_files/dynamic_dropdown/images/hover.gifRead and write data on SD cards
tl_files/dynamic_dropdown/images/hover.gifEstablish connections and share data through WLAN and LAN

tl_files/dynamic_dropdown/images/hover.gifConfigure the product and check status

The Scripting Engine (Mehr more) allows to have the Avisaro 2.0 product perform functions on a self sustained basis. The engine is designed to perform small tasks rather than large scale applications. Scripts are stored in internal flash and executed upon power up. Structures exists to ...
tl_files/dynamic_dropdown/images/hover.gifRead and write data on SD cards
tl_files/dynamic_dropdown/images/hover.gifEstablish connections and share data through WLAN and LAN
tl_files/dynamic_dropdown/images/hover.gifParse and reformat data
tl_files/dynamic_dropdown/images/hover.gifControl I/O ports, PWM and analog input

tl_files/dynamic_dropdown/images/hover.gifDo if-then-else, do-loops, for-next, gosub-return,.... structures

Decision matrix:

Application BASIC
Scripting
Command
Interface
Details
Send one datastream from A to B through WLAN

  Ready to use scripts are available. Connection handling is done by Avisaro, user simply sends data.
Send several parallel datastreams from A to B  

A SPS or micro controller sends or retrieves data to several server. Commands are send to control connections.
Store datastream into file

  Ready to use scripts are available. File handling is done by Avisaro, user simply sends data.
Poll sensor and store data into file

  Scripting is powerfull enough to poll a sensor through i.e. rs232, i2c, ..., than format data and store data into file. No aditional controller is needed.
High Speed Data  

For high performance applications, the "packet commands" in binary form is used.

Note:

Avisaro 2.0 "Box" and "Cube" products are shipped with pre-installed Scripts. Those Scripts can be changed to perform a different funciton or they can be disabled to use the command interface.

Avisaro 2.0 "Modules" are shipped with no Script installed.