Package de.tfh.pdvl.hp.protocol

Examples of de.tfh.pdvl.hp.protocol.InfoMessage


  }
       
 
 
  private void executeQuery() throws ParentException  {
      InfoMessage info = new InfoMessage();
      info.setWaveShape(
              sendQueryStringMessage("SOURCE:FUNCTION:SHAPE")
      );
      info.setFrequency((int)Math.round(
              sendQueryValueMessage("SOURCE:FREQUENCY")
      ));
      info.setAmplitude(
              sendQueryValueMessage("SOURCE:VOLTAGE")
      );
      info.setOffset(
              sendQueryValueMessage("SOURCE:VOLTAGE:OFFSET")
      );
      SerialServer.getInstance().setReturnMessage(info);
  }
View Full Code Here

TOP

Related Classes of de.tfh.pdvl.hp.protocol.InfoMessage

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.