getstatus
getstatus |
Purpose
Synopsis
function getstatus(mo:Model):integer
function getstatus(mi:Mosel):integer
Argument
mo
|
A model
|
Return value
The status of a Mosel instance is
0 if it is connected, any other value indicates that it is not ready. The model status can be:
RT_NOTINIT
|
Model has not been initialized or has been unloaded
|
RT_RUNNING
|
Model is running
|
RT_OK
|
Model is ready for execution and/or no error occurred during last execution
|
RT_MATHERR
|
A mathematical error occurred
|
RT_ERROR
|
A runtime error occurred
|
RT_IOERR
|
An IO error occurred
|
RT_NULL
|
A NULL reference error occurred
|
RT_LICERR
|
Execution could not start because no license was available
|
RT_FDCLOSED
|
Execution on a separate instance has been interrupted
|
RT_DETACHED
|
Execution on a separate instance continues although the instance has been disconnected (see
detach)
|
RT_STOP
|
Execution has been interrupted by a call to
stop
|
Related topics
Module