Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
advLigoRTS
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
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
CDS
software
advLigoRTS
Commits
c57537cb
Commit
c57537cb
authored
3 years ago
by
Erik von Reis
Browse files
Options
Downloads
Plain Diff
Merge branch 'branch-4.2' into better_safe_snap
parents
37441181
5877ac78
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!439
RCG 5.0 release fro deb 10
,
!332
Merging 4.2 into master
,
!331
Draft: Merging branch-4.2 into master
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
install
+1
-0
1 addition, 0 deletions
install
src/epics/util/lib/IPCmonitor.pm
+11
-4
11 additions, 4 deletions
src/epics/util/lib/IPCmonitor.pm
src/epics/util/lib/IPCx.pm
+12
-5
12 additions, 5 deletions
src/epics/util/lib/IPCx.pm
with
24 additions
and
9 deletions
install
+
1
−
0
View file @
c57537cb
...
...
@@ -60,6 +60,7 @@ if test -e $TARGET; then
fi
mkdir
-p
$TARGET
/
{
bin,scripts,logs
}
mkdir
-p
$RTCDS
/chans/tmp
chmod
775
$TARGET
/logs
mkdir
-p
$TARGET
/
${
system
}
epics/burt
if
[
-e
$RTCDS
/target_archive/
${
system
}
/
${
system
}
_
$cur_date
/
${
system
}
epics/burt
]
;
then
...
...
This diff is collapsed.
Click to expand it.
src/epics/util/lib/IPCmonitor.pm
+
11
−
4
View file @
c57537cb
package
CDS::
IPCmonitor
;
use
Exporter
;
use
File::
Path
;
@ISA
=
('
Exporter
');
#// \page IPCx IPCx.pm
...
...
@@ -227,11 +228,17 @@ my @ipcxMaxNum = (-999,-999,-999,-999);
# Develop name of IPC parameter file based on return from above.
#my ($i) = @_;
my
$iFile
=
$
::
target
;
$iFile
.=
"
/chans/ipc/
";
$iFile
.=
$
::
ifo
;
$iFile
.=
"
\
.ipc
";
my
$iFile
Path
=
$
::
target
;
$iFile
Path
.=
"
/chans/ipc/
";
my
$iFile
.=
$iFilePath
.
$
::
ifo
;
$iFile
.=
"
\
.ipc
";
# Open and input data from IPC parameter file
File::Path::
make_path
(
$iFilePath
);
unless
(
-
e
$iFile
)
{
open
(
TOUCH
,
"
>>
$iFile
");
close
(
TOUCH
);
}
open
(
IPCIN
,
"
<
$iFile
")
||
die
"
***ERROR: IPCx parameter file
$iFile
not found
\n
";
chomp
(
@inData
=<
IPCIN
>
);
close
IPCIN
;
...
...
This diff is collapsed.
Click to expand it.
src/epics/util/lib/IPCx.pm
+
12
−
5
View file @
c57537cb
package
CDS::
IPCx
;
use
Exporter
;
use
File::
Path
;
@ISA
=
('
Exporter
');
#// \page IPCx IPCx.pm
...
...
@@ -331,12 +332,18 @@ if ($::ipcxCnt > 0) {
# Develop name of IPC parameter file based on return from above.
#my ($i) = @_;
my
$iFile
=
$
::
target
;
$iFile
.=
"
/chans/ipc/
";
$iFile
.=
$
::
ifo
;
$iFile
.=
"
\
.ipc
";
#my ($i) = @_;
my
$iFile
Path
=
$
::
target
;
$iFile
Path
.=
"
/chans/ipc/
";
my
$iFile
.=
$iFilePath
.
$
::
ifo
;
$iFile
.=
"
\
.ipc
";
# Open and input data from IPC parameter file
File::Path::
make_path
(
$iFilePath
);
unless
(
-
e
$iFile
)
{
open
(
TOUCH
,
"
>>
$iFile
");
close
(
TOUCH
);
}
open
(
IPCIN
,
"
<
$iFile
")
||
die
"
***ERROR: IPCx parameter file
$iFile
not found
\n
";
chomp
(
@inData
=<
IPCIN
>
);
close
IPCIN
;
...
...
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