![NANOTEC PD4-C5918M4204-E-01 Manual Download Page 81](http://html1.mh-extra.com/html/nanotec/pd4-c5918m4204-e-01/pd4-c5918m4204-e-01_manual_3241520081.webp)
Manual PD4-C (USB)
11 Programming with NanoJ
Version: 1.4.1 / 22.07.2016 / FIR-v1626
81
11.6.4 Debug output
The following functions output a value in the debug console. They differ only in the data type of the
parameter being output.
•
bool VmmDebugOutputString(const char *outstring)
•
bool VmmDebugOutputInt(const U32 val)
•
bool VmmDebugOutputByte(const U08 val)
•
bool VmmDebugOutputHalfWord(const U16 val)
•
bool VmmDebugOutputWord(const U32 val)
•
bool VmmDebugOutputFloat(const float val)
Note
The debug outputs are first written to a separate area of the object dictionary and are read out from
there by the web interface. This object dictionary entry has the index 2600
h
and is 64 characters long.
The sub-index 0 always contains the number of characters already written.
If the buffer is full,
VmmDebugOutputxxx()
initially fails; execution of the user program is discontinued
and it stops at the location of the debug output. The program is not resumed until the web interface has
read out the buffer and reset the sub-index 0;
VmmDebugOutputxxx()
returns to the user program.
Debug outputs therefore may only be used during the test phase in the development of a user
program.