Skip to content

Control Variables in PALS#178

Open
qianglbl wants to merge 36 commits intopals-project:mainfrom
qianglbl:alsinjector
Open

Control Variables in PALS#178
qianglbl wants to merge 36 commits intopals-project:mainfrom
qianglbl:alsinjector

Conversation

@qianglbl
Copy link
Copy Markdown
Contributor

In a real machine like the ALS injector,
there is a middle layer that contains control variables for the EPICS system.

Where should these variables be placed within PALS?

@qianglbl qianglbl requested a review from cemitch99 February 11, 2026 22:59
@DavidSagan
Copy link
Copy Markdown
Member

This is missing PALS root node and lattice constructs.

@cemitch99 cemitch99 requested review from DavidSagan, EZoni and jlvay March 2, 2026 18:46
@cemitch99
Copy link
Copy Markdown
Contributor

cemitch99 commented Mar 2, 2026

Discussed: Remove length = 0 for Marker elements. Add default values for a few blank entry fields.

@DavidSagan
Copy link
Copy Markdown
Member

Needs header:

PALS:
  facility:

Comment thread examples/alsinj.pals.yaml Outdated

- START:
kind: Marker
length: 0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
length: 0.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

need to remove "length" line

Comment thread examples/alsinj.pals.yaml Outdated
Comment thread examples/alsinj.pals.yaml Outdated
Comment thread examples/alsinj.pals.yaml Outdated

- END:
kind: Marker
length: 0.0
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
length: 0.0

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "length" line

Comment thread examples/alsinj.pals.yaml Outdated
Comment thread examples/alsinj.pals.yaml Outdated
Copy link
Copy Markdown
Contributor

@cemitch99 cemitch99 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @qianglbl . I made some suggestions based on the discussion today.

qianglbl and others added 4 commits March 2, 2026 13:49
Co-authored-by: Chad Mitchell <46825199+cemitch99@users.noreply.github.com>
Co-authored-by: Chad Mitchell <46825199+cemitch99@users.noreply.github.com>
Co-authored-by: Chad Mitchell <46825199+cemitch99@users.noreply.github.com>
Co-authored-by: Chad Mitchell <46825199+cemitch99@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

@qianglbl qianglbl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove "length" line for START and END

@qianglbl
Copy link
Copy Markdown
Contributor Author

qianglbl commented Mar 4, 2026

@DavidSagan PALS header added. Also, I don't understand why we should remove "length : 0.0" for the START and END elements?

@qianglbl
Copy link
Copy Markdown
Contributor Author

qianglbl commented Mar 6, 2026

@DavidSagan The two length lines for START and END elements were removed.

@DavidSagan
Copy link
Copy Markdown
Member

@qianglbl It is looking good. The only thing missing now is a Lattice construct:

- ALS_Injector
    kind: Lattice
    branches:
      - LTB

@qianglbl
Copy link
Copy Markdown
Contributor Author

@DavidSagan Thanks and added the Lattice construct.

@EZoni
Copy link
Copy Markdown
Member

EZoni commented Apr 13, 2026

@qianglbl

Do we want to include control variable information in this PR? If not, what does this example alone, as is, describe?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants