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
a9933d0e
Commit
a9933d0e
authored
4 years ago
by
Jens Georg
Browse files
Options
Downloads
Patches
Plain Diff
Set object_name before the call to eq_server
parent
a0344782
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/eq_create.cc
+7
-1
7 additions, 1 deletion
src/eq_create.cc
with
7 additions
and
1 deletion
src/eq_create.cc
+
7
−
1
View file @
a9933d0e
...
...
@@ -10,12 +10,18 @@ static char const* XML_CONFIG_SUFFIX = "-DoocsVariableConfig.xml";
static
ChimeraTK
::
DoocsAdapter
doocsAdapter
;
extern
int
eq_server
(
int
,
char
**
);
int
main
(
int
argc
,
char
*
argv
[])
{
object_name
=
ChimeraTK
::
ApplicationBase
::
getInstance
().
getName
().
c_str
();
return
eq_server
(
argc
,
argv
);
}
/* eq_init_prolog is called before the locations are created, i.e. before the
* first call to eq_create. We initialise the application, i.e. all process
* variables are created in this function. */
void
eq_init_prolog
()
{
// set the DOOCS server name to the application name
object_name
=
ChimeraTK
::
ApplicationBase
::
getInstance
().
getName
().
c_str
();
// Create static instances for all applications cores. They must not have
// overlapping process variable names ("location/protery" must be unique).
ChimeraTK
::
ApplicationBase
::
getInstance
().
setPVManager
(
doocsAdapter
.
getDevicePVManager
());
...
...
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