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) {
|
||||
|
||||
Reference in New Issue
Block a user