Skip to content
Snippets Groups Projects
Commit 14b8d02d authored by Sebastien Leport's avatar Sebastien Leport
Browse files

one methode name has changed

parent 37add58a
Branches
Tags
No related merge requests found
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/SY900S_channel/src/SY900S_Channel.cpp,v 1.8 2007-07-16 09:33:39 sebleport Exp $";
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/SY900S_channel/src/SY900S_Channel.cpp,v 1.9 2007-07-16 09:56:36 sebleport Exp $";
//+=============================================================================
//
// file : SY900S_Channel.cpp
......@@ -13,9 +13,13 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentatio
//
// $Author: sebleport $
//
// $Revision: 1.8 $
// $Revision: 1.9 $
//
// $Log: not supported by cvs2svn $
// Revision 1.8 2007/07/16 09:33:39 sebleport
// ON state replaced by STANDBY state
// exception management improved
//
// Revision 1.7 2007/06/25 13:23:01 sebleport
// add LOG messages in get_device_properties()
//
......@@ -525,7 +529,7 @@ void SY900S_Channel::write_targetVoltage(Tango::WAttribute &attr)
// create a SY900S_generic proxy
if(SY900S_generic_Proxy==0)
init_SY900S_generic_Proxy();
create_SY900S_generic_Proxy();
try
{
......@@ -551,15 +555,15 @@ void SY900S_Channel::write_targetVoltage(Tango::WAttribute &attr)
//+------------------------------------------------------------------
/**
* method: init_SY900S_generic_Proxy
* method: create_SY900S_generic_Proxy
*
* description: creates a DeviceProxyHelper
*
*/
//+------------------------------------------------------------------
void SY900S_Channel::init_SY900S_generic_Proxy()
void SY900S_Channel:: create_SY900S_generic_Proxy()
{
DEBUG_STREAM << "SY900S_Channel::init_SY900S_generic_Proxy(): entering... !" << endl;
DEBUG_STREAM << "SY900S_Channel::create_SY900S_generic_Proxy(): entering... !" << endl;
// Add your own code to control device here
// - Create proxy on Serial if not exits !!!
......@@ -592,7 +596,7 @@ void SY900S_Channel::write_targetVoltage(Tango::WAttribute &attr)
catch(std::bad_alloc&)
{
//this->init_device_done = false;
ERROR_STREAM << "SY900S_Channel::init_SY900S_generic_Proxy() : could not communicate with the Data Socket Device [out of memory]" << endl;
ERROR_STREAM << "SY900S_Channel::create_SY900S_generic_Proxy() : could not communicate with the Data Socket Device [out of memory]" << endl;
set_state(Tango::FAULT);
set_status("could not communicate with the Data Socket Device [out of memory]");
......
......@@ -8,9 +8,13 @@
//
// $Author: sebleport $
//
// $Revision: 1.4 $
// $Revision: 1.5 $
//
// $Log: not supported by cvs2svn $
// Revision 1.4 2007/07/16 09:33:39 sebleport
// ON state replaced by STANDBY state
// exception management improved
//
// Revision 1.3 2007/05/22 14:37:46 sebleport
// some command and attribute names have changed
//
......@@ -43,7 +47,7 @@
/**
* @author $Author: sebleport $
* @version $Revision: 1.4 $
* @version $Revision: 1.5 $
*/
// Add your own constants definitions here.
......@@ -259,7 +263,7 @@ protected :
std::string response, command;
//methodes
void init_SY900S_generic_Proxy();
void create_SY900S_generic_Proxy();
std::string command_generation(long group_num,std::string specific_command_part,
double preset,long channel_num,bool set);
std::string write_read(std::string command_to_send);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment