Package coppelia

Examples of coppelia.IntW


  /*
   * Remote API Button mode is disabled using this function.
   */
  public void disableRemoteJavaApiMode(){
    int status;
    IntW remoteJavaApiStatus = new IntW(1);
    IntW remoteJavaApiObjectHandle = new IntW(1);
    status = dynamotionServer.simxGetUIHandle(clientID, "UI", remoteJavaApiObjectHandle, dynamotionServer.simx_opmode_oneshot_wait);
    //System.out.format("disableRemoteJavaApiMode() function status %d\n",status);
   
    //int S = dynamotionServer.simxGetUIButtonProperty(clientID, playBackObjectHandle.getValue(), 600, playBackStatus, dynamotionServer.simx_opmode_streaming);
    //System.out.format("disableRemoteJavaApiMode Button off(8280) status %d\n",playBackStatus.getValue());
    //System.out.format("disableRemoteJavaApiMode Button %d\n",S);
       
    
    int J  = dynamotionServer.simxSetUIButtonProperty(clientID, remoteJavaApiObjectHandle.getValue(), 600, 8280 , dynamotionServer.simx_opmode_oneshot_wait);
    //System.out.format("disableRemoteJavaApiMode Button off status %d\n",playBackStatus.getValue());
    //System.out.format("disableRemoteJavaApiMode Button working if 0 not working if 1: %d\n",J);
    dynamotionServer.simxSetIntegerSignal(clientID,"RemoteAPI_button",600,dynamotionServer.simx_opmode_oneshot_wait);
  }
View Full Code Here


 
  ///Added for Setting COM port on 22/7/2014
  //
  public void setCOMPort(String portnumber){
    int status;
    IntW COMPort = new IntW(1);
    status = dynamotionServer.simxGetUIHandle(clientID, "UI", COMPort, dynamotionServer.simx_opmode_oneshot_wait);
    dynamotionServer.simxSetUIButtonLabel(clientID,COMPort.getValue(),1200,portnumber,portnumber,dynamotionServer.simx_opmode_oneshot);
  }
View Full Code Here

TOP

Related Classes of coppelia.IntW

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.