Subversion Repositories f9daq

Rev

Blame | Last modification | View Log | RSS feed

#ifndef usmcctrl_h
#define usmcctrl_h

#define MAXNODES 4
USMC_Devices devices;
USMC_StartParameters parstart[MAXNODES];
USMC_Parameters      parameters[MAXNODES];
USMC_State parstate[MAXNODES];
USMC_EncoderState parencstate[MAXNODES];

int usmc_Set_Parameters(int Dev, int mode);
int usmc_Init(int node, int mode);
int usmc_Move(int node, int pos,  BOOL absrel);
void usmc_PowerOnOff ( int cur_dev, int smpower );
int usmc_RelMove(int node, int pos);
int usmc_MoveTo(int node, int pos);
int Revert_Start_Position_to_0(int node);
int usmc_Reset(int node, int mode);
int usmc_ReferenceMove(int node, int mode);
#endif