kasemir / org.csstudio.display.builder

Update of org.csstudio.opibuilder.*
Eclipse Public License 1.0
2 stars 10 forks source link

execute runtime directly #473

Closed kyungyoonseo closed 5 years ago

kyungyoonseo commented 5 years ago

Hello

generally, on the navigator click run or open with OPI runtime mode.

but i want to make it easier with command line.

I found it can be possible with options like

./css --launcher.openFile

but it doesn't work.

What I want is an environment where you can run the window standalone opi runtime immediately after double-clicking on the opi file, or give the run-time option to view the runtime without going through Edit mode.

please help.. :)

kasemir commented 5 years ago

Congratulations for finding out that the --launcher.openFile mechanism simply doesn't work reliably.

Unless you have to use the Eclipse-based CS-Studio because you need to use BOY, consider using the newer Phoebus-based CS-Studio, https://controlssoftware.sns.ornl.gov/css_phoebus. With it, opening resources from the command line works more reliably:

phoebus -resource file:/path/to/file?app=display_runtime&MACRO1=value+1&MACRO2=abc
kyungyoonseo commented 5 years ago

Thank you for reply,

Is there any other solutions with using not Phoebus-based CSS but Eclipse-based CSS ?

also, i am looking for .opi viewer like other viewers( ex. pdf, png and so on)

if there are other opi viewer, i dont need to spend time for this issue :)

kasemir commented 5 years ago

Closing, duplicated in #474