Closedown
This commit is contained in:
@@ -173,7 +173,8 @@ public class Kollimators extends javax.swing.JPanel {
|
||||
* @param deviceName
|
||||
*/
|
||||
public void animate(String deviceName) {
|
||||
try {
|
||||
try {
|
||||
|
||||
this.jLabelDeviceName.setText(deviceName);
|
||||
this.jTextDir.setToolTipText(deviceName+"?");
|
||||
this.jTextDist.setToolTipText(deviceName+"?");
|
||||
@@ -188,7 +189,9 @@ public class Kollimators extends javax.swing.JPanel {
|
||||
Context ctxt= jca.createContext(JCALibrary.JNI_SINGLE_THREADED);
|
||||
// Create the Channel to connect to the PV.
|
||||
Channel ch= (Channel) ctxt.createChannel(deviceName+":IST1:1");
|
||||
System.out.println("channel created");
|
||||
this.jTextIst1.setText(String.valueOf(ch.getValue()));
|
||||
System.out.println("value got");
|
||||
} catch (CAException ex) {
|
||||
System.out.println(ex.toString());
|
||||
} catch (InterruptedException ex) {
|
||||
|
||||
Binary file not shown.
@@ -1,5 +1,5 @@
|
||||
#TestingList for pshell: configuration properties
|
||||
#Mon Oct 26 14:50:37 CET 2015
|
||||
#Tue Oct 27 11:55:38 CET 2015
|
||||
customPanel=Kollimators
|
||||
showEnabledTestsOnly=true
|
||||
listFilter=CollimatorTests
|
||||
listFilter=LabTests
|
||||
|
||||
Reference in New Issue
Block a user