Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dp-imagej
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package 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
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
xsd-det
dp-imagej
Commits
cedfe49b
Commit
cedfe49b
authored
1 year ago
by
tguruswamy
Browse files
Options
Downloads
Patches
Plain Diff
Add better example of startup script to run at APS
parent
bb1382a1
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
build_imagej+ad_plugins.sh
+3
-0
3 additions, 0 deletions
build_imagej+ad_plugins.sh
start_imageJ
+0
-8
0 additions, 8 deletions
start_imageJ
start_imagej_aps
+29
-0
29 additions, 0 deletions
start_imagej_aps
with
32 additions
and
8 deletions
build_imagej+ad_plugins.sh
+
3
−
0
View file @
cedfe49b
...
...
@@ -126,5 +126,8 @@ done
popd
# Copy example APS startup script into ImageJ folder
cp
-a
"start_imagej_aps"
ImageJ/
# Make permissions consistent
chmod
-R
ug
=
rwX,o
=
rX ImageJ
This diff is collapsed.
Click to expand it.
start_imageJ
deleted
100755 → 0
+
0
−
8
View file @
bb1382a1
#!/bin/bash
# Example script to start ImageJ with compressed PVarray support from ADSupport. Adjust paths as necessary
cd
${
HOME
}
/ImageJ
export
EPICS_CA_MAX_ARRAY_BYTES
=
30000000
export
EPICS_CA_AUTO_ADDR_LIST
=
NO
export
EPICS_CA_ADDR_LIST
=
127.0.0.1
export
LD_LIBRARY_PATH
=
${
HOME
}
/epics/synApps-6.2.1/support/areaDetector-R3-12-1/ADSupport/lib/linux-x86_64/
./ImageJ
-run
"EPICS NTNDA Viewer"
&
This diff is collapsed.
Click to expand it.
start_imagej_aps
0 → 100755
+
29
−
0
View file @
cedfe49b
#!/bin/bash
version
=
$(
source
/etc/os-release
;
echo
$VERSION_ID
|
grep
-oP
'[0-9]+(?=\.)'
)
if
[[(
$version
==
9
)]]
then
export
LD_LIBRARY_PATH
=
/APSshare/epics/synApps_6_2_1/support/areaDetector-R3-12-1/ADSupport/lib/rhel9-x86_64
${
LD_LIBRARY_PATH
+
:
${
LD_LIBRARY_PATH
}}
echo
"LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
"
elif
[[(
$version
==
8
)]]
then
export
LD_LIBRARY_PATH
=
/APSshare/epics/synApps_6_2_1/support/areaDetector-R3-12-1/ADSupport/lib/rhel8-x86_64
${
LD_LIBRARY_PATH
+
:
${
LD_LIBRARY_PATH
}}
echo
"LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
"
elif
[[(
$version
==
7
)]]
then
export
LD_LIBRARY_PATH
=
/APSshare/epics/synApps_6_2_1/support/areaDetector-R3-12-1/ADSupport/lib/rhel7-x86_64
${
LD_LIBRARY_PATH
+
:
${
LD_LIBRARY_PATH
}}
echo
"LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
"
else
export
LD_LIBRARY_PATH
=
/APSshare/epics/synApps_6_2_1/support/areaDetector-R3-12-1/ADSupport/lib/linux-x86_64
${
LD_LIBRARY_PATH
+
:
${
LD_LIBRARY_PATH
}}
echo
"LD_LIBRARY_PATH=
$LD_LIBRARY_PATH
"
fi
export
EPICS_CA_MAX_ARRAY_BYTES
=
72000000
# Stop using the old imagej viewer. New one is faster and does not need EPICS_CA_MAX_ARRAY_BYTES
#./ImageJ -run "EPICS AD Viewer" &
# Please enable the PVA plugin and use that PV in the NTNDA version
# https://areadetector.github.io/master/ADViewers/ad_viewers.html#areadetector-viewers
# channelName will be something like this: 13SIM1:Pva1:Image
./ImageJ
-run
"EPICS NTNDA Viewer"
&
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