-
Hi Everyone, let me start by thanking you all for the immense effort put into developing Phoebus, and into helping less experienced users like me. I just have a question regarding the conversion of EDM or MEDM files to .bob, and it's mostly related to file locations, and the folder structure. At my workplace, say with EDM, we tend to just reference other screens by file name alone, from the main screen, and then add the paths where thoes other screens reside to the EDMDATAFILES environment variable before launching the main screen. This allows EDM to find the right files, even when inside a subfolder and referenced by just the name. This works as long as EDMDATAFILES contains the full path to the secondary_folder. In practice, there might be many such secondary folders. My question is then, is there a way to tell Phoebus to use multiple folders when looking for the .bob files, in a similar manner? I know, that when using auto-conversion, it's possible to specify all the secondary folders (say for EDM) and their conversion settings, as explained here, But that seems to solve a slightly different problem, where the files are referenced using relative paths in the main_screen.edl. Note: In case my explanation is getting confusing, let me explain the use case I have in mind. I would like to run through a folder containing subfolders with edl screens and convert them all in place, so at the end, the bob screens will be in the same locations as their edl counterparts. Example: main_folder/secondary_folder/secondary_screen.edl and secondary_screen.bob The problem I have right now is that when launching main_screen.bob, and it references secondary_screen.bob (with no relative path information, because the original main_screen.edl depended on the EDMDATAFILES environment variables to tell it the search path for other screens), the process fails. main_screen.bob cannot find secondary_screen.bob In short, is there a way, like with MEDM or EMD, to specify search paths for Phoebus to find .bob files, when no relative or absolute path information is given? Thanks in advance for taking the time to clarifying this. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yes, EDM and MEDM support a search path. That is somewhat popular for a while, until you run The world wide web, which is overall more popular than EDM and MEDM, uses absolute or relative paths. Same with the file system. The display manager thus also uses absolute or relative paths, no search path, so we know right away which file we should open. When you convert EDM files, there are auto-converter options that try to deal with the search path. So there's a search path to find the file, and then you can strip a section off and place the remaining name in the destination folder. |
Beta Was this translation helpful? Give feedback.
-
https://github.com/ControlSystemStudio/phoebus/wiki/Display-Builder-Compatibility#paths |
Beta Was this translation helpful? Give feedback.
https://github.com/ControlSystemStudio/phoebus/wiki/Display-Builder-Compatibility#paths