src/libYARP_dev/galil/qnx6/yarp/YARPGalilDeviceDriver.cpp
int
YARPGalilDeviceDriver::set_dr(void * value)
{
	int rc = 0;
	int * _value = (int *) value;

	char *buff = m_buffer_out;

	buff = _append_cmd("DR",buff);
	buff = _append_cmd(itoa((int)(* _value),m_aux_buffer,10),
					   buff);
	buff = _append_cmd('\0', buff);

	rc = DMCCommand((HANDLEDMC) m_handle,
					m_buffer_out,
					m_buffer_in, 
					buff_length);
	return rc;
}
//--------------------------------------------------------------------------------------
//       Class:  YARPGalilDeviceDriver
//      Method:  set_dr
// Description:  The DR command is necessary to activate the secondary communications
// 				 channel in the galil device driver. The parameter accepted controls
// 				 the frequency used to update the information in the secondary buffer.
// 				 The ascii version is used because no binary version exist
//--------------------------------------------------------------------------------------
YARPGalilDeviceDriver
Method:  set_dr
Description:  The DR command is necessary to activate the secondary communications
channel in the galil device driver. The parameter accepted controls
the frequency used to update the information in the secondary buffer.
The ascii version is used because no binary version exist
YARPGalilDeviceDriver Method : set_dr Description : The DR command is necessary to activate the secondary communications channel in the galil device driver . The parameter accepted controls the frequency used to update the information in the secondary buffer . The ascii version is used because no binary version exist
int
YARPGalilDeviceDriver::set_dr(void * value)
{
	int rc = 0;
	int * _value = (int *) value;
	char *buff = m_buffer_out;
	buff = _append_cmd("DR",buff);
	buff = _append_cmd(itoa((int)(* _value),m_aux_buffer,10),
					   buff);
	buff = _append_cmd('\0', buff);
	rc = DMCCommand((HANDLEDMC) m_handle,
					m_buffer_out,
					m_buffer_in, 
					buff_length);
	return rc;
}
int YARPGalilDeviceDriver :: set_dr ( void * value ) { int rc = 0 ; int * _value = ( int * ) value ; char * buff = m_buffer_out ; buff = _append_cmd ( " " , buff ) ; buff = _append_cmd ( itoa ( ( int ) ( * _value ) , m_aux_buffer , 10 ) , buff ) ; buff = _append_cmd ( ' \0 ' , buff ) ; rc = DMCCommand ( ( HANDLEDMC ) m_handle , m_buffer_out , m_buffer_in , buff_length ) ; return rc ; }
Class:  YARPGalilDeviceDriver
Method:  set_dr
Description:  The DR command is necessary to activate the secondary communications
channel in the galil device driver.
Class : YARPGalilDeviceDriver Method : set_dr Description : The DR command is necessary to activate the secondary communications channel in the galil device driver .