ControlSystemStudio / cs-studio

Control System Studio is an Eclipse-based collections of tools to monitor and operate large scale control systems, such as the ones in the accelerator community.
https://controlsystemstudio.org/
Eclipse Public License 1.0
113 stars 96 forks source link

BOY PV Connection Layer preference not initialized. #108

Closed shroffk closed 11 years ago

shroffk commented 11 years ago

When a new workspace is created the PV Connection Layer preference is not correctly initialized to use pvmanager.

To reproduce the bug set PV Connection layer preference to PVManager, start cs-studio in a new workspace. None of the BOY widgets work until one manually selects pvmanager in the preference ui.

xihui commented 11 years ago

In your product plugin_customization.ini, did you set org.csstudio.opibuilder/pv_connection_layer=pvmanager ?

From: Kunal Shroff [mailto:notifications@github.com] Sent: Tuesday, August 13, 2013 2:19 PM To: ControlSystemStudio/cs-studio Cc: Chen, Xihui Subject: [cs-studio] BOY PV Connection Layer preference not initialized. (#108)

When a new workspace is created the PV Connection Layer preference is not correctly initialized to use pvmanager.

To reproduce the bug set PV Connection layer preference to PVManager, start cs-studio in a new workspace. None of the BOY widgets work until one manually selects pvmanager in the preference ui.

— Reply to this email directly or view it on GitHubhttps://github.com/ControlSystemStudio/cs-studio/issues/108.

shroffk commented 11 years ago

Yes, My plugin_customization.ini consists of the following preference settings, I remember updating the preferences when simple pv was added

//# Settings for OPI Builder org.csstudio.opibuilder/color_file=http://32.cs.nsls2.local/css/color.def org.csstudio.opibuilder/font_file=http://32.cs.nsls2.local/css/font.def org.csstudio.opibuilder/top_opis="http://32.cs.nsls2.local/css/teststand.opi" | "/BOY Examples/main.opi" | "BOY Examples/1_2_WidgetExamples.opi" org.csstudio.opibuilder/pv_connection_layer=PV_MANAGER

shroffk commented 11 years ago

NSLSII and FRIB product preferences need to be updated from PV_MANAGER to pvmanager