DADiSP Worksheet Functions > Function Categories > Debugging > MONITOR
Invokes the command and message monitor.
MONITOR("logfile")
"logfile" |
- |
Optional. A string, the name of the logfile to save messages. Defaults to "logfile.txt". |
Nothing, the command and message monitor is activated.
monitor
W1: rand(10)
W2: integ(w1)
The monitor is displayed. Status line messages are echoed in the monitor's message area and also written to the logfile "logfile.txt" in the DADiSP document folder. Commands can be invoked in the monitor's command prompt and resulting values are displayed in the monitor.
The monitor is convenient for keeping track of status line messages. These messages are preserved in the monitor's scrollable list. The messages are also written to the logfile.
The default logfile name is "logfile.txt" and is saved in the DADiSP documents folder, e.g.
\Documents and Settings\username\My Documents\DADiSP\logfile.txt
where username resolves to the login name of the current user.
Set "logfie" to "" (empty string) to prevent the creation and writing of messages to a logfile.
Series resulting from commands issued in the monitor are displayed as a text table.