Skip to content

Commit

Permalink
Move system commands to start.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
marcelldls committed Jul 1, 2024
1 parent 2abb180 commit fe1ad89
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ADAravis/ADAravis.ibek.support.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,7 @@ entity_models:

pre_init:
- value: |
system "arv-tool-0.8 -a {{ID}} genicam > /epics/runtime/genicam.xml"
system "python /epics/support/ADGenICam/scripts/makeDb.py /epics/runtime/genicam.xml /epics/runtime/genicam.template"
dbLoadRecords /epics/runtime/genicam.template "P={{ P }},R={{ R }},PORT={{ PORT }}"
system "pvi convert device --template /epics/runtime/genicam.template /epics/pvi-defs/ /epics/support/ADGenICam/include/ADGenICam.h"
dbLoadRecords /tmp/genicam.template "P={{ P }},R={{ R }},PORT={{ PORT }}"
# aravisConfig(const char *portName, const char *cameraName, size_t maxMemory, int priority, int stackSize)
aravisConfig("{{PORT}}", "{{ID}}", {{MEMORY}}, 0, 1)
Expand Down

0 comments on commit fe1ad89

Please sign in to comment.