next up previous
Next: About this document ... Up: APS runControl Library Previous: Compiling

Library Reference

#include ``libruncontrol.h''

runControlInit

int runControlInit(char *pv, char *desc, float timeout, char *handle, RUNCONTROL_INFO *rcInfo, double pendIOtime);

Grab control of the specified EPICS runcontrol record, and load it with various application information, such as process-id, hostname, username, and start time. A specific record may be given via the pv argument, or NULL may be given and the next free runcontrol record will be found for you.

Returns:

runControlPing

int runControlPing(char *handle, RUNCONTROL_INFO *rcInfo);

Notifies runcontrol record that you application is still alive. Also provides a means for runcontrol record to suspend you, or request that you abort. The return codes from this call must be checked and acted on properly.

Returns:

runControlExit

int runControlExit(char *handle, RUNCONTROL_INFO *rcInfo);

Release control of the runcontrol record.

Returns:

runControlLogMessage

int runControlLogMessage(char *handle, char *message, short severity, RUNCONTROL_INFO *rcInfo);

Log a message and new alarm severity to the runcontrol record. The runcontrol record will enter given alarm state.

Returns:


next up previous
Next: About this document ... Up: APS runControl Library Previous: Compiling
Robert Soliday 2005-04-29