Next: 8. Scene messages
Up: 7. Application messages
Previous: 7.4 Application level queries
Contents
Index
7.5 The 'stats' and 'debug' nodes
The application level provides two static nodes - stats and debug, available at /ITL/stats and /ITL/debug to help debugging communication and INScore scripts design.
- get gives the count of handled messages at OSC and UDP levels: the UDP count indicates the count of messages received from the network, the OSC count includes the UDP count and the messages received internally.
- reset resets the counters to zero. Note that querying the stats node increments at least the OSC the counter.
EXAMPLE
Answer to a get message addressed to /ITL/stats
The debug node is used to activate debugging information.
- switch the debug mode ON or OFF. The parameter is interpreted as a boolean value. When in debug mode, INScore sends verbose messages to the OSC error port for every message that can't be correctly handled. Debugging is ON by default.
EXAMPLE
Error messages generated on error port in debug mode:
error: incorrect OSC address: /ITL/stat
error: incorrect parameters: /ITL/scene/foo unknown 0.1
error: incorrect parameters: /ITL/scene/foo x "incorrectType"
|
Next: 8. Scene messages
Up: 7. Application messages
Previous: 7.4 Application level queries
Contents
Index
Grame - INScore project