srvr_runHasBegun
Synopsis
#include "runnum.h"
int srvr_runHasBegun( void );
void srvr_BeginRun( unsigned short runnum, run_params *rp );
Description
Each instrument's command server needs to supply these two
functions. They are closely related to the functions defined
in status.h except these don't take arguments. It is the
responsibility of these functions to call the ones in status.h
with the appropriate [instrument-specific] arguments.
srvr_BeginRun() receives a copy of the run_params structure,
allowing it to take arbitrary action based on the contents.
At present, this structure does not include the run type
(Kinetics, ProductStudy, etc.), but that information probably
should be embedded in the specified algorithm code.
Returns
srvr_runHasBegun() returns non-zero if a run is current
executing. srvr_BeginRun() returns void.
See Also
HPF Command Server Routines.Source File
/usr/local/src/nortlib/runwrite.c
Alphabetical List
Subject List
Return to Manuals Page
webmaster@huarp.harvard.edu
Copyright 2001 by the President and Fellows of
Harvard College