Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
epics_bootstrap
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
Container registry
Model registry
Operate
Environments
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
controls
epics
epics_bootstrap
Commits
cf322446
Commit
cf322446
authored
5 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
Laser gui testing caqtdm
parent
be631182
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
bin/bootstrap_epics
+61
-56
61 additions, 56 deletions
bin/bootstrap_epics
dm/test_laser.ui
+97
-0
97 additions, 0 deletions
dm/test_laser.ui
setup.sh
+2
-2
2 additions, 2 deletions
setup.sh
with
160 additions
and
58 deletions
bin/bootstrap_epics
+
61
−
56
View file @
cf322446
...
@@ -67,7 +67,7 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
...
@@ -67,7 +67,7 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
# print_the_help
# print_the_help
# exit
# exit
#fi
#fi
#
#if [ -d "${NAME}" ]
#if [ -d "${NAME}" ]
#then
#then
# echo "Directory ${NAME} exists."
# echo "Directory ${NAME} exists."
...
@@ -80,61 +80,66 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
...
@@ -80,61 +80,66 @@ set -- "${POSITIONAL[@]}" # restore positional parameters
source
setup.sh
source
setup.sh
#lsb_release -d | grep -i "ubuntu"
yes_or_no
"build epics base"
#
if
[[
$?
]]
;
then
#if [[ "$?" == "0" ]] ; then
# sudo apt-get install -y \
lsb_release
-d
|
grep
-i
"ubuntu"
# re2c libreadline-dev libusb-dev \
# libusb-java libusb-1.0-0-dev libnet1-dev \
if
[[
"
$?
"
==
"0"
]]
;
then
# python-pip \
sudo
apt-get
install
-y
\
# libpcap-dev libx11-dev libxext-dev python-numpy
re2c libreadline-dev libusb-dev
\
# if [[ "$(uname -m)" == "aarch64" ]] ; then
libusb-java libusb-1.0-0-dev libnet1-dev
\
# sudo apt-get install -y python-rpi.gpio python3-rpi.gpio
python-pip
\
# fi
libpcap-dev libx11-dev libxext-dev python-numpy
# sudo pip install --trusted-host pypi.org --trusted-host files.pythonhosted.org spidev
if
[[
"
$(
uname
-m
)
"
==
"aarch64"
]]
;
then
#fi
sudo
apt-get
install
-y
python-rpi.gpio python3-rpi.gpio
#
fi
#git clone --recursive -b 7.0 https://git.launchpad.net/epics-base base-7.0
sudo
pip
install
--trusted-host
pypi.org
--trusted-host
files.pythonhosted.org spidev
#ln -s base-7.0 base
fi
#
#pushd base
git clone
--recursive
-b
7.0 https://git.launchpad.net/epics-base base-7.0
#make
ln
-s
base-7.0 base
#popd
#
pushd
base
#wget -qO- https://epics.anl.gov/bcda/synApps/tar/synApps_6_0.tar.gz | tar -zxf -
make
popd
#pushd synApps/support
#ln -s calc-R3-7-1 calc
wget
-qO-
https://epics.anl.gov/bcda/synApps/tar/synApps_6_0.tar.gz |
tar
-zxf
-
#ln -s asyn-R4-33 asyn
#ln -s stream-R2-7-7c stream
pushd
synApps/support
#sed -i '1d' configure/RELEASE
ln
-s
calc-R3-7-1 calc
#sed -i '1iSUPPORT = /opt/epics/synApps/support' configure/RELEASE
ln
-s
asyn-R4-33 asyn
#sed -i '3d' configure/RELEASE
ln
-s
stream-R2-7-7c stream
#sed -i '3iEPICS_BASE=/opt/epics/base' configure/RELEASE
sed
-i
'1d'
configure/RELEASE
#sed -i '17d' configure/RELEASE
sed
-i
'1iSUPPORT = /opt/epics/synApps/support'
configure/RELEASE
#sed -i '17i#DXP=$(SUPPORT)/dxp-R5-0' configure/RELEASE
sed
-i
'3d'
configure/RELEASE
#
sed
-i
'3iEPICS_BASE=/opt/epics/base'
configure/RELEASE
#sed -i '34d' configure/RELEASE
sed
-i
'17d'
configure/RELEASE
#sed -i '34i#SSCAN=$(SUPPORT)/sscan-R2-11-1' configure/RELEASE
sed
-i
'17i#DXP=$(SUPPORT)/dxp-R5-0'
configure/RELEASE
#
#
sed
-i
'34d'
configure/RELEASE
#sed -i '46d' configure/RELEASE
sed
-i
'34i#SSCAN=$(SUPPORT)/sscan-R2-11-1'
configure/RELEASE
#sed -i '45d' configure/RELEASE
#sed -i '44d' configure/RELEASE
#sed -i '43d' configure/RELEASE
sed
-i
'46d'
configure/RELEASE
#sed -i '42d' configure/RELEASE
sed
-i
'45d'
configure/RELEASE
#sed -i '41d' configure/RELEASE
sed
-i
'44d'
configure/RELEASE
#echo '#AREA_DETECTOR=$(SUPPORT)/areaDetector-R3-3-1' >> configure/RELEASE
sed
-i
'43d'
configure/RELEASE
#echo '#ADCORE=$(AREA_DETECTOR)/ADCore' >> configure/RELEASE
sed
-i
'42d'
configure/RELEASE
#echo '#ADSUPPORT=$(AREA_DETECTOR)/ADSupport' >> configure/RELEASE
sed
-i
'41d'
configure/RELEASE
#echo '#ADSIMDETECTOR=$(AREA_DETECTOR)/ADSimDetector' >> configure/RELEASE
echo
'#AREA_DETECTOR=$(SUPPORT)/areaDetector-R3-3-1'
>>
configure/RELEASE
#echo '#SNCSEQ=$(SUPPORT)/seq-2-2-5' >> configure/RELEASE
echo
'#ADCORE=$(AREA_DETECTOR)/ADCore'
>>
configure/RELEASE
#echo '#ALLEN_BRADLEY=$(SUPPORT)/allenBradley-2-3' >> configure/RELEASE
echo
'#ADSUPPORT=$(AREA_DETECTOR)/ADSupport'
>>
configure/RELEASE
#
echo
'#ADSIMDETECTOR=$(AREA_DETECTOR)/ADSimDetector'
>>
configure/RELEASE
#make release
echo
'#SNCSEQ=$(SUPPORT)/seq-2-2-5'
>>
configure/RELEASE
#make
echo
'#ALLEN_BRADLEY=$(SUPPORT)/allenBradley-2-3'
>>
configure/RELEASE
#
#popd
make release
make
popd
fi
yes_or_no
"Build extenstions"
yes_or_no
"Build extenstions"
if
[[
"
$?
"
]]
;
then
if
[[
"
$?
"
]]
;
then
...
...
This diff is collapsed.
Click to expand it.
dm/test_laser.ui
0 → 100644
+
97
−
0
View file @
cf322446
<?xml version="1.0" encoding="UTF-8"?>
<ui
version=
"4.0"
>
<class>
MainWindow
</class>
<widget
class=
"QMainWindow"
name=
"MainWindow"
>
<property
name=
"geometry"
>
<rect>
<x>
0
</x>
<y>
0
</y>
<width>
800
</width>
<height>
600
</height>
</rect>
</property>
<property
name=
"windowTitle"
>
<string>
MainWindow
</string>
</property>
<widget
class=
"QWidget"
name=
"centralwidget"
>
<widget
class=
"caByte"
name=
"cabyte"
>
<property
name=
"geometry"
>
<rect>
<x>
40
</x>
<y>
120
</y>
<width>
20
</width>
<height>
120
</height>
</rect>
</property>
<property
name=
"channel"
stdset=
"0"
>
<string
notr=
"true"
>
daq:l1:glstat
</string>
</property>
</widget>
<widget
class=
"caLed"
name=
"caled"
>
<property
name=
"geometry"
>
<rect>
<x>
80
</x>
<y>
120
</y>
<width>
30
</width>
<height>
30
</height>
</rect>
</property>
<property
name=
"channel"
stdset=
"0"
>
<string
notr=
"true"
>
daq:l1:state
</string>
</property>
</widget>
<widget
class=
"caTextEntry"
name=
"catextentry"
>
<property
name=
"geometry"
>
<rect>
<x>
120
</x>
<y>
130
</y>
<width>
100
</width>
<height>
22
</height>
</rect>
</property>
</widget>
<widget
class=
"caLabel"
name=
"calabel"
>
<property
name=
"geometry"
>
<rect>
<x>
110
</x>
<y>
180
</y>
<width>
90
</width>
<height>
28
</height>
</rect>
</property>
<property
name=
"channel"
stdset=
"0"
>
<string
notr=
"true"
>
daq:l1:gserial
</string>
</property>
</widget>
</widget>
</widget>
<customwidgets>
<customwidget>
<class>
caTextEntry
</class>
<extends>
caLineEdit
</extends>
<header>
caTextEntry
</header>
</customwidget>
<customwidget>
<class>
caLabel
</class>
<extends>
QLabel
</extends>
<header>
caLabel
</header>
</customwidget>
<customwidget>
<class>
caLed
</class>
<extends>
QWidget
</extends>
<header>
caLed
</header>
</customwidget>
<customwidget>
<class>
caLineEdit
</class>
<extends>
QLineEdit
</extends>
<header>
caLineEdit
</header>
</customwidget>
<customwidget>
<class>
caByte
</class>
<extends>
QWidget
</extends>
<header>
caByte
</header>
</customwidget>
</customwidgets>
<resources/>
<connections/>
</ui>
This diff is collapsed.
Click to expand it.
setup.sh
+
2
−
2
View file @
cf322446
...
@@ -17,8 +17,8 @@ export LD_LIBRARY_PATH=$EPICS_ROOT/lib:$LD_LIBRARY_PATH
...
@@ -17,8 +17,8 @@ export LD_LIBRARY_PATH=$EPICS_ROOT/lib:$LD_LIBRARY_PATH
export
PATH
=
$EPICS_BASE
/bin/
$EPICS_HOST_ARCH
:
$PATH
export
PATH
=
$EPICS_BASE
/bin/
$EPICS_HOST_ARCH
:
$PATH
export
LD_LIBRARY_PATH
=
$EPICS_BASE
/lib/
$EPICS_HOST_ARCH
:
$LD_LIBRARY_PATH
export
LD_LIBRARY_PATH
=
$EPICS_BASE
/lib/
$EPICS_HOST_ARCH
:
$LD_LIBRARY_PATH
export
EPICS_CA_AUTO_ADDR_LIST
=
NO
export
EPICS_CA_AUTO_ADDR_LIST
=
YES
export
EPICS_CA_ADDR_LIST
=
10.10.241.0
#
export EPICS_CA_ADDR_LIST=10.10.241.0
# support
# support
export
ASYN
=
$EPICS_ROOT
/synApps/support/asyn
export
ASYN
=
$EPICS_ROOT
/synApps/support/asyn
...
...
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