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

Post properly command file for web page #38

Open
jilavsky opened this issue Nov 30, 2019 · 4 comments
Open

Post properly command file for web page #38

jilavsky opened this issue Nov 30, 2019 · 4 comments
Assignees
Labels
enhancement New feature or request task

Comments

@jilavsky
Copy link
Contributor

This may be due to change in web page. Currently, web page is looking at https://usaxslive.xray.aps.anl.gov/specmacro.txt to show currently running command file. spec posts this correctly, BS not.

@prjemian
Copy link
Contributor

Time to rename it on the web page to command_file.txt which makes it generic for how it got there. With this change, the name accurately represents the intent of this feature pf the livedata page.

HISTORICAL NOTE

This file was originally named specmacro.txt and the content of the file that was named in SPEC with the qdo command was copied to this file. To avoid filling the livedata web page directory with a history of user macro file names, the macro file content was copied into the file specmacro.txt that is described as the command file most recently started.

@prjemian
Copy link
Contributor

prjemian commented Feb 1, 2020

Since a rename on the web page involves other software, first fix the original problem within bluesky.

@prjemian
Copy link
Contributor

prjemian commented Feb 1, 2020

investigating:

usaxs@usaxscontrol ~/.ipython $ git grep specmacro
profile_bluesky/startup/ref/macros/local/usaxs_commands.mac:  theTarget = "/tmp/specmacro.txt"

That directory is for reference only, not used by bluesky. (Might be time to delete it since it was for development of the bluesky code base here.)

Might not need a code fix in the bluesky software. Look to the livedata software. Perhaps move the issue there?

@prjemian prjemian transferred this issue from APS-USAXS/usaxs-bluesky-ended-2023 Feb 1, 2020
@prjemian prjemian added enhancement New feature or request task labels Feb 1, 2020
@prjemian prjemian added this to the 2022-10 operations at 20-ID milestone Aug 12, 2022
@prjemian
Copy link
Contributor

prjemian commented Mar 2, 2023

These two URLs have different content as of this morning (and bluesky is running):

Both appear to have content from bluesky.

specmacro.txt

bluesky command sequence
written: 2023-03-01 12:07:29.720387
====== ======================= =============================
line # action                  parameters                   
====== ======================= =============================
1      CURRENT_EXPERIMENT_NAME AFL                          
4      USAXSscan               18.95, 124.5, 0.05, p12-C1-y2
6      saxsExp                 18.95, 124.5, 0.05, p12-C1-y2
8      waxsExp                 18.95, 124.5, 0.05, p12-C1-y2
====== ======================= =============================

commands.txt

bluesky command sequence
written: 2023-03-02 10:15:21.256411
====== ======================= =============================
line # action                  parameters                   
====== ======================= =============================
1      CURRENT_EXPERIMENT_NAME AFL                          
4      USAXSscan               114.15, 10.2, 0.05, p00-D2-y2
6      saxsExp                 114.15, 10.2, 0.05, p00-D2-y2
8      waxsExp                 114.15, 10.2, 0.05, p00-D2-y2
====== ======================= =============================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request task
Projects
None yet
Development

No branches or pull requests

2 participants