Microtronics myDatalogEASY IoTmini User Manual page 144

Table of Contents

Advertisement

12.3.14 Console
native print(const string[]);
Prints the specified string to the standard output
Parameter
string
Return value
native printf(const format[], {Float,Fixed,_}:...);
Prints the transferred format string to the standard output. The mode of operation of the functions
corresponds to that of the standard ANSI-C implementation.
Parameter
format[]
Return value
native setbuf(buf{}, size);
Provides the firmware with a buffer from the RAM area reserved for the script that is used to output
strings via the "printf()" function. When this function is called up, the system switches from the 256 byte
buffer integrated in the firmware to the transferred buffer.
Parameter
buf
size
Return value
144
The character string to be issued. This can include escape sequences.
OK
The format character string to be used
Number of printed characters
l
ERROR, if not successful
l
Static byte array that should be used as a buffer to output strings
Size of the buffer in bytes
Note: If the function is called up again and the size is set to "0" during the
process, then the system switches back to the integrated buffer (256 bytes). The
transferred static byte array can then be used by the script again.
OK, if successful
l
ERROR, if not successful
l
Explanation
Explanation
Explanation
Explanation
Explanation
Explanation
Rev. 01

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the myDatalogEASY IoTmini and is the answer not in the manual?

Table of Contents