3. PreExperiment Data Collector
FEATURES:
• Customizable on-the-fly view forms defined in YAML
• Different policies are applicable to the view forms: web, web-readonly, tango
• Supports different validations: number, double, string, text, required
• Provides tango access to data
• Offline clients
4. Status Server
FEATURES:
• Forms continuous timeline of the experiment
• Simple configuration, defined in XML
• Values can be obtained through event or polling mechanism
• Different interpolation strategies: last, nearest and linear
16. 16
A good example of how Java is used as an
infrastructure at a beamline
KIT CMOS Camera server deployment
17. ●
Beamline scientist friendly environment
●
Integrates smoothly into the user interface
●
Fully automatized and easy deployment
●
Integration with DESY computer center
●
Opensource, available @bitbucket.org/hzgwpn
Summary
19. ezTangORB
Consider the following example:
DeviceProxy proxy = new DeviceProxy("some-device");
DeviceAttribute attribute = proxy.read_attribute("some-attribute");
if(result.hasFailed()){
throw new Exception("Can not read attribute.");
}
int dataFormat = result.getDataFormat()
int dataType = result.getType()
double result;
switch(dataType){
case Tango_DEV_Double:
switch(dataFormat){
case _SCALAR:
result = attribute.extractDouble()
...
}
...
}
...
Using the API the same result can be achieved with the following code:
TangoProxyWrapper proxy = new TangoProxyWrapper("some-device");
double result = proxy.<Double>readAttribute("some-attribute");
...
This library is a part of the Tango distribution since version 9.