Control System Studio Training Workspaces Shared Folders Kay

  • Slides: 11
Download presentation
Control System Studio Training Workspaces, Shared Folders Kay Kasemir ORNL/SNS kasemirk@ornl. gov April 2013

Control System Studio Training Workspaces, Shared Folders Kay Kasemir ORNL/SNS kasemirk@ornl. gov April 2013 Managed by UT-Battelle for the Department of Energy

Workspace Most versions of CSS prompt for a workspace at startup. Ideally, OK to

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 2 Managed by UT-Battelle for the Department of Energy

What is the Workspace? A Directory – Files you see in the CSS Navigator

What is the Workspace? A Directory – Files you see in the CSS Navigator · *. opi displays, … · Click to open – Hidden. metadata · · 3 Preference settings Window positions. log. lock Managed by UT-Battelle for the Department of Energy

Must be single-use One instance of CSS per workspace! – Two instances (with different

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, … 4 Managed by UT-Battelle for the Department of Energy

How to set the initial, “default” Workspace Command-line css -help Command-line options: -workspace_prompt /some/workspace

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 p 2. inf of example products 5 Managed by UT-Battelle for the Department of Energy

What about shared documents? /usr/fred/Workspace: /usr/jane/Workspace: CSS/Fred’s Display. opi CSS/Jane’s Display. opi ? /usr/share/controls:

What about shared documents? /usr/fred/Workspace: /usr/jane/Workspace: CSS/Fred’s Display. opi CSS/Jane’s Display. opi ? /usr/share/controls: Accelerator/main. opi Vacuum/detail. opi 6 Managed by UT-Battelle for the Department of Energy

“Linked Folder” /usr/fred/Workspace: /usr/jane/Workspace: CSS/Fred’s Display. opi Share/Accelerator/main. opi Share/Vacuum/detail. opi CSS/Jane’s Display. opi

“Linked Folder” /usr/fred/Workspace: /usr/jane/Workspace: CSS/Fred’s Display. opi Share/Accelerator/main. opi Share/Vacuum/detail. opi CSS/Jane’s Display. opi Share/Accelerator/main. opi Share/Vacuum/detail. opi “Share” in Workspace can be a link to folder outside the workspace /usr/share/controls: Accelerator/main. opi Vacuum/detail. opi 7 Managed by UT-Battelle for the Department of Energy

Creating “Linked Folder” /usr/fred/Workspace: Command-line: css -share_link /usr/share/controls=/Share CSS/Fred’s Display. opi Share/Accelerator/main. opi Share/Vacuum/detail.

Creating “Linked Folder” /usr/fred/Workspace: Command-line: css -share_link /usr/share/controls=/Share CSS/Fred’s Display. opi Share/Accelerator/main. opi Share/Vacuum/detail. opi css -share_link /usr/share/X=/CSS/X, /usr/share/Y=/The. Y Running CSS instance: Menu File, New, General/Folder, Advanced, Link … /usr/share/controls: Accelerator/main. opi Vacuum/detail. opi Only creates “Folders” below a “Project”. For a linked “Project”, need to create new “Project” with desired shared location outside of Workspace. Command-line option much easier. 8 Managed by UT-Battelle for the Department of Energy

“Global” Sharing: http: //… 1. Place site-wide files on web server 2. View in

“Global” Sharing: http: //… 1. Place site-wide files on web server 2. View in CSS Updates put on web server available w/o need to copy to every client 9 Managed by UT-Battelle for the Department of Energy

No workspace? · File/Open will often work with non-workspace files – *. opi, *.

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 10 Managed by UT-Battelle for the Department of Energy

Workspace… · Directory for files, configuration · One per CSS instance · “Linked” folders

Workspace… · Directory for files, configuration · One per CSS instance · “Linked” folders for shared files 11 Managed by UT-Battelle for the Department of Energy