110 likes | 262 Views
Control System Studio Training - Workspaces, Shared Folders. Kay Kasemir ORNL/SNS kasemirk@ornl.gov April 2013. Workspace. Most versions of CSS prompt for a workspace at startup. Ideally, OK to just say “ OK ” .
E N D
Control System Studio Training-Workspaces,Shared Folders Kay Kasemir ORNL/SNS kasemirk@ornl.gov April 2013
Workspace Most versions of CSS prompt for a workspace at startup. Ideally, OK to just say “OK”. Change later via menu File, Switch Workspace, but effectively a re-start of CSS
What is the Workspace? A Directory • Files you see in the CSS Navigator • *.opi displays, … • Click to open • Hidden .metadata • Preference settings • Window positions • .log • .lock
Must be single-use One instance of CSS per workspace! • Two instances (with different window positions etc.) can’t share the same “Workspace” • Each user should have own workspace • Maybe multiple: One for development, one for operation, …
How to set the initial, “default” Workspace Command-line css -help Command-line options: -workspace_prompt /some/workspace : Present workspace dialog with given default -data /some/workspace : Select workspace on command-line, no prompt -share_link /path/to/folder=/CSS/Share : Create links to shared folder Custom product css/configuration/config.ini:osgi.instance.area.default=@user.home/CSS-Workspaces/Default See p2.inf of example products
What about shared documents? /usr/fred/Workspace:CSS/Fred’s Display.opi /usr/jane/Workspace:CSS/Jane’s Display.opi ? /usr/share/controls:Accelerator/main.opi Vacuum/detail.opi
“Linked Folder” /usr/fred/Workspace:CSS/Fred’s Display.opiShare/Accelerator/main.opiShare/Vacuum/detail.opi /usr/jane/Workspace:CSS/Jane’s Display.opiShare/Accelerator/main.opiShare/Vacuum/detail.opi “Share” in Workspace can be a link to folder outside the workspace /usr/share/controls:Accelerator/main.opi Vacuum/detail.opi
Creating “Linked Folder” /usr/fred/Workspace:CSS/Fred’s Display.opiShare/Accelerator/main.opiShare/Vacuum/detail.opi Command-line: css -share_link /usr/share/controls=/Sharecss -share_link /usr/share/X=/CSS/X,/usr/share/Y=/TheY Running CSS instance: Menu File, New, General/Folder, Advanced, Link … Only creates “Folders”below a “Project”.For a linked “Project”, need tocreate new “Project” with desiredshared location outside of Workspace. Command-line option much easier. /usr/share/controls:Accelerator/main.opi Vacuum/detail.opi
“Global” Sharing: http://… • Place site-wide files on web server • View in CSS Updates put on webserver available w/oneed to copy to everyclient
No workspace? • File/Open will often work with non-workspace files • *.opi, *.plt • Windows, OS X: Associate CSS with those file endings • Saving files currently limited to workspace
Workspace… • Directory for files, configuration • One per CSS instance • “Linked” folders for shared files