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

- read part of windowWidth and windowCenterPosition attributes added

parent 63f9b266
No related branches found
No related tags found
No related merge requests found
...@@ -11,20 +11,20 @@ ...@@ -11,20 +11,20 @@
<TR> <TR>
<TD ALIGN="left"> <TD ALIGN="left">
<A HREF="http://www.esrf.fr/" TARGET=new> <A HREF="http://www.esrf.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/gifs/logo/80.gif" BORDER=0></A> <IMG SRC="http://controle/icons/esrf_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.elettra.trieste.it/" TARGET=new> <A HREF="http://www.elettra.trieste.it/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/elettra_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/elettra_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.synchrotron-soleil.fr/" TARGET=new> <A HREF="http://www.synchrotron-soleil.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/soleil_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/soleil_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="right"> <TD ALIGN="right">
<A HREF="http://www.cells.es/" TARGET=new> <A HREF="http://www.cells.es/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/alba.jpg" BORDER=0></A> <IMG SRC="http://controle/icons/alba_logo.gif" BORDER=0></A>
</Td> </Td>
<Td> <Td>
<H2><FONT COLOR="#7F00FF"> <H2><FONT COLOR="#7F00FF">
...@@ -44,7 +44,7 @@ Device Attributes Description <Br> <Br> ...@@ -44,7 +44,7 @@ Device Attributes Description <Br> <Br>
CYBERSTARx1000 Class <Br> CYBERSTARx1000 Class <Br>
</h1> </h1>
<b> <b>
Revision: - Author: sebleport Revision: - Author: buteau
</b> </b>
</center> </center>
...@@ -84,11 +84,11 @@ Revision: - Author: sebleport ...@@ -84,11 +84,11 @@ Revision: - Author: sebleport
<Font Size=-1> <Font Size=-1>
<Tr><Td><b>windowWidth</b>: <Font Size=-1>the window width is defined as: dV = high threshold - low threshold. where high threshold = window center position + dV/2 and high threshold = window center position - dV/2</Font></Td> <Tr><Td><b>windowWidth</b>: <Font Size=-1>the window width is defined as: dV = high threshold - low threshold. where high threshold = window center position + dV/2 and high threshold = window center position - dV/2</Font></Td>
<Td><Center><Font Size=-1>DEV_DOUBLE</Font></Center></Td><Td><Center><Font Size=-1>WRITE</Font></Center></Td><Td><Center><Font Size=-1>No</Font></Center></Td></Tr> <Td><Center><Font Size=-1>DEV_DOUBLE</Font></Center></Td><Td><Center><Font Size=-1>READ_WRITE</Font></Center></Td><Td><Center><Font Size=-1>No</Font></Center></Td></Tr>
<Font Size=-1> <Font Size=-1>
<Tr><Td><b>windowCenterPosition</b>: <Font Size=-1>defines the center of the SCA voltage window</Font></Td> <Tr><Td><b>windowCenterPosition</b>: <Font Size=-1>defines the center of the SCA voltage window</Font></Td>
<Td><Center><Font Size=-1>DEV_DOUBLE</Font></Center></Td><Td><Center><Font Size=-1>WRITE</Font></Center></Td><Td><Center><Font Size=-1>No</Font></Center></Td></Tr> <Td><Center><Font Size=-1>DEV_DOUBLE</Font></Center></Td><Td><Center><Font Size=-1>READ_WRITE</Font></Center></Td><Td><Center><Font Size=-1>No</Font></Center></Td></Tr>
</Table> </Table>
</Center> </Center>
......
...@@ -10,20 +10,20 @@ ...@@ -10,20 +10,20 @@
<TR> <TR>
<TD ALIGN="left"> <TD ALIGN="left">
<A HREF="http://www.esrf.fr/" TARGET=new> <A HREF="http://www.esrf.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/gifs/logo/80.gif" BORDER=0></A> <IMG SRC="http://controle/icons/esrf_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.elettra.trieste.it/" TARGET=new> <A HREF="http://www.elettra.trieste.it/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/elettra_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/elettra_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.synchrotron-soleil.fr/" TARGET=new> <A HREF="http://www.synchrotron-soleil.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/soleil_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/soleil_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="right"> <TD ALIGN="right">
<A HREF="http://www.cells.es/" TARGET=new> <A HREF="http://www.cells.es/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/alba.jpg" BORDER=0></A> <IMG SRC="http://controle/icons/alba_logo.gif" BORDER=0></A>
</Td> </Td>
<Td> <Td>
<H2><FONT COLOR="#7F00FF"> <H2><FONT COLOR="#7F00FF">
......
...@@ -11,20 +11,20 @@ ...@@ -11,20 +11,20 @@
<TR> <TR>
<TD ALIGN="left"> <TD ALIGN="left">
<A HREF="http://www.esrf.fr/" TARGET=new> <A HREF="http://www.esrf.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/gifs/logo/80.gif" BORDER=0></A> <IMG SRC="http://controle/icons/esrf_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.elettra.trieste.it/" TARGET=new> <A HREF="http://www.elettra.trieste.it/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/elettra_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/elettra_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.synchrotron-soleil.fr/" TARGET=new> <A HREF="http://www.synchrotron-soleil.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/soleil_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/soleil_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="right"> <TD ALIGN="right">
<A HREF="http://www.cells.es/" TARGET=new> <A HREF="http://www.cells.es/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/alba.jpg" BORDER=0></A> <IMG SRC="http://controle/icons/alba_logo.gif" BORDER=0></A>
</Td> </Td>
<Td> <Td>
<H2><FONT COLOR="#7F00FF"> <H2><FONT COLOR="#7F00FF">
...@@ -44,7 +44,7 @@ Device Commands Description <Br> <Br> ...@@ -44,7 +44,7 @@ Device Commands Description <Br> <Br>
CYBERSTARx1000 Class <Br> CYBERSTARx1000 Class <Br>
</h1> </h1>
<b> <b>
Revision: - Author: sebleport Revision: - Author: buteau
</b> </b>
</center> </center>
......
...@@ -11,20 +11,20 @@ ...@@ -11,20 +11,20 @@
<TR> <TR>
<TD ALIGN="left"> <TD ALIGN="left">
<A HREF="http://www.esrf.fr/" TARGET=new> <A HREF="http://www.esrf.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/gifs/logo/80.gif" BORDER=0></A> <IMG SRC="http://controle/icons/esrf_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.elettra.trieste.it/" TARGET=new> <A HREF="http://www.elettra.trieste.it/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/elettra_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/elettra_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.synchrotron-soleil.fr/" TARGET=new> <A HREF="http://www.synchrotron-soleil.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/soleil_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/soleil_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="right"> <TD ALIGN="right">
<A HREF="http://www.cells.es/" TARGET=new> <A HREF="http://www.cells.es/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/alba.jpg" BORDER=0></A> <IMG SRC="http://controle/icons/alba_logo.gif" BORDER=0></A>
</Td> </Td>
<Td> <Td>
<H2><FONT COLOR="#7F00FF"> <H2><FONT COLOR="#7F00FF">
...@@ -44,7 +44,7 @@ Device Commands Description <Br> <Br> ...@@ -44,7 +44,7 @@ Device Commands Description <Br> <Br>
CYBERSTARx1000 Class <Br> CYBERSTARx1000 Class <Br>
</h1> </h1>
<b> <b>
Revision: - Author: sebleport Revision: - Author: buteau
</b> </b>
</center> </center>
......
...@@ -11,20 +11,20 @@ ...@@ -11,20 +11,20 @@
<TR> <TR>
<TD ALIGN="left"> <TD ALIGN="left">
<A HREF="http://www.esrf.fr/" TARGET=new> <A HREF="http://www.esrf.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/gifs/logo/80.gif" BORDER=0></A> <IMG SRC="http://controle/icons/esrf_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.elettra.trieste.it/" TARGET=new> <A HREF="http://www.elettra.trieste.it/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/elettra_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/elettra_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.synchrotron-soleil.fr/" TARGET=new> <A HREF="http://www.synchrotron-soleil.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/soleil_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/soleil_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="right"> <TD ALIGN="right">
<A HREF="http://www.cells.es/" TARGET=new> <A HREF="http://www.cells.es/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/alba.jpg" BORDER=0></A> <IMG SRC="http://controle/icons/alba_logo.gif" BORDER=0></A>
</Td> </Td>
<Td> <Td>
<H2><FONT COLOR="#7F00FF"> <H2><FONT COLOR="#7F00FF">
...@@ -44,7 +44,7 @@ Properties Description <Br> <Br> ...@@ -44,7 +44,7 @@ Properties Description <Br> <Br>
CYBERSTARx1000 Class <Br> CYBERSTARx1000 Class <Br>
</h1> </h1>
<b> <b>
Revision: - Author: sebleport Revision: - Author: buteau
</b> </b>
</center> </center>
......
...@@ -11,20 +11,20 @@ ...@@ -11,20 +11,20 @@
<TR> <TR>
<TD ALIGN="left"> <TD ALIGN="left">
<A HREF="http://www.esrf.fr/" TARGET=new> <A HREF="http://www.esrf.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/gifs/logo/80.gif" BORDER=0></A> <IMG SRC="http://controle/icons/esrf_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.elettra.trieste.it/" TARGET=new> <A HREF="http://www.elettra.trieste.it/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/elettra_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/elettra_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.synchrotron-soleil.fr/" TARGET=new> <A HREF="http://www.synchrotron-soleil.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/soleil_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/soleil_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="right"> <TD ALIGN="right">
<A HREF="http://www.cells.es/" TARGET=new> <A HREF="http://www.cells.es/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/alba.jpg" BORDER=0></A> <IMG SRC="http://controle/icons/alba_logo.gif" BORDER=0></A>
</Td> </Td>
<Td> <Td>
<H2><FONT COLOR="#7F00FF"> <H2><FONT COLOR="#7F00FF">
...@@ -44,7 +44,7 @@ Device States Description <Br> <Br> ...@@ -44,7 +44,7 @@ Device States Description <Br> <Br>
CYBERSTARx1000 Class <Br> CYBERSTARx1000 Class <Br>
</h1> </h1>
<b> <b>
Revision: - Author: sebleport Revision: - Author: buteau
</b> </b>
</center> </center>
......
...@@ -10,20 +10,20 @@ ...@@ -10,20 +10,20 @@
<TR> <TR>
<TD ALIGN="left"> <TD ALIGN="left">
<A HREF="http://www.esrf.fr/" TARGET=new> <A HREF="http://www.esrf.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/gifs/logo/80.gif" BORDER=0></A> <IMG SRC="http://controle/icons/esrf_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.elettra.trieste.it/" TARGET=new> <A HREF="http://www.elettra.trieste.it/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/elettra_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/elettra_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="center"> <TD ALIGN="center">
<A HREF="http://www.synchrotron-soleil.fr/" TARGET=new> <A HREF="http://www.synchrotron-soleil.fr/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/soleil_logo.gif" BORDER=0></A> <IMG SRC="http://controle/icons/soleil_logo.gif" BORDER=0></A>
</Td> </Td>
<TD ALIGN="right"> <TD ALIGN="right">
<A HREF="http://www.cells.es/" TARGET=new> <A HREF="http://www.cells.es/" TARGET=new>
<IMG SRC="http://www.esrf.fr/computing/cs/tango/alba.jpg" BORDER=0></A> <IMG SRC="http://controle/icons/alba_logo.gif" BORDER=0></A>
</Td> </Td>
<Td> <Td>
<H2><FONT COLOR="#7F00FF"> <H2><FONT COLOR="#7F00FF">
...@@ -44,7 +44,7 @@ CYBERSTARx1000 Class<Br> ...@@ -44,7 +44,7 @@ CYBERSTARx1000 Class<Br>
</h1> </h1>
<b> <b>
Revision: - Author: sebleport <Br> Revision: - Author: buteau <Br>
Implemented in C++ - CVS repository: sourceforge(tango-ds) Implemented in C++ - CVS repository: sourceforge(tango-ds)
</b> </b>
</center> </center>
......
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/CYBERSTAR/src/CYBERSTARx1000.cpp,v 1.20 2008-02-28 11:35:00 buteau Exp $"; static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/CYBERSTAR/src/CYBERSTARx1000.cpp,v 1.21 2008-03-03 16:50:37 sebleport Exp $";
//+============================================================================= //+=============================================================================
// //
// file : CYBERSTARx1000.cpp // file : CYBERSTARx1000.cpp
...@@ -11,11 +11,14 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentatio ...@@ -11,11 +11,14 @@ static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentatio
// //
// project : TANGO Device Server // project : TANGO Device Server
// //
// $Author: buteau $ // $Author: sebleport $
// //
// $Revision: 1.20 $ // $Revision: 1.21 $
// //
// $Log: not supported by cvs2svn $ // $Log: not supported by cvs2svn $
// Revision 1.20 2008/02/28 11:35:00 buteau
// - tests DIFFABS du 28/08
//
// Revision 1.19 2008/02/27 17:35:31 buteau // Revision 1.19 2008/02/27 17:35:31 buteau
// - tests DIFFABS du 27/08 // - tests DIFFABS du 27/08
// //
...@@ -173,6 +176,9 @@ namespace CYBERSTARx1000_ns ...@@ -173,6 +176,9 @@ namespace CYBERSTARx1000_ns
DELETE_SCALAR_ATTRIBUTE(attr_peakingTime_read); DELETE_SCALAR_ATTRIBUTE(attr_peakingTime_read);
DELETE_SCALAR_ATTRIBUTE(attr_scaUpperThreshold_read); DELETE_SCALAR_ATTRIBUTE(attr_scaUpperThreshold_read);
DELETE_SCALAR_ATTRIBUTE(attr_scaLowerThreshold_read); DELETE_SCALAR_ATTRIBUTE(attr_scaLowerThreshold_read);
DELETE_SCALAR_ATTRIBUTE(attr_windowWidth_read);
DELETE_SCALAR_ATTRIBUTE(attr_windowCenterPosition_read);
} }
...@@ -197,6 +203,8 @@ namespace CYBERSTARx1000_ns ...@@ -197,6 +203,8 @@ namespace CYBERSTARx1000_ns
CREATE_SCALAR_ATTRIBUTE(attr_peakingTime_read); CREATE_SCALAR_ATTRIBUTE(attr_peakingTime_read);
CREATE_SCALAR_ATTRIBUTE(attr_scaUpperThreshold_read); CREATE_SCALAR_ATTRIBUTE(attr_scaUpperThreshold_read);
CREATE_SCALAR_ATTRIBUTE(attr_scaLowerThreshold_read); CREATE_SCALAR_ATTRIBUTE(attr_scaLowerThreshold_read);
CREATE_SCALAR_ATTRIBUTE(attr_windowWidth_read);
CREATE_SCALAR_ATTRIBUTE(attr_windowCenterPosition_read);
init_CYBERSTARx1000_done = false; init_CYBERSTARx1000_done = false;
...@@ -315,6 +323,11 @@ namespace CYBERSTARx1000_ns ...@@ -315,6 +323,11 @@ namespace CYBERSTARx1000_ns
void CYBERSTARx1000::read_windowWidth(Tango::Attribute &attr) void CYBERSTARx1000::read_windowWidth(Tango::Attribute &attr)
{ {
DEBUG_STREAM << "CYBERSTARx1000::read_windowWidth(Tango::Attribute &attr) entering... "<< endl; DEBUG_STREAM << "CYBERSTARx1000::read_windowWidth(Tango::Attribute &attr) entering... "<< endl;
*attr_windowWidth_read = attr_windowWidth_write;
attr.set_value(attr_windowWidth_read);
} }
//+---------------------------------------------------------------------------- //+----------------------------------------------------------------------------
...@@ -327,6 +340,10 @@ namespace CYBERSTARx1000_ns ...@@ -327,6 +340,10 @@ namespace CYBERSTARx1000_ns
void CYBERSTARx1000::read_windowCenterPosition(Tango::Attribute &attr) void CYBERSTARx1000::read_windowCenterPosition(Tango::Attribute &attr)
{ {
DEBUG_STREAM << "CYBERSTARx1000::read_windowCenterPosition(Tango::Attribute &attr) entering... "<< endl; DEBUG_STREAM << "CYBERSTARx1000::read_windowCenterPosition(Tango::Attribute &attr) entering... "<< endl;
*attr_windowCenterPosition_read = attr_windowCenterPosition_write;
attr.set_value(attr_windowCenterPosition_read);
} }
//+---------------------------------------------------------------------------- //+----------------------------------------------------------------------------
......
...@@ -6,11 +6,14 @@ ...@@ -6,11 +6,14 @@
// //
// project : CYBERSTARx1000 // project : CYBERSTARx1000
// //
// $Author: buteau $ // $Author: sebleport $
// //
// $Revision: 1.14 $ // $Revision: 1.15 $
// //
// $Log: not supported by cvs2svn $ // $Log: not supported by cvs2svn $
// Revision 1.14 2008/02/27 17:35:31 buteau
// - tests DIFFABS du 27/08
//
// Revision 1.13 2008/02/27 11:32:25 buteau // Revision 1.13 2008/02/27 11:32:25 buteau
// - tests DIFFABS du 27/08 // - tests DIFFABS du 27/08
// //
...@@ -78,8 +81,8 @@ ...@@ -78,8 +81,8 @@
//using namespace Tango; //using namespace Tango;
/** /**
* @author $Author: buteau $ * @author $Author: sebleport $
* @version $Revision: 1.14 $ * @version $Revision: 1.15 $
*/ */
// Add your own constants definitions here. // Add your own constants definitions here.
...@@ -96,6 +99,16 @@ namespace CYBERSTARx1000_ns ...@@ -96,6 +99,16 @@ namespace CYBERSTARx1000_ns
* The device controls the 3 parts of the PPU thanks to a RS232 link. * The device controls the 3 parts of the PPU thanks to a RS232 link.
* 1- the high voltage module. (Voltage applied to the photomultplier of SD) * 1- the high voltage module. (Voltage applied to the photomultplier of SD)
* 2- the preamplifier and shaping Amplifier module.(pulses shaping) * 2- the preamplifier and shaping Amplifier module.(pulses shaping)
* 3- the Single Channel Annalyser.(energy selector).
*/
/*
* Device States Description:
* This device controls the pulse processing unit (PPU) of a fast scintillation detector (SD).
* This PPU is called CYBERSTAR. This product come from OXFORD DANFYSIK.
* The device controls the 3 parts of the PPU thanks to a RS232 link.
* 1- the high voltage module. (Voltage applied to the photomultplier of SD)
* 2- the preamplifier and shaping Amplifier module.(pulses shaping)
* 3- the Single Channel Annalyser.(energy selector). * 3- the Single Channel Annalyser.(energy selector).
*/ */
...@@ -134,7 +147,9 @@ namespace CYBERSTARx1000_ns ...@@ -134,7 +147,9 @@ namespace CYBERSTARx1000_ns
Tango::DevDouble attr_scaLowerThreshold_write; Tango::DevDouble attr_scaLowerThreshold_write;
Tango::DevDouble *attr_scaUpperThreshold_read; Tango::DevDouble *attr_scaUpperThreshold_read;
Tango::DevDouble attr_scaUpperThreshold_write; Tango::DevDouble attr_scaUpperThreshold_write;
Tango::DevDouble *attr_windowWidth_read;
Tango::DevDouble attr_windowWidth_write; Tango::DevDouble attr_windowWidth_write;
Tango::DevDouble *attr_windowCenterPosition_read;
Tango::DevDouble attr_windowCenterPosition_write; Tango::DevDouble attr_windowCenterPosition_write;
//@} //@}
......
...@@ -12,9 +12,12 @@ ...@@ -12,9 +12,12 @@
// //
// $Author: sebleport $ // $Author: sebleport $
// //
// $Revision: 1.7 $ // $Revision: 1.8 $
// //
// $Log: not supported by cvs2svn $ // $Log: not supported by cvs2svn $
// Revision 1.7 2007/04/13 17:25:02 sebleport
// some changes in devstate() due to the interraction with the scan server device
//
// Revision 1.6 2007/04/13 14:40:21 sebleport // Revision 1.6 2007/04/13 14:40:21 sebleport
// some changes in devstate() due to the interraction with the scan server device // some changes in devstate() due to the interraction with the scan server device
// //
...@@ -61,7 +64,7 @@ namespace CYBERSTARx1000_ns ...@@ -61,7 +64,7 @@ namespace CYBERSTARx1000_ns
class windowCenterPositionAttrib: public Tango::Attr class windowCenterPositionAttrib: public Tango::Attr
{ {
public: public:
windowCenterPositionAttrib():Attr("windowCenterPosition", Tango::DEV_DOUBLE, Tango::WRITE) {}; windowCenterPositionAttrib():Attr("windowCenterPosition", Tango::DEV_DOUBLE, Tango::READ_WRITE) {};
~windowCenterPositionAttrib() {}; ~windowCenterPositionAttrib() {};
virtual void read(Tango::DeviceImpl *dev,Tango::Attribute &att) virtual void read(Tango::DeviceImpl *dev,Tango::Attribute &att)
...@@ -75,7 +78,7 @@ public: ...@@ -75,7 +78,7 @@ public:
class windowWidthAttrib: public Tango::Attr class windowWidthAttrib: public Tango::Attr
{ {
public: public:
windowWidthAttrib():Attr("windowWidth", Tango::DEV_DOUBLE, Tango::WRITE) {}; windowWidthAttrib():Attr("windowWidth", Tango::DEV_DOUBLE, Tango::READ_WRITE) {};
~windowWidthAttrib() {}; ~windowWidthAttrib() {};
virtual void read(Tango::DeviceImpl *dev,Tango::Attribute &att) virtual void read(Tango::DeviceImpl *dev,Tango::Attribute &att)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment