Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
ControlSystemAdapter-DoocsAdapter
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ChimeraTK Mirror
ControlSystemAdapter-DoocsAdapter
Commits
7300f3af
Commit
7300f3af
authored
7 years ago
by
Martin Killenberg
Browse files
Options
Downloads
Patches
Plain Diff
changed maximal length for properties with history to accomodate the ._HIST extension
parent
1f1b4480
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/DoocsPVFactory.cc
+2
-1
2 additions, 1 deletion
src/DoocsPVFactory.cc
with
2 additions
and
1 deletion
src/DoocsPVFactory.cc
+
2
−
1
View file @
7300f3af
...
...
@@ -30,7 +30,8 @@ namespace ChimeraTK {
boost
::
shared_ptr
<
D_fct
>
doocsPV
;
// Histories seem to be supported by DOOCS only for property names shorter than 64 characters, so disable history for longer names.
// The DOOCS property name is the variable name without the location name and the separating slash between location and property name.
if
(
propertyDescription
.
name
.
length
()
>
64
)
{
// One has to subtract another 6 characters because Doocs automatically adds "._HIST", which also has to fit into the 64 characters
if
(
propertyDescription
.
name
.
length
()
>
64
-
6
)
{
std
::
cerr
<<
"WARNING: Disabling history for "
<<
processArray
->
getName
()
<<
". Name is too long."
<<
std
::
endl
;
doocsPV
.
reset
(
new
DoocsProcessScalar
<
DOOCS_PRIMITIVE_T
,
DOOCS_T
>
(
propertyDescription
.
name
.
c_str
(),
_eqFct
,
processArray
,
_updater
)
);
}
...
...
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