ISISComputingGroup / ISISComputingGroup/IBEX

Device screens: warn if corresponding IOC is not configured

Open
#7,197 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
6
Forks
2
Avg merge
16h 40m
Merged PRs (30d)
2

Description

## Where?

As a user, I would like a warning if I try to look at an OPI for a device which is not configured. This warning should not *prevent* looking at the OPI, as this is sometimes useful for debugging/development, but should be obvious to users.

For some background on the issue, see https://github.com/ISISComputingGroup/IBEX/issues/7152

## How?

- Will need to discuss how we map OPIs to IOCs. This is not always a 1-1 mapping; some devices have multiple OPIs, and some OPIs require multiple IOCs.
- It is probably best to have a meeting to decide on the implementation of this change *before* attempting to implement it.
- We will need to consider macros defined in the configuration, components, and `globals.txt` as these are all valid places to configure an IOC.
- Carefully consider what "unconfigured" means. For example the eurotherm requires `PORT` and some number of `ADDR_x` macros, but any combination of `ADDR_x` macros might be valid so none of the `ADDR_x` macros are (individually) mandatory.

## Acceptance criteria

- [ ] If I open an OPI for an unconfigured device, I get a warning, but this does not prevent the OPI from being usable.
- [ ] If I open an OPI for a configured device, no warning is issued.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.