XPRDgetstatus
XPRDgetstatus |
Purpose
Synopsis
int XPRDgetstatus(XPRDmodel model);
Argument
model
|
Reference to a model
|
Return value
Model status. Possible values are:
XPRD_RT_OK
|
|
XPRD_RT_ERROR
|
|
XPRD_RT_MATHERR
|
|
XPRD_RT_I/OERR
|
|
XPRD_RT_STOP
|
|
XPRD_RT_FDCLOSED
|
|
XPRD_RT_RUNNING
|
Further information
When the status is
XPRD_RT_FDCLOSED, the model is no longer usable and the only possible operation is
XPRDunloadmod or
XPRDdisconnect that must be called in order to release local resources used by the model.