src/experiments/k4/K4ClientPIC/ClientPIC.cpp
void CClientPIC::initialize(char *isd_name, char *ini_filename)
{
  //connect to daemon
  this->pid = qnx_name_locate(0, isd_name, 0, NULL); 
  //ask daemon for the number of motors
  D_GetNumMotors();
  //read configuration file: gains and limits_max/min
  ReadConfig(ini_filename);
  //reset calibrated flags
  ResetCalibrated();
  
}
//to be used if controls want to move motors
/* this function takes 2 inputs: PIC Daemon's qnx process name and 
   configuration filename */
to be used if controls want to move motors
this function takes 2 inputs: PIC Daemon's qnx process name and
configuration filename
to be used if controls want to move motors this function takes 2 inputs : PIC Daemon ' s qnx process name and configuration filename
void CClientPIC::initialize(char *isd_name, char *ini_filename)
{
  this->pid = qnx_name_locate(0, isd_name, 0, NULL); 
  D_GetNumMotors();
  ReadConfig(ini_filename);
  ResetCalibrated();
}
void CClientPIC :: initialize ( char * isd_name , char * ini_filename ) { this -> pid = qnx_name_locate ( 0 , isd_name , 0 , NULL ) ; D_GetNumMotors ( ) ; ReadConfig ( ini_filename ) ; ResetCalibrated ( ) ; }
to be used if controls want to move motors
this function takes 2 inputs: PIC Daemon's qnx process name and
configuration filename
to be used if controls want to move motors this function takes 2 inputs : PIC Daemon ' s qnx process name and configuration filename
//connect to daemon //ask daemon for the number of motors //read configuration file: gains and limits_max/min //reset calibrated flags