You can subscribe to this list here.
2010 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(2) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2011 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(2) |
Dec
|
2012 |
Jan
(4) |
Feb
(1) |
Mar
(3) |
Apr
|
May
(2) |
Jun
(5) |
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(3) |
2013 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
(3) |
Sep
(4) |
Oct
(3) |
Nov
|
Dec
(2) |
2014 |
Jan
|
Feb
|
Mar
(3) |
Apr
(1) |
May
(9) |
Jun
(21) |
Jul
(3) |
Aug
(5) |
Sep
(17) |
Oct
(10) |
Nov
(3) |
Dec
|
2015 |
Jan
|
Feb
|
Mar
(3) |
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(2) |
2017 |
Jan
|
Feb
|
Mar
(3) |
Apr
(4) |
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
From: <wil...@di...> - 2014-10-10 15:48:14
|
Ouch - that may be quite a big deal for us. I guess we will recreate the problem before attempting to solve. Cheers, Will ________________________________________ From: Kasemir, Kay [kas...@or...] Sent: 10 October 2014 16:35 To: Rogers, Will (DLSLtd,RAL,TEC) Cc: <eri...@gm...>; <cs-...@li...> Subject: Re: [Cs-studio-users] launcher.openFile and macros .. but it doesn't work reliably on Linux for us. With the --launcher.openFile option, the launcher tries to locate an already running instance. If found, it asks that instance to open the file. Otherwise it starts a new instance of CSS. How the already running instance is located depends on the operating system, but basically it looks for a window with matching name, and then sends a message to that window, for example an X11 message on Linux. That's also why the product name must be set correctly, see http://cs-studio.sourceforge.net/docbook/ch29.html On our Linux setups, it works for a little while. But once CSS has been running for longer, the launcher will no longer find the already running instance. -Kay On Oct 10, 2014, at 11:20 AM, <wil...@di...> wrote: > OK, so: > > cs-studio --launcher.openFile "<path to file> macro1=value1,macro2=value2" > > Thanks! -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom |
From: Kasemir, K. <kas...@or...> - 2014-10-10 15:35:27
|
.. but it doesn't work reliably on Linux for us. With the --launcher.openFile option, the launcher tries to locate an already running instance. If found, it asks that instance to open the file. Otherwise it starts a new instance of CSS. How the already running instance is located depends on the operating system, but basically it looks for a window with matching name, and then sends a message to that window, for example an X11 message on Linux. That's also why the product name must be set correctly, see http://cs-studio.sourceforge.net/docbook/ch29.html On our Linux setups, it works for a little while. But once CSS has been running for longer, the launcher will no longer find the already running instance. -Kay On Oct 10, 2014, at 11:20 AM, <wil...@di...> wrote: > OK, so: > > cs-studio --launcher.openFile "<path to file> macro1=value1,macro2=value2" > > Thanks! |
From: <wil...@di...> - 2014-10-10 15:21:55
|
OK, so: cs-studio --launcher.openFile "<path to file> macro1=value1,macro2=value2" Thanks! ________________________________ From: Eric Berryman [eri...@gm...] Sent: 10 October 2014 15:52 To: Rogers, Will (DLSLtd,RAL,TEC) Cc: cs-...@li... Subject: Re: [Cs-studio-users] launcher.openFile and macros Yes! Actually, in my Windows installer I add the registry changes: [Registry] Root: HKCR; Subkey: ".opi"; ValueType: String; ValueData: "BOY"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "BOY"; ValueType: String; ValueData: "BOY"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "BOY\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\OPIRunner.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "BOY\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1 Position=Detached"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: ".css-pvtable"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: ".pvs"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "PVTable"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "PVTable\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\pvtable.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "PVTable\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: ".plt"; ValueType: String; ValueData: "DataBrowser"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "DataBrowser"; ValueType: String; ValueData: "DataBrowser"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "DataBrowser\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\databrowser.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "DataBrowser\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; On Oct 10, 2014 10:35 AM, <wil...@di...<mailto:wil...@di...>> wrote: Hello all, It's possible to open a file in CS Studio from the command line using --launcher.openFile Is it possible to pass macros when doing this? Cheers, Will -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom ------------------------------------------------------------------------------ Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk _______________________________________________ Cs-studio-users mailing list Cs-...@li...<mailto:Cs-...@li...> https://lists.sourceforge.net/lists/listinfo/cs-studio-users -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom |
From: Eric B. <eri...@gm...> - 2014-10-10 14:52:45
|
Yes! Actually, in my Windows installer I add the registry changes: [Registry] Root: HKCR; Subkey: ".opi"; ValueType: String; ValueData: "BOY"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "BOY"; ValueType: String; ValueData: "BOY"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "BOY\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\OPIRunner.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "BOY\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1 Position=Detached"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: ".css-pvtable"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: ".pvs"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "PVTable"; ValueType: String; ValueData: "PVTable"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "PVTable\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\pvtable.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "PVTable\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: ".plt"; ValueType: String; ValueData: "DataBrowser"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletevalue Root: HKCR; Subkey: "DataBrowser"; ValueType: String; ValueData: "DataBrowser"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Flags: uninsdeletekey Root: HKCR; Subkey: "DataBrowser\DefaultIcon"; ValueType: String; ValueData: "{app}\applicationIcons\databrowser.ico"; Tasks: cssAssociation; MinVersion: 0.0,5.0; Root: HKCR; Subkey: "DataBrowser\shell\open\command"; ValueType: String; ValueData: """{app}\cs-studio.exe"" --launcher.openFile ""%1"""; Tasks: cssAssociation; MinVersion: 0.0,5.0; On Oct 10, 2014 10:35 AM, <wil...@di...> wrote: > Hello all, > > It's possible to open a file in CS Studio from the command line using > --launcher.openFile > > Is it possible to pass macros when doing this? > > Cheers, > Will > > -- > This e-mail and any attachments may contain confidential, copyright and or > privileged material, and are for the use of the intended addressee only. If > you are not the intended addressee or an authorised recipient of the > addressee please notify us of receipt by returning the e-mail and do not > use, copy, retain, distribute or disclose the information in or attached to > the e-mail. > Any opinions expressed within this e-mail are those of the individual and > not necessarily of Diamond Light Source Ltd. > Diamond Light Source Ltd. cannot guarantee that this e-mail or any > attachments are free from viruses and we cannot accept liability for any > damage which you may sustain as a result of software viruses which may be > transmitted in or with the message. > Diamond Light Source Limited (company no. 4375679). Registered in England > and Wales with its registered office at Diamond House, Harwell Science and > Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom > > > > > > > ------------------------------------------------------------------------------ > Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer > Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports > Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper > Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer > > http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk > _______________________________________________ > Cs-studio-users mailing list > Cs-...@li... > https://lists.sourceforge.net/lists/listinfo/cs-studio-users > |
From: <wil...@di...> - 2014-10-10 14:35:49
|
Hello all, It's possible to open a file in CS Studio from the command line using --launcher.openFile Is it possible to pass macros when doing this? Cheers, Will -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom |
From: zunbeltz <zun...@es...> - 2014-09-23 09:05:42
|
Dear Martin, Thanks for the information and avices. Indeed my idea was to store the sort-time data in a table/DB that I could just simple drop or remove. Best regards, Zunbeltz az., 2014.eko iraren 17a 17:42(e)an, Konrad, Martin igorleak idatzi zuen: > Hi Zunbeltz, >> Do you take some care on not trying to write at the same time with >> different engines? Or some ohter measure? > You don't need to do that. The DBMS takes care of that. You simply write > values with a channel name and a timestamp into the table. When you > retrieve data you get everything that matches your request (e.g. a > certain channel name and within a certain time span). > >>> In principle, the channel configuration contains a "retention" >>> parameter. You could configure that to for example set the >>> retention of some channels to "1 year", and then you can write a >>> tool that deletes data for those channels that's older than one >>> year. For now, nobody has written such a tool. > Be aware thought, that deleting data usually does not free up disk space > with most RDBMS. You also need to run VACUUM which can take a long time. > That's why some labs use different RDBMS archivers, e.g. > > Archiver 1. Stores the full data (e.g. 10 Hz), keeps data for 1 week, > uses fast SSDs > Archiver 2. Reduces data to 1 sample per minute, keeps data forever, > uses slow hard drives > > If you partition your database over time (1 partition per week) you can > simply keep two tables (in other words: DROP one table every week - > which is very fast). Partitioning can also speed up data retrieval a > bit. See [1] for details. > >>> The SLAC Archive appliance has the idea of >>> short-term/middle-term/long-term > Since the (SLAC) Archiver Appliance is not using a RDBMS for data > storage (only for meta data) it can handle this in a different way: It > saves data to short-term storage (usually a RAM disk) first. After a > certain time it moves the files to mid-term storage (usually local disk) > and after an even longer time it moves the data to long-term storage > (usually NFS). This ETL process does not reduce the amount of data _by > default_ but I think you _can_ configure filters [2] that reduce the > amount of data along with the ETL process. > > HTH, > > Martin > > [1] http://accelconf.web.cern.ch/AccelConf/pcapac2012/papers/wepd03.pdf > [2] http://epicsarchiverap.sourceforge.net/userguide.html#post_processing > -- Dr. Zunbeltz Izaola Accelerator Physics Group ESS-Bilbao |
From: zunbeltz <zun...@es...> - 2014-09-23 09:02:26
|
Hi, az., 2014.eko iraren 17a 15:28(e)an, Kasemir, Kay igorleak idatzi zuen: > > That's handled by the relational database. > A channel is only within one group, within one engine. > So there aren't two engines writing to the same channel. > All the rest, the transactional integrity, is handled by the RDB, which is why this archive setup is so dependable. But as far as I understood, it is possible to configure the same channel in different ArchiveEngine instances, isn't it? Sure you can not put the same twice in the configuration file for an engine, but I don't see what forbid it Archive Engines are running in different machines. >>> There is no short-term/middle-term/long-term, though. All go to the same RDB tables. >>> >>> In principle, the channel configuration contains a "retention" parameter. >>> You could configure that to for example set the retention of some channels to "1 year", and then you can write a tool that deletes data for those channels that's older than one year. >>> For now, nobody has written such a tool. >> In our installation we have just 290 PVs (4 of them are 2500 arrays). Most of the PV are sotred on change (this means that ACCT noise data is stored at the moment). This amounts to ~7 GB of data per day. I can image that at SNS you have a much bigger data. What do you cope with that? > We have close to 90000 PVs, generating only about 1200 values per second. It amounts to about 1.4 TB per year. > Right now the machine is off, and we have about 350 values per second. > See also attached stats from the web report, generated by the Archive Reports package you can get from https://ics-web.sns.ornl.gov/css/products.html . > Obviously we are doing something wrong here. I guess our IOC servers are updating values to much or we are storing to much "noise". Is not reasonable at a small ion source + lebt is generating twice as much data as whole SNS accelerator! > The SLAC Archive appliance is very promising: > People simple add PV names, and it figures out how to store them: Sample at what period, which engine to use from a list of available ones, storing the data first in a RAM disk, then on a local disk, then on some NFS-mounted drive for longer storage. > It's very fast, because it's using its own file format, with its own code to read and write that, no RDB overhead. > I worry a little because that's what the original Channel Archiver did. As the data grew, we had to add custom index files to speed up access to the growing number of files, then add tools to manage the data, and eventually it looked much easier to just use an RDB which already has all those features, well tested - but certainly slower. > By now, I believe SLAC and a few other sites have been using the SLAC Archive appliance for a while, so it seems to work OK. > > Than My idea of the short-term database, was something like this: Store as much as possible data in case something breaks. If something breaks you can do the post-morten analysis. If everything is fine delete the data daily (or every two days). Regards, Zunbeltz > ks, > Kay > -- Dr. Zunbeltz Izaola Accelerator Physics Group ESS-Bilbao |
From: Konrad, M. <ko...@fr...> - 2014-09-17 15:42:23
|
Hi Zunbeltz, > Do you take some care on not trying to write at the same time with > different engines? Or some ohter measure? You don't need to do that. The DBMS takes care of that. You simply write values with a channel name and a timestamp into the table. When you retrieve data you get everything that matches your request (e.g. a certain channel name and within a certain time span). >> In principle, the channel configuration contains a "retention" >> parameter. You could configure that to for example set the >> retention of some channels to "1 year", and then you can write a >> tool that deletes data for those channels that's older than one >> year. For now, nobody has written such a tool. Be aware thought, that deleting data usually does not free up disk space with most RDBMS. You also need to run VACUUM which can take a long time. That's why some labs use different RDBMS archivers, e.g. Archiver 1. Stores the full data (e.g. 10 Hz), keeps data for 1 week, uses fast SSDs Archiver 2. Reduces data to 1 sample per minute, keeps data forever, uses slow hard drives If you partition your database over time (1 partition per week) you can simply keep two tables (in other words: DROP one table every week - which is very fast). Partitioning can also speed up data retrieval a bit. See [1] for details. >> The SLAC Archive appliance has the idea of >> short-term/middle-term/long-term Since the (SLAC) Archiver Appliance is not using a RDBMS for data storage (only for meta data) it can handle this in a different way: It saves data to short-term storage (usually a RAM disk) first. After a certain time it moves the files to mid-term storage (usually local disk) and after an even longer time it moves the data to long-term storage (usually NFS). This ETL process does not reduce the amount of data _by default_ but I think you _can_ configure filters [2] that reduce the amount of data along with the ETL process. HTH, Martin [1] http://accelconf.web.cern.ch/AccelConf/pcapac2012/papers/wepd03.pdf [2] http://epicsarchiverap.sourceforge.net/userguide.html#post_processing -- Martin Konrad Control System Engineer Facility for Rare Isotope Beams Michigan State University 640 South Shaw Lane East Lansing, MI 48824-1321, USA Tel. 517-908-7253 Email: ko...@fr... |
From: Benoit <ben...@gm...> - 2014-09-17 10:44:47
|
Dear all, I am using CSS/BOY 3.2.16 and I have found a small bug with confirmation dialog and keyboard: - I have used a Boolean Button with Confirmation Dialgog when Pushing - This button is connected to a PV called $(user):CtrlRstCmd that when we write 1 inside it reset some part of our HW and go back to zero automatically. - If I press the button a confirmation dialog is open - If I use the mouse to click Cancel, No or Yes everything is working well - If I use the keyboard to select: Cancel, No or Yes, the mouse stay in "pressed mode" (icon of finger in my PC) and when I click again the confirmation dialog re-appears. - This action can be done in loop until the mouse enter in another clickable widget. Then I have another question, In my EPICS database I have some characters (degree symbol: º) saved in UTF-8 format. This character can be read correctly using CSS/BOY under Ubuntu but not with CentOS. How could I solve this problem, do I have a way to force charset to UTF-8. Cheers, -- Benoit RAT www.neub.co.nr |
From: zunbeltz <zun...@es...> - 2014-09-17 10:10:12
|
Dear Kay (I answer inline): ar., 2014.eko iraren 16a 20:07(e)an, Kasemir, Kay igorleak idatzi zuen: > Hi: > > We run about 40 archive engines. One for channels related to vacuum, one for water, one for low-level RF, … > All write to the same RDB, so that's not a problem. Do you take some care on not trying to write at the same time with different engines? Or some ohter measure? > There is no short-term/middle-term/long-term, though. All go to the same RDB tables. > > In principle, the channel configuration contains a "retention" parameter. > You could configure that to for example set the retention of some channels to "1 year", and then you can write a tool that deletes data for those channels that's older than one year. > For now, nobody has written such a tool. In our installation we have just 290 PVs (4 of them are 2500 arrays). Most of the PV are sotred on change (this means that ACCT noise data is stored at the moment). This amounts to ~7 GB of data per day. I can image that at SNS you have a much bigger data. What do you cope with that? > The SLAC Archive appliance has the idea of short-term/middle-term/long-term, you'll have to look for info on that, it's a different system. > As an end user, you can view data from that with the same CSS data browser, but the archive config/engine/storage/maintenance is different. Thanks for the information. Best regards, Zunbeltz > -Kay > > > On Sep 16, 2014, at 6:08 AM, zunbeltz <zun...@es...> > wrote: > >> Dear all, >> >> As I understand from the CSS documentation; it is possible to have >> multiple ArchiveEngine programs running (even in the same computer) >> different archive prupouses (like short-term, middle-term and long-term >> archiving). Am I right? >> >> My question is: Is it possible to write to the same DB from different >> ArchiveEngine? Is it dangerous or not a good idea? >> My intention is the following. I want to setup a DB for long term >> archiving for the machine physics group. The idea is to store parameters >> with a low frequency, but I also need some how to store more parameter >> when we are running, say a Wire Scanner experiment. For this I was >> thinking to just run another ArchiveEngine that writes to the long term >> DB. Sounds it right? >> >> Thanks in advance, >> >> Zunbeltz >> >> -- >> Dr. Zunbeltz Izaola >> Accelerator Physics Group >> ESS-Bilbao >> >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce. >> Perforce version control. Predictably reliable. >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> _______________________________________________ >> Cs-studio-users mailing list >> Cs-...@li... >> https://lists.sourceforge.net/lists/listinfo/cs-studio-users -- Dr. Zunbeltz Izaola Accelerator Physics Group ESS-Bilbao |
From: Kasemir, K. <kas...@or...> - 2014-09-16 18:07:51
|
Hi: We run about 40 archive engines. One for channels related to vacuum, one for water, one for low-level RF, … All write to the same RDB, so that's not a problem. There is no short-term/middle-term/long-term, though. All go to the same RDB tables. In principle, the channel configuration contains a "retention" parameter. You could configure that to for example set the retention of some channels to "1 year", and then you can write a tool that deletes data for those channels that's older than one year. For now, nobody has written such a tool. The SLAC Archive appliance has the idea of short-term/middle-term/long-term, you'll have to look for info on that, it's a different system. As an end user, you can view data from that with the same CSS data browser, but the archive config/engine/storage/maintenance is different. -Kay On Sep 16, 2014, at 6:08 AM, zunbeltz <zun...@es...> wrote: > Dear all, > > As I understand from the CSS documentation; it is possible to have > multiple ArchiveEngine programs running (even in the same computer) > different archive prupouses (like short-term, middle-term and long-term > archiving). Am I right? > > My question is: Is it possible to write to the same DB from different > ArchiveEngine? Is it dangerous or not a good idea? > My intention is the following. I want to setup a DB for long term > archiving for the machine physics group. The idea is to store parameters > with a low frequency, but I also need some how to store more parameter > when we are running, say a Wire Scanner experiment. For this I was > thinking to just run another ArchiveEngine that writes to the long term > DB. Sounds it right? > > Thanks in advance, > > Zunbeltz > > -- > Dr. Zunbeltz Izaola > Accelerator Physics Group > ESS-Bilbao > > > ------------------------------------------------------------------------------ > Want excitement? > Manually upgrade your production database. > When you want reliability, choose Perforce. > Perforce version control. Predictably reliable. > http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk > _______________________________________________ > Cs-studio-users mailing list > Cs-...@li... > https://lists.sourceforge.net/lists/listinfo/cs-studio-users |
From: zunbeltz <zun...@es...> - 2014-09-16 10:08:23
|
Dear all, As I understand from the CSS documentation; it is possible to have multiple ArchiveEngine programs running (even in the same computer) different archive prupouses (like short-term, middle-term and long-term archiving). Am I right? My question is: Is it possible to write to the same DB from different ArchiveEngine? Is it dangerous or not a good idea? My intention is the following. I want to setup a DB for long term archiving for the machine physics group. The idea is to store parameters with a low frequency, but I also need some how to store more parameter when we are running, say a Wire Scanner experiment. For this I was thinking to just run another ArchiveEngine that writes to the long term DB. Sounds it right? Thanks in advance, Zunbeltz -- Dr. Zunbeltz Izaola Accelerator Physics Group ESS-Bilbao |
From: Chen X. <xu...@bi...> - 2014-09-12 20:17:48
|
Hi, there, We want to have a password protection on an action button when we click the button. How could we implement it? Thank you, Chen |
From: Chen X. <xu...@bi...> - 2014-09-12 20:06:52
|
Hi, there, We want to have a password protection on an action button when we click the button. How could we implement it? Thank you, Chen |
From: zunbeltz <zun...@es...> - 2014-09-09 12:15:19
|
Just to say that I find the nice web browser interface! Finally, I was able to configure everything and it seems running fine. Thanks, Zunbeltz al., 2014.eko iraren 08a 12:57(e)an, zun...@es... igorleak idatzi zuen: > Dear Kay, > > Thanks for the explanation. I configured the broadcast addresses but it > still seems that the engine is not getting data or that is not writting > anything to our DB. Is there any easy way to know which to the two is the > problem? (like redirecting to a text file the data) > > I attach the conifguration file and the log with the debug detail. > > Thanks > > The output on the console is: > kontrol@zboson eclipse]$ ./ArchiveEngine -port 4811 -rdb_url > jdbc:mysql://localhost:3306/archive -rdb_user **** -rdb_password ****** > -engine ****** -pluginCustomization > /home/kontrol/workspace/bin/engine/eclipse/plugin_customization.ini > * 2014-09-08 12:51:50,636 INFO [main] archive.engine.Application (?:?) - > Archive Engine 1.2.3 > 2014-09-08 12:51:50.893:INFO::Logging to STDERR via org.mortbay.log.StdErrLog > 2014-09-08 12:51:50.936:INFO::jetty-6.1.x > 2014-09-08 12:51:50.968:INFO::Started SelectChannelConnector@0.0.0.0:4811 > * 2014-09-08 12:51:50,980 INFO [main] engine.server.EngineServer (?:?) - > Engine HTTP Server port 4811 > * 2014-09-08 12:51:50,981 INFO [main] archive.engine.Application (?:?) - > Reading configuration 'DEMO' > * 2014-09-08 12:51:51,002 INFO [main] > engine.model.MonitoredArchiveChannel (?:?) - BP:LEBT:BD:ACCT1:BeamCurr: No > known last value > * 2014-09-08 12:51:51,038 INFO [main] archive.engine.Application (?:?) - > Read configuration: 1 channels in 0.056 seconds > * 2014-09-08 12:51:51,039 INFO [main] archive.engine.Application (?:?) - > Running, CA addr list: 127.0.0.1 10.20.0.255 10.30.0.255 > * 2014-09-08 12:51:51,041 INFO [WriteThread] engine.model.WriteThread > (?:?) - WriteThread starts > 0 > time for write no wile 0 sample:11 > time method write 0.010581904 > delay: 4990 > * 2014-09-08 12:51:51,207 INFO [ScanThread] engine.scanner.ScanThread > (?:?) - Scan Thread runs > 0 > time for write no wile 0 sample:1 > time method write 6.04778E-4 > delay: 5000 > 0 > time for write no wile 0 sample:1 > time method write 6.78464E-4 > delay: 5000 > 0 > time for write no wile 0 sample:1 > time method write 6.22518E-4 > delay: 5000 > 0 > time for write no wile 0 sample:0 > time method write 6.48291E-4 > delay: 5000 > 0 > time for write no wile 0 sample:0 > time method write 6.65963E-4 > delay: 5000 > > > >> On Sep 4, 2014, at 9:54 AM, zunbeltz <zun...@es...> >> wrote: >>> Thanks for the help Kay, >>> >>> Sorry for my ignorance in network setups but I have a question. >>> In the EPICS_CA_ADDR_LIST i have the IP addresses of S1 and S2. >>> Are addr-broadcast-address-of-subnet1, ... equal to these IPs? >> They're different. >> On a Linux computer, check /sbin/ifconfig. On Windows, check ipconfig. >> Look for the IP address, the net mask, and the broadcast address listed in >> there. >> >> Your IP addresses might be something like >> >> S1=123.45.10.1 >> S2=123.45.20.1 >> >> If your net masks are 255.255.255.0, their subnets would be >> >> Subnet where S1 resides=123.45.10.0 >> Subnet where S2 resides=123.45.20.0 >> >> and the associated broadcast addresses would be >> >> Broadcast for S1's subnet=123.45.10.255 >> Broadcast for S2's subnet=123.45.20.255 >> >> >> Why you would use the IP addresses >> export EPICS_CA_ADDR_LIST="123.45.10.1 123.45.20.1" >> respectively >> org.csstudio.platform.libs.epics/addr_list=123.45.10.1 123.45.20.1 >> ? >> >> IP addresses will work through most routers, and you get PVs from just >> those IOCs, in case you have the same PVs on multiple IOCs. >> You should not have the same channel name on multiple IOCs in the first >> place, so that's not a good reason to list individual IOC IP addresses. >> >> So this might look like the easiest way to get going, but broadcast >> addresses are better in the long run, i.e. >> export EPICS_CA_ADDR_LIST="123.45.10.255 123.45.20.255" >> respectively >> org.csstudio.platform.libs.epics/addr_list=123.45.10.255 123.45.20.255 >> >> In the real world, you don't have 2 IOCs. You might have 500, and you >> can't list the IP address of each single IOC. >> Even if you only have 5 IOCs. One day you'll add one more. Do you then >> want to track down every CA client and update its CA address list? >> And if you run more than one IOC on the same computer, you MUST use >> broadcast addresses, because otherwise you will only see the PVs from the >> IOC that was started _last_, see again >> https://wiki-ext.aps.anl.gov/epics/index.php/How_to_Configure_Channel_Access >> The only downside: You may need to configure the affected routers to pass >> those broadcasts. >> >> ===> In the real world, your clients will eventually either use broadcast >> addresses, or the single IP address of a CA gateway (and that gateway then >> uses broadcast addresses). >> >> -Kay >> >> >> ------------------------------------------------------------------------------ >> Want excitement? >> Manually upgrade your production database. >> When you want reliability, choose Perforce >> Perforce version control. Predictably reliable. >> http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk >> >> >> _______________________________________________ >> Cs-studio-users mailing list >> Cs-...@li... >> https://lists.sourceforge.net/lists/listinfo/cs-studio-users -- Dr. Zunbeltz Izaola Accelerator Physics Group ESS-Bilbao |
From: <zun...@es...> - 2014-09-08 10:57:19
|
Dear Kay, Thanks for the explanation. I configured the broadcast addresses but it still seems that the engine is not getting data or that is not writting anything to our DB. Is there any easy way to know which to the two is the problem? (like redirecting to a text file the data) I attach the conifguration file and the log with the debug detail. Thanks The output on the console is: kontrol@zboson eclipse]$ ./ArchiveEngine -port 4811 -rdb_url jdbc:mysql://localhost:3306/archive -rdb_user **** -rdb_password ****** -engine ****** -pluginCustomization /home/kontrol/workspace/bin/engine/eclipse/plugin_customization.ini * 2014-09-08 12:51:50,636 INFO [main] archive.engine.Application (?:?) - Archive Engine 1.2.3 2014-09-08 12:51:50.893:INFO::Logging to STDERR via org.mortbay.log.StdErrLog 2014-09-08 12:51:50.936:INFO::jetty-6.1.x 2014-09-08 12:51:50.968:INFO::Started SelectChannelConnector@0.0.0.0:4811 * 2014-09-08 12:51:50,980 INFO [main] engine.server.EngineServer (?:?) - Engine HTTP Server port 4811 * 2014-09-08 12:51:50,981 INFO [main] archive.engine.Application (?:?) - Reading configuration 'DEMO' * 2014-09-08 12:51:51,002 INFO [main] engine.model.MonitoredArchiveChannel (?:?) - BP:LEBT:BD:ACCT1:BeamCurr: No known last value * 2014-09-08 12:51:51,038 INFO [main] archive.engine.Application (?:?) - Read configuration: 1 channels in 0.056 seconds * 2014-09-08 12:51:51,039 INFO [main] archive.engine.Application (?:?) - Running, CA addr list: 127.0.0.1 10.20.0.255 10.30.0.255 * 2014-09-08 12:51:51,041 INFO [WriteThread] engine.model.WriteThread (?:?) - WriteThread starts 0 time for write no wile 0 sample:11 time method write 0.010581904 delay: 4990 * 2014-09-08 12:51:51,207 INFO [ScanThread] engine.scanner.ScanThread (?:?) - Scan Thread runs 0 time for write no wile 0 sample:1 time method write 6.04778E-4 delay: 5000 0 time for write no wile 0 sample:1 time method write 6.78464E-4 delay: 5000 0 time for write no wile 0 sample:1 time method write 6.22518E-4 delay: 5000 0 time for write no wile 0 sample:0 time method write 6.48291E-4 delay: 5000 0 time for write no wile 0 sample:0 time method write 6.65963E-4 delay: 5000 > On Sep 4, 2014, at 9:54 AM, zunbeltz <zun...@es...> > wrote: >> Thanks for the help Kay, >> >> Sorry for my ignorance in network setups but I have a question. >> In the EPICS_CA_ADDR_LIST i have the IP addresses of S1 and S2. >> Are addr-broadcast-address-of-subnet1, ... equal to these IPs? > > They're different. > On a Linux computer, check /sbin/ifconfig. On Windows, check ipconfig. > Look for the IP address, the net mask, and the broadcast address listed in > there. > > Your IP addresses might be something like > > S1=123.45.10.1 > S2=123.45.20.1 > > If your net masks are 255.255.255.0, their subnets would be > > Subnet where S1 resides=123.45.10.0 > Subnet where S2 resides=123.45.20.0 > > and the associated broadcast addresses would be > > Broadcast for S1's subnet=123.45.10.255 > Broadcast for S2's subnet=123.45.20.255 > > > Why you would use the IP addresses > export EPICS_CA_ADDR_LIST="123.45.10.1 123.45.20.1" > respectively > org.csstudio.platform.libs.epics/addr_list=123.45.10.1 123.45.20.1 > ? > > IP addresses will work through most routers, and you get PVs from just > those IOCs, in case you have the same PVs on multiple IOCs. > You should not have the same channel name on multiple IOCs in the first > place, so that's not a good reason to list individual IOC IP addresses. > > So this might look like the easiest way to get going, but broadcast > addresses are better in the long run, i.e. > export EPICS_CA_ADDR_LIST="123.45.10.255 123.45.20.255" > respectively > org.csstudio.platform.libs.epics/addr_list=123.45.10.255 123.45.20.255 > > In the real world, you don't have 2 IOCs. You might have 500, and you > can't list the IP address of each single IOC. > Even if you only have 5 IOCs. One day you'll add one more. Do you then > want to track down every CA client and update its CA address list? > And if you run more than one IOC on the same computer, you MUST use > broadcast addresses, because otherwise you will only see the PVs from the > IOC that was started _last_, see again > https://wiki-ext.aps.anl.gov/epics/index.php/How_to_Configure_Channel_Access > The only downside: You may need to configure the affected routers to pass > those broadcasts. > > ===> In the real world, your clients will eventually either use broadcast > addresses, or the single IP address of a CA gateway (and that gateway then > uses broadcast addresses). > > -Kay |
From: Kasemir, K. <kas...@or...> - 2014-09-04 14:07:32
|
On Sep 4, 2014, at 9:54 AM, zunbeltz <zun...@es...> wrote: > Thanks for the help Kay, > > Sorry for my ignorance in network setups but I have a question. > In the EPICS_CA_ADDR_LIST i have the IP addresses of S1 and S2. > Are addr-broadcast-address-of-subnet1, ... equal to these IPs? They're different. On a Linux computer, check /sbin/ifconfig. On Windows, check ipconfig. Look for the IP address, the net mask, and the broadcast address listed in there. Your IP addresses might be something like S1=123.45.10.1 S2=123.45.20.1 If your net masks are 255.255.255.0, their subnets would be Subnet where S1 resides=123.45.10.0 Subnet where S2 resides=123.45.20.0 and the associated broadcast addresses would be Broadcast for S1's subnet=123.45.10.255 Broadcast for S2's subnet=123.45.20.255 Why you would use the IP addresses export EPICS_CA_ADDR_LIST="123.45.10.1 123.45.20.1" respectively org.csstudio.platform.libs.epics/addr_list=123.45.10.1 123.45.20.1 ? IP addresses will work through most routers, and you get PVs from just those IOCs, in case you have the same PVs on multiple IOCs. You should not have the same channel name on multiple IOCs in the first place, so that's not a good reason to list individual IOC IP addresses. So this might look like the easiest way to get going, but broadcast addresses are better in the long run, i.e. export EPICS_CA_ADDR_LIST="123.45.10.255 123.45.20.255" respectively org.csstudio.platform.libs.epics/addr_list=123.45.10.255 123.45.20.255 In the real world, you don't have 2 IOCs. You might have 500, and you can't list the IP address of each single IOC. Even if you only have 5 IOCs. One day you'll add one more. Do you then want to track down every CA client and update its CA address list? And if you run more than one IOC on the same computer, you MUST use broadcast addresses, because otherwise you will only see the PVs from the IOC that was started _last_, see again https://wiki-ext.aps.anl.gov/epics/index.php/How_to_Configure_Channel_Access The only downside: You may need to configure the affected routers to pass those broadcasts. ===> In the real world, your clients will eventually either use broadcast addresses, or the single IP address of a CA gateway (and that gateway then uses broadcast addresses). -Kay |
From: zunbeltz <zun...@es...> - 2014-09-04 13:54:39
|
Thanks for the help Kay, Sorry for my ignorance in network setups but I have a question. In the EPICS_CA_ADDR_LIST i have the IP addresses of S1 and S2. Are addr-broadcast-address-of-subnet1, ... equal to these IPs? Zunbeltz og., 2014.eko iraren 04a 14:59(e)an, Kasemir, Kay igorleak idatzi zuen: > Hi: > > You just need to configure the EPICS CA address list settings, see https://wiki-ext.aps.anl.gov/epics/index.php/How_to_Configure_Channel_Access > > Note that the command-line caget uses environment variables EPICS_CA_ADDR_LIST, while CSS tools like the archive engine use the preference (http://cs-studio.sourceforge.net/docbook/ch06.html) > > org.csstudio.platform.libs.epics/addr_list=broadcast-address-of-subnet1 broadcast-address-of-subnet2 ... > > > -Kay > > On Sep 4, 2014, at 8:28 AM, zunbeltz <zun...@es...> > wrote: > >> Dear all, >> >> In my institute (ESS-Bilbao) we use a modification of ArchiveEmgine that >> writes data to a Hypertable DB (HyperArchiver). In the present setup it >> works great. We have the engine running in the same machine as the IOC >> server. >> >> I would like to run the engine in computer A (C-A) will running IOC >> servers in server1 and server2. C-A is not in the same subnetwork as S1 >> and S2 but I can get EPICS variables in the command line with caget. >> The problem it seems is that ArchiveEngine is not reading the value of >> the PVs. >> >> My question: >> >> Is there any restriction to the network topology for the ArchiveEngine? >> >> Thanks in advance for the help, >> >> Zunbeltz >> -- >> Dr. Zunbeltz Izaola >> Accelerator Physics Group >> ESS-Bilbao >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Cs-studio-users mailing list >> Cs-...@li... >> https://lists.sourceforge.net/lists/listinfo/cs-studio-users -- Dr. Zunbeltz Izaola Accelerator Physics Group ESS-Bilbao |
From: Kasemir, K. <kas...@or...> - 2014-09-04 12:59:35
|
Hi: You just need to configure the EPICS CA address list settings, see https://wiki-ext.aps.anl.gov/epics/index.php/How_to_Configure_Channel_Access Note that the command-line caget uses environment variables EPICS_CA_ADDR_LIST, while CSS tools like the archive engine use the preference (http://cs-studio.sourceforge.net/docbook/ch06.html) org.csstudio.platform.libs.epics/addr_list=broadcast-address-of-subnet1 broadcast-address-of-subnet2 ... -Kay On Sep 4, 2014, at 8:28 AM, zunbeltz <zun...@es...> wrote: > Dear all, > > In my institute (ESS-Bilbao) we use a modification of ArchiveEmgine that > writes data to a Hypertable DB (HyperArchiver). In the present setup it > works great. We have the engine running in the same machine as the IOC > server. > > I would like to run the engine in computer A (C-A) will running IOC > servers in server1 and server2. C-A is not in the same subnetwork as S1 > and S2 but I can get EPICS variables in the command line with caget. > The problem it seems is that ArchiveEngine is not reading the value of > the PVs. > > My question: > > Is there any restriction to the network topology for the ArchiveEngine? > > Thanks in advance for the help, > > Zunbeltz > -- > Dr. Zunbeltz Izaola > Accelerator Physics Group > ESS-Bilbao > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Cs-studio-users mailing list > Cs-...@li... > https://lists.sourceforge.net/lists/listinfo/cs-studio-users |
From: zunbeltz <zun...@es...> - 2014-09-04 12:47:37
|
Dear all, In my institute (ESS-Bilbao) we use a modification of ArchiveEmgine that writes data to a Hypertable DB (HyperArchiver). In the present setup it works great. We have the engine running in the same machine as the IOC server. I would like to run the engine in computer A (C-A) will running IOC servers in server1 and server2. C-A is not in the same subnetwork as S1 and S2 but I can get EPICS variables in the command line with caget. The problem it seems is that ArchiveEngine is not reading the value of the PVs. My question: Is there any restriction to the network topology for the ArchiveEngine? Thanks in advance for the help, Zunbeltz -- Dr. Zunbeltz Izaola Accelerator Physics Group ESS-Bilbao |
From: Kasemir, K. <kas...@or...> - 2014-09-02 12:49:06
|
On Sep 1, 2014, at 8:13 AM, Florian Feldbauer <fl...@ep...> wrote: > I have two questions concerning CSS: > 1st: Is it possible to run an OPI file in a runtime only mode? > The shifter in the control room should not have the possibility > to edit/change the OPI files… Configure it with # Disable the Edit mode org.csstudio.opibuilder/no_edit = true or delete plugins/org.csstudio.opibuilder.editor*jar > 2nd: Some widgets in an OPI should only be available for the experts. Is > it possible to make a widget (e.g. a button or text input) > in CSS visible only if a certain user is logged in? (How?) Configure it with # List widgets to be hidden from palette, separated by '|' org.csstudio.opibuilder/hidden_widgets= org.csstudio.opibuilder.widgets.ActionButton|org.csstudio.opibuilder.widgets.TextInput -Kay |
From: Florian F. <fl...@ep...> - 2014-09-01 12:42:56
|
Hey all, I have two questions concerning CSS: 1st: Is it possible to run an OPI file in a runtime only mode? The shifter in the control room should not have the possibility to edit/change the OPI files... 2nd: Some widgets in an OPI should only be available for the experts. Is it possible to make a widget (e.g. a button or text input) in CSS visible only if a certain user is logged in? (How?) We are still using version 3.1.1 Best regards, Florian -- ---------------------------------------- | Dr. Florian Feldbauer | | | | Helmholtz-Institut Mainz / | | Johannes Gutenberg-Universität Mainz | | Johann-Joachim-Becher-Weg 36 | | D-55128 Mainz | | | | Office: SB1 / 00-213 | | Phone: (+49)6131 / 39-29605 | ---------------------------------------- |
From: 吴煊 <wu...@ih...> - 2014-08-27 04:29:25
|
Hi all, 1.Can add the property of "show units" to spinner widget in CSS? I think I need to display the unit from PV. 2.There are read/write text file and read xml file example in BOY. How can I create a new xml file and write it's element in BOY. I have read some doc about jdom and I had tried to write a program in attach, but it didn't work. Many thanks in advance! Cheers, Xuan |
From: <tom...@di...> - 2014-08-13 10:04:26
|
Hi Michael, > Beware. NSLS2 started out this way, but eventually switched away due > to > performance problems (lack of caching mixed with the linking container > widget). Thanks for the warning, we will be making heavy use of the linking container widget so will avoid http. Would it be a good idea for us to look at caching to increase performance? > Happily, while it isn't obvious, simply referencing files by absolute > system path works. We have a read-only copy of all .opi files > accessible on each system. Interesting, I thought only eclipse project paths could be used in opi links, this is certainly useful to know... > So read-only access doesn't need workspace setup (which no one seems > able to automate). I just found a useful link in the documentation: http://cs-studio.sourceforge.net/docbook/ch05.html#idp347408 This would appear to be exactly what I need, as it creates projects and links within projects for me. I could then put all the path management in a wrapper script that then calls CS-Studio with a long -share_link argument. My updated diagram would then look like this: workspace/ # located in user's home directory CSS/ ID1/ # Eclipse project in user's workspace motorApp_opi/ # Eclipse link to /dls_sw/.../motor/6-5/motorApp/opi/opi ID2/ # Eclipse project in user's workspace motorApp_opi/ # Eclipse link to /dls_sw/.../motor/6-7/motorApp/opi/opi I tried it out, and it created me new projects and links within those projects in an existing workspace, so it seems to do what I want. Have you used this method? > We have a wrapper script which uses symlinks to select a version of the > executable, and a customized preference file (which includes the path > to > the main .opi). Could I have a copy of this wrapper script please? > We still haven't completely dealt with the shared workspace problem. > To > mitigate this, our wrapper script keeps track of which computer a > workspace is used from. Attempts to start from a different machine > give > a prompt and the option to terminate the running session (via ssh). After talking to the GDA guys, I think we will start out by creating a default workspace in the home directory of the user (which is NFS mounted on multiple machines), but setting osgi workspace locking = no and see if having multiple instances writing to the same workspace causes us any problems. As we aren't storing much apart from projects full of links at the moment, it might be ok... Have you tried turning off workspace locking? Thanks, Tom Cobb -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom |
From: <tom...@di...> - 2014-08-11 14:31:34
|
Hi all, We're looking at how we should launch CS-Studio BOY screens on beamlines and machine, and have the following requirements: 1) If an IOC has a database template instance from a motor version 6-5, the screens for that IOC should come from motor 6-5. 2) One insertion device may have all its IOCs pointing at motor 6-5, but another may be at 6-4 or 6-2. 3) A user may want to launch sets of screens for many insertion devices at the same time. The same is true for beamlines, front ends, and other technical areas: a user may start at a high level screen, and drill down to a different version of the motor screen depending which IOC that component is on. For EDM we simply launched a new EDM for each insertion device with its own search path, but doing the same with CS-Studio would be quite resource hungry. We have had more than 20 instances of EDM running at once, and I wouldn't like to do the same with java virtual machines. We have come up with a proposal that would work for us: * Create a project for each insertion device (and beamline etc.) with soft links to the versions of each support module it uses * Run a command that tells the current running CS-Studio to import that project to the user's workspace and run a screen within it * We could then have one CS-Studio instance, and let each user have their own workspace, but manage the locations of the projects within it ourselves The eclipse navigator file structure would look like this: workspace/ # located in user's home directory CSS/ ID1/ # Eclipse project pointing to /dls_sw/.../ID1/2-0 motor/ # Soft link in /dls_sw/.../ID1/2-0 pointint to /dls_sw/.../motor/6-5 ID2/ # Eclipse project pointing to /dls_sw/.../ID2/3-0 motor/ # Soft link in /dls_sw/.../ID1/3-0 pointint to /dls_sw/.../motor/6-2 Has anyone else done anything similar? How do other sites launch CS-Studio BOY screens? Thanks, Tom Cobb -- This e-mail and any attachments may contain confidential, copyright and or privileged material, and are for the use of the intended addressee only. If you are not the intended addressee or an authorised recipient of the addressee please notify us of receipt by returning the e-mail and do not use, copy, retain, distribute or disclose the information in or attached to the e-mail. Any opinions expressed within this e-mail are those of the individual and not necessarily of Diamond Light Source Ltd. Diamond Light Source Ltd. cannot guarantee that this e-mail or any attachments are free from viruses and we cannot accept liability for any damage which you may sustain as a result of software viruses which may be transmitted in or with the message. Diamond Light Source Limited (company no. 4375679). Registered in England and Wales with its registered office at Diamond House, Harwell Science and Innovation Campus, Didcot, Oxfordshire, OX11 0DE, United Kingdom |