Skip to content

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

@jlmuir

Description

@jlmuir

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:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions