PSI sics-cvs-psi_pre-ansto
This commit is contained in:
22
doc/programmer/drive.tex
Normal file
22
doc/programmer/drive.tex
Normal file
@@ -0,0 +1,22 @@
|
||||
\subsection{The Drive and Run Command}
|
||||
This command implements driving of real motors or virtual motors (variables
|
||||
which control multiple motors). The drive command has no associated data
|
||||
structure going with it. There are just a few function:
|
||||
\begin{description}
|
||||
\item[int Drive(SConnection *pCon,SicsInterp *pSics, char *name, float
|
||||
fNew)] drives motor name to fNew and waits for the motor to finish. Possible
|
||||
errors will be written to the connection object pCon.
|
||||
\item[int Start2Run(SConnection *pCon, SicsInterp *pSics, char *name, float
|
||||
fNew)] starts the motor name to run to fNew. This
|
||||
function will NOT wait for the motor to get there. In spite of this,
|
||||
possible errors will be printed to the connection object pCon.
|
||||
\item[int DriveWrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[])] the object wrapper
|
||||
function for the drive command.
|
||||
\item[int RunWrapper(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[])] the object wrapper
|
||||
function for the run command.
|
||||
\item[int MakeDrive(SConnection *pCon, SicsInterp *pSics, void *pData,
|
||||
int argc, char *argv[])]
|
||||
The factory command which installs the drive and run commands into SICS.
|
||||
\end{description}
|
||||
Reference in New Issue
Block a user