Skip to content
Snippets Groups Projects
Commit 9a451cbc authored by ABEILLE Gwenaelle's avatar ABEILLE Gwenaelle
Browse files

minor changes

parent 84442aa3
No related branches found
No related tags found
No related merge requests found
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/ADLINK/ContinuousAO/src/ContinuousAO.cpp,v 1.1.1.1 2004-12-06 10:20:44 syldup Exp $";
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/ADLINK/ContinuousAO/src/ContinuousAO.cpp,v 1.2 2004-12-09 16:40:28 abeilleg Exp $";
//+=============================================================================
//
// file : ContinuousAO.cpp
......@@ -11,11 +11,14 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/InputOutput/AD
//
// project : TANGO Device Server
//
// $Author: syldup $
// $Author: abeilleg $
//
// $Revision: 1.1.1.1 $
// $Revision: 1.2 $
//
// $Log: not supported by cvs2svn $
// Revision 1.1.1.1 2004/12/06 10:20:44 syldup
// initial import
//
//
// copyleft : Synchrotron SOLEIL
// L'Orme des Merisiers
......@@ -506,7 +509,7 @@ void ContinuousAO::init_device()
DEBUG_STREAM<<"ContinuousAO::init_device : init acq"<<std::endl;
_ASL_TRY_ACTION
(
ao->init(adl::DAQ2502, 0),
ao->init(adl::DAQ2502, boardNum),
"init",
"ContinuousAO::init_device",
this->set_internal_state()
......@@ -622,7 +625,7 @@ void ContinuousAO::get_device_property()
if (data[0].is_empty()==false)
{
unsigned short bnum;
data[1] >> bnum;
data[0] >> bnum;
//check value
if(bnum<0 || bnum>= 7)//num max of boards in chassis
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment