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

polling attribute set to 10000 ms by default (POGO).

the concerned attributes are:
voltage, peakingTime, gain
parent 01df1164
No related branches found
No related tags found
No related merge requests found
...@@ -8,9 +8,12 @@ ...@@ -8,9 +8,12 @@
// //
// $Author: sebleport $ // $Author: sebleport $
// //
// $Revision: 1.8 $ // $Revision: 1.9 $
// //
// $Log: not supported by cvs2svn $ // $Log: not supported by cvs2svn $
// Revision 1.8 2007/04/13 17:25:02 sebleport
// some changes in devstate() due to the interraction with the scan server device
//
// Revision 1.7 2007/04/13 14:40:21 sebleport // Revision 1.7 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
// //
...@@ -58,7 +61,7 @@ ...@@ -58,7 +61,7 @@
/** /**
* @author $Author: sebleport $ * @author $Author: sebleport $
* @version $Revision: 1.8 $ * @version $Revision: 1.9 $
*/ */
// Add your own constants definitions here. // Add your own constants definitions here.
......
static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/CYBERSTAR/src/CYBERSTARx1000Class.cpp,v 1.7 2007-04-13 17:25:02 sebleport Exp $"; static const char *RcsId = "$Header: /users/chaize/newsvn/cvsroot/Instrumentation/CYBERSTAR/src/CYBERSTARx1000Class.cpp,v 1.8 2007-04-24 16:22:52 sebleport Exp $";
static const char *TagName = "$Name: not supported by cvs2svn $"; static const char *TagName = "$Name: not supported by cvs2svn $";
static const char *HttpServer= "http://www.esrf.fr/computing/cs/tango/tango_doc/ds_doc/"; static const char *HttpServer= "http://www.esrf.fr/computing/cs/tango/tango_doc/ds_doc/";
//+============================================================================= //+=============================================================================
...@@ -14,9 +14,12 @@ static const char *HttpServer= "http://www.esrf.fr/computing/cs/tango/tango_doc/ ...@@ -14,9 +14,12 @@ static const char *HttpServer= "http://www.esrf.fr/computing/cs/tango/tango_doc/
// //
// $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
// //
...@@ -252,7 +255,7 @@ void CYBERSTARx1000Class::attribute_factory(vector<Tango::Attr *> &att_list) ...@@ -252,7 +255,7 @@ void CYBERSTARx1000Class::attribute_factory(vector<Tango::Attr *> &att_list)
voltage_prop.set_min_value("250"); voltage_prop.set_min_value("250");
voltage_prop.set_description("sets the voltage to apply to the detector. It essentially \ndetermines the photomultiplier amplification.For large countrates,\nit is necessary to operate at lower voltages since the large number of\nelectrons that would be created could damage the photomultiplier.\nHigh Voltage"); voltage_prop.set_description("sets the voltage to apply to the detector. It essentially \ndetermines the photomultiplier amplification.For large countrates,\nit is necessary to operate at lower voltages since the large number of\nelectrons that would be created could damage the photomultiplier.\nHigh Voltage");
voltage->set_default_properties(voltage_prop); voltage->set_default_properties(voltage_prop);
voltage->set_polling_period(3000); voltage->set_polling_period(10000);
att_list.push_back(voltage); att_list.push_back(voltage);
// Attribute : forcedRemoteMode // Attribute : forcedRemoteMode
...@@ -261,7 +264,7 @@ void CYBERSTARx1000Class::attribute_factory(vector<Tango::Attr *> &att_list) ...@@ -261,7 +264,7 @@ void CYBERSTARx1000Class::attribute_factory(vector<Tango::Attr *> &att_list)
forced_remote_mode_prop.set_label("forced remote"); forced_remote_mode_prop.set_label("forced remote");
forced_remote_mode_prop.set_description("set forced remote control ON/OFF. In local mode\nthe program stored in the miniature controller continuously\npolls the status of the local/remote button and checks if a \nforce remote mode"); forced_remote_mode_prop.set_description("set forced remote control ON/OFF. In local mode\nthe program stored in the miniature controller continuously\npolls the status of the local/remote button and checks if a \nforce remote mode");
forced_remote_mode->set_default_properties(forced_remote_mode_prop); forced_remote_mode->set_default_properties(forced_remote_mode_prop);
forced_remote_mode->set_polling_period(3000); forced_remote_mode->set_polling_period(10000);
att_list.push_back(forced_remote_mode); att_list.push_back(forced_remote_mode);
// Attribute : amplifierGain // Attribute : amplifierGain
...@@ -276,7 +279,7 @@ void CYBERSTARx1000Class::attribute_factory(vector<Tango::Attr *> &att_list) ...@@ -276,7 +279,7 @@ void CYBERSTARx1000Class::attribute_factory(vector<Tango::Attr *> &att_list)
amplifier_gain_prop.set_min_value("0"); amplifier_gain_prop.set_min_value("0");
amplifier_gain_prop.set_description("adjusts the amplitude of the shaped pulses available on the\nsignal out of the BNC socket.\nUsually pulse heights are between 1 and 10 V."); amplifier_gain_prop.set_description("adjusts the amplitude of the shaped pulses available on the\nsignal out of the BNC socket.\nUsually pulse heights are between 1 and 10 V.");
amplifier_gain->set_default_properties(amplifier_gain_prop); amplifier_gain->set_default_properties(amplifier_gain_prop);
amplifier_gain->set_polling_period(3000); amplifier_gain->set_polling_period(10000);
att_list.push_back(amplifier_gain); att_list.push_back(amplifier_gain);
// Attribute : peakingTime // Attribute : peakingTime
...@@ -291,7 +294,7 @@ void CYBERSTARx1000Class::attribute_factory(vector<Tango::Attr *> &att_list) ...@@ -291,7 +294,7 @@ void CYBERSTARx1000Class::attribute_factory(vector<Tango::Attr *> &att_list)
peaking_time_prop.set_min_value("300"); peaking_time_prop.set_min_value("300");
peaking_time_prop.set_description("Elapsed time between the arrival of an X or gamma photon\ninside the scintillator and the peak value of the signal out\npulse. It is the an Integration time.\nA small value of the peaking time allows high counting rate\nbut poor energy linearity.\nA high value allows good energy linearity but the low counting\nrate"); peaking_time_prop.set_description("Elapsed time between the arrival of an X or gamma photon\ninside the scintillator and the peak value of the signal out\npulse. It is the an Integration time.\nA small value of the peaking time allows high counting rate\nbut poor energy linearity.\nA high value allows good energy linearity but the low counting\nrate");
peaking_time->set_default_properties(peaking_time_prop); peaking_time->set_default_properties(peaking_time_prop);
peaking_time->set_polling_period(3000); peaking_time->set_polling_period(10000);
att_list.push_back(peaking_time); att_list.push_back(peaking_time);
// Attribute : scaLowerThreshold // Attribute : scaLowerThreshold
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment