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

multiple calls to set_pass1_restoreFile() with the same filename but different macros #30

Open
hinxx opened this issue Dec 13, 2019 · 0 comments

Comments

@hinxx
Copy link

hinxx commented Dec 13, 2019

I'm trying to use these restore lines:

set_pass0_restoreFile("$(IOC_DIR)/channel_default_settings.sav", "P=$(PREFIX),R=,CH=CH1-")
set_pass1_restoreFile("$(IOC_DIR)/channel_default_settings.sav", "P=$(PREFIX),R=,CH=CH1-")
set_pass0_restoreFile("$(IOC_DIR)/channel_default_settings.sav", "P=$(PREFIX),R=,CH=CH2-")
set_pass1_restoreFile("$(IOC_DIR)/channel_default_settings.sav", "P=$(PREFIX),R=,CH=CH2-")
set_pass0_restoreFile("$(IOC_DIR)/channel_default_settings.sav", "P=$(PREFIX),R=,CH=CH3-")
set_pass1_restoreFile("$(IOC_DIR)/channel_default_settings.sav", "P=$(PREFIX),R=,CH=CH3-")
set_pass0_restoreFile("$(IOC_DIR)/channel_default_settings.sav", "P=$(PREFIX),R=,CH=CH4-")
set_pass1_restoreFile("$(IOC_DIR)/channel_default_settings.sav", "P=$(PREFIX),R=,CH=CH4-")

The effect I'm seeing is that only PVs with CH=CH1- macro get their values set.
Other PVs (where CH macro is CH2-, CH3- and CH4-) are not set.

Is there any way to get all of the PV values to be set?

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

No branches or pull requests

1 participant