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

Add a local PMPS look up flag. #207

Closed
wants to merge 4 commits into from
Closed

Conversation

nrwslac
Copy link
Contributor

@nrwslac nrwslac commented Jan 25, 2024

Description

  • added a flag in order to skip looking up beam parameters in the database for lfe-optics.

We can delete this later and enforce DB use once LFE DB is online.

Motivation and Context

  • there's currently no LFE PMPS database and we want to use multi dimensional state movers to send beam to TXI.

How Has This Been Tested?

Where Has This Been Documented?

Pre-merge checklist

  • Code works interactively
  • Test suite passes locally
  • Code contains descriptive comments
  • Libraries are set to Always Newest version (Library, *)
  • Committed with pre-commit or ran pre-commit run --all-files

<?xml version="1.0" encoding="utf-8"?>
<TcPlcObject Version="1.1.0.1" ProductVersion="3.1.4022.18">
<POU Name="FB_Read70x1CoeData" Id="{3d4514dc-8223-47db-9879-899720aca4f2}" SpecialFunc="None">
<Declaration><![CDATA[FUNCTION_BLOCK FB_Read70x1CoeData
Copy link
Member

Choose a reason for hiding this comment

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

Did a different wip branch get included in this commit accidentally? There are 2 files added that include CoE utilities.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

interesting, let me check.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I must have branched off some dev work 😲. I fixed this.

astDbStateParams=>,
bError=>,
);
IF NOT bLocalPMPS THEN
Copy link
Member

Choose a reason for hiding this comment

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

I expect this to work
I wonder if this should have a more straightforward name, e.g. bUsePmpsDB
Opinions welcome

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Your suggestions looks more consistent with the code base; updated.

@nrwslac
Copy link
Contributor Author

nrwslac commented Feb 1, 2024

This attempt seems to have been upgraded from a quick attempt to a possible future feature request; TBD if that's really needed.

@nrwslac nrwslac closed this Feb 1, 2024
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

Successfully merging this pull request may close these issues.

2 participants