Esempio n. 1
0
 public static GenericPIDDevice getPid() {
   if (DyIORegestry.get().isAvailable() == false && PIDNamespaceTest.pid == null) {
     setPid(new GenericPIDDevice());
     System.out.println("Creating PID device");
     if (!ConnectionDialog.getBowlerDevice(PIDNamespaceTest.pid)) {
       fail("Device not availible");
     }
   }
   return PIDNamespaceTest.pid;
 }
 /**
  * Constructor. Creates an counter input input channel that is syncronous only by default.
  *
  * @param channel - the channel object requested from the DyIO
  */
 public CounterOutputChannel(int channel) {
   this(DyIORegestry.get().getChannel(channel));
 }