80 likes | 389 Views
Status Report: Tango at DESY. First Tango server in operation The Tango-Spectra interface. The First Tango Server in Operation. KETEK SDD detector ADC & MCA are integrated, 4096 channels Readout via USB Vendor supplies software for Windows only The protocol was made available
E N D
Status Report: Tango at DESY • First Tango server in operation • The Tango-Spectra interface Th. Kracht: Tango at DESY
The First Tango Server in Operation • KETEK SDD detector • ADC & MCA are integrated, 4096 channels • Readout via USB • Vendor supplies software for Windows only • The protocol was made available • Tango server on Linux (2.6) • KETEK_4K problems • Readout with at least 0.1 Hz • Programmable DAC for LLD, ULD, etc. • No gate input, need to read totalTime, deadTime Th. Kracht: Tango at DESY
The Tango-Spectra Interface P • Tango will be used at the experimental stations of Petra-3 and DORIS • Spectra will be one of the clients: Need an interface • First option: Perl interface (Perl is the Spectra scripting language) • Call Tango from Perl • All I/O has to go through this interface • Possible, but the data have to passed to Spectra since it is used for monitoring also. • Second option (better): • Talk from Spectra to Tango (C to C++) • And Perl talks to Tango via Spectra Th. Kracht: Tango at DESY
The Tango-Spectra Interface P • Tango devices are not part of the Spectra device list. • define/device=mca/module=ketek_4k/control=tango/hostname=hasbw1dif \ • /devicename="bw4/exp/mca1" mca10 • User interface: Tango MCAs are operated like any other MCA • MCA menu • Functions to be used in Perl scripts: • Start_mca( “MCA10”, 0) • Stop_mca() • Read_mca() • Clear_mca() • Scan device selection Th. Kracht: Tango at DESY
The Tango-Spectra Interface • KETEK_4K: User must have access to LLD, ULD DACs • Answer: “Beamline Specific Code” widgets • Defined in startup scripts • Use the attributes/command functions Th. Kracht: Tango at DESY
The Tango-Spectra Interface • Tango functions, e.g.: • $dac1 = tng_attrUShortRd( “mca10”, “dac1”); • $status = tng_attrUShortWrt( “mca10”, “dac1”, 50); • $status = tng_inoutLongLong( "mca10", "start", 0) Th. Kracht: Tango at DESY
The Tango-Spec Interface • Requirement to use Spec from some of the Petra-3 Experiments Th. Kracht: Tango at DESY