Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
SY900S_Channel
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software Control System
Tango devices
PowerSupply
SY900S_Channel
Commits
14b8d02d
Commit
14b8d02d
authored
Jul 16, 2007
by
Sebastien Leport
Browse files
Options
Downloads
Patches
Plain Diff
one methode name has changed
parent
37add58a
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/SY900S_Channel.cpp
+11
-7
11 additions, 7 deletions
src/SY900S_Channel.cpp
src/SY900S_Channel.h
+7
-3
7 additions, 3 deletions
src/SY900S_Channel.h
with
18 additions
and
10 deletions
src/SY900S_Channel.cpp
+
11
−
7
View file @
14b8d02d
static
const
char
*
RcsId
=
"$Header: /users/chaize/newsvn/cvsroot/Instrumentation/SY900S_channel/src/SY900S_Channel.cpp,v 1.
8
2007-07-16 09:
33
:3
9
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
:3
6
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]"
);
...
...
This diff is collapsed.
Click to expand it.
src/SY900S_Channel.h
+
7
−
3
View file @
14b8d02d
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment