DATA SOFTWARE
Commands
LOAD(varx,vary,varz....);
VAR(varnamel,value,type);
FILE(cmd,var,stream);
CALC(destvar,soucevar,value,method);
RUN(funcname);
FUNC(funcname);
IF(varx ~ vary ? fnc_true : fnc_false);
CASE - method
Update
information is provided at
the end of each command section |
These commands
relate to background data handling and manipulation.
Since every entity name, type, position and function are stored in the
internal entity list, it is possible to 'overload' the functionality of LOAD
and CALC so reducing the number and complexity of
their functional requirements.
CALC operates with maths and trig, text and buffer manipulation, checksums
and simple file data.
The FILE command allows SD card read and write for data logging, photo frame
and other data transfer functions. The MCBK37 adaptor allows the FILE
command to work with a USB memory stick
Examples:
VAR(varSTX,2,U8);
VAR(varETX,3,U8);
//create and initialise data variables
LOAD(RS2, varSTX, var_addr_ptr,
",", var_func,
send_value, "\\0D",
varETX);
LOAD(menu_title,"AMEND
PROCESS");;
//refresh text on current or other page
IF(var_addr="\\C4"?fncprocess);
//test if var_addr= C4 hex. if true run
fncprocess
FUNC(fncprocess) {LOAD(txt_test_line,recv_value);;}
//create function fncprocess
|