Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not all example IOCs use P macro value starting with same prefix #326

Open
jlmuir opened this issue May 31, 2018 · 0 comments
Open

Not all example IOCs use P macro value starting with same prefix #326

jlmuir opened this issue May 31, 2018 · 0 comments

Comments

@jlmuir
Copy link
Contributor

jlmuir commented May 31, 2018

Is there interest in, for the sake of consistency, making all example IOC P macro values start with 13? Or a different value prefix (e.g., AD)?

Most of the example IOCs use a default P macro value that starts with 13. However, some do not (e.g., BIS:, 3EIG1:, SR13ID01HU02IOC02:, and DCAM:).

I'm running into this because I'd like to just do a global replace of P=13 (or similar) with a prefix for the location where the IOC will be deployed, and now I'm seeing that I would need to do more than that for the example IOCs that don't use a P macro value that starts with 13. (Not a huge deal, but still...)

Here are the current P macro values based on "top" .adl files (which obviously excludes any detector plugins that are not linked via a "top" .adl file):

$ find . -name '*Top.adl' -print0 | xargs -0 grep -o 'args="P=[^,"]\{1,\}' | uniq
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13ANDOR1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13ANDOR3:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13ANDOR1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13ARV1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13MARCCD1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13FW1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13MAR345_1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13LF1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13LF2:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=BIS:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13DEX1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13ADSC1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13ADCSIM1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PE1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13NDSA1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PS1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PIL1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PR1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PG1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13SIM1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13ROPER1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PSL1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PVCAM1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PVA1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13PII_1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13URL1:
./ADCore/ADApp/op/adl/ADTop.adl:args="P=13SP1:
./ADEiger/eigerApp/op/adl/eigerTop.adl:args="P=3EIG1:
./ADEiger/eigerApp/op/adl/eigerTop.adl:args="P=SR13ID01HU02IOC02:
./firewireDCAM/iocs/example/exampleApp/opi/edl/firewireDCAMTop.adl:args="P=DCAM:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant