This commit is contained in:
x03daop
2015-11-02 14:18:48 +01:00
parent a631be1b49
commit 90cebf6814
11 changed files with 16 additions and 16 deletions

View File

@@ -76,13 +76,13 @@ diag_channels.append(AcquisitionMode) #diag_attrs.append(ChannelStrin
diag_channels.append(EnergyMode) #diag_attrs.append(ChannelString("EnergyMode", "X03DA-SCIENTA:cam1:ENERGY_MODE_RBV"))
diag_channels.append(DetectorMode) #diag_attrs.append(ChannelString("DetectorMode", "X03DA-SCIENTA:cam1:DETECTOR_MODE_RBV"))
diag_channels.append(ElementSet) #diag_attrs.append(ChannelString("ElementSet", "X03DA-SCIENTA:cam1:ELEMENT_SET_RBV"))
diag_channels.append(ExcitationEnergyElemeAnalyserSlitntSet #diag_attrs.append(ChannelString("ElemeAnalyserSlitntSet", "X03DA-SCIENTA:cam1:ANALYSER_SLIT_RBV"))
diag_channels.append(ElemeAnalyserSlitntSet) #diag_attrs.append(ChannelString("ElemeAnalyserSlitntSet", "X03DA-SCIENTA:cam1:ANALYSER_SLIT_RBV"))
#Manipulator Settings
diag_channels.append(ManipulatorX)
diag_channels.append(ManipulatorY)
diag_channels.append(ManipulatorZ)
diag_channels.append(ManipulatorTheta
diag_channels.append(ManipulatorTheta)
diag_channels.append(ManipulatorTilt)
diag_channels.append(ManipulatorPhi)
@@ -152,7 +152,7 @@ diag_channels.append(ManipulatorCoolFlowSet)
def print_diag():
for f in diag_channels:
print f.getName() + " = " + str(f.read())
print "{:<5} = {:<30}\n".format(f.getName() , str(f.read()))