Newport CONEX-LDS Command Interface Manual

Newport CONEX-LDS Command Interface Manual

Electronic autocollimator

Advertisement

CONEX-LDS
Electronic
Autocollimator
Command Interface
Manual
V1.0.x

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CONEX-LDS and is the answer not in the manual?

Questions and answers

Summary of Contents for Newport CONEX-LDS

  • Page 1 CONEX-LDS Electronic Autocollimator Command Interface Manual V1.0.x...
  • Page 2 Original instructions. No part of this document may be reproduced or copied without the prior written approval of Newport Corporation. This document is provided for information only, and product specifications are subject to change without notice. Any change will be reflected in future publishings.
  • Page 3: Table Of Contents

    Command Interface Manual Table of Contents 1.0 Introduction ....................1 Purpose ............................ 1 Overview ..........................1 Location ........................... 2 Possible uses of Newport.CONEXLDS.CommandInterface.dll ..........2 2.0 Command Interface ..................3 Constructor ..........................3 Functions ..........................3 2.2.1 General ........................3 •...
  • Page 4 CONEX-LDS Command Interface Manual SA_Set .........................12 SL_Get ........................12 SL_Set .........................13 SR_Get ........................13 SR_Set .........................13 SU_Get ........................14 SU_Set .........................14 TB ........................14 TE ........................15 TS ........................15 VE ........................15 ZT ........................16 3.0 Python example ................... 17 Service Form ......................21 EDH0333En1022 — 12/18...
  • Page 5: Introduction

    The purpose of this document is to provide the method syntax of each command to communicate with the CONEX-LDS autocollimator exposed in assembly Newport.CONEXLDS.CommandInterface.dll. This .Net assembly is designed and developed by Newport. This DLL is used by CONEX-LDS applet to communicate with the CONEX-LDS autocollimator.
  • Page 6: Location

    \Newport\MotionControl\CONEX- LDS\Bin\Newport.CONEXLDS.CommandInterface.dll Possible uses of Newport.CONEXLDS.CommandInterface.dll Newport.CONEXLDS.CommandInterface.dll is used by CONEX-LDS applet for communicating with the CONEX-LDS autocollimator. The same DLL can be used as a reusable software component for creating Python scripts or LabVIEW VIs. EDH0333En1022 — 12/18...
  • Page 7: Command Interface

    CONEX-LDS Command Interface Manual Command Interface Constructor CONEXLDS() The constructor is used to create an instance of the CONEX-LDS device. Functions 2.2.1 General • OpenInstrument Syntax int OpenInstrument(string strDeviceKey) string strDeviceKey: the device key is a serial COM port return: 0 = successful or -1 = failure Decription This function allows opening communication with the selected device.
  • Page 8: Writetoinstrument

    CONEX-LDS Command Interface Manual • WriteToInstrument Syntax int WriteToInstrument(string command, ref string resp, int stage) command: Instrument command resp: Response of the command stage: Instrument Stage return: function error Decription This Overridden function Queries or writes the command issued by the user to the instrument.
  • Page 9: Gx_Get

    0 in success and -1 on failure Description This function is used to process synchrounous GX Get command which is used to Get gain for analog image of X channel. Refer to the CONEX-LDS User’s Manual for more information on this command GX_Set...
  • Page 10: Gy_Get

    0 in success and -1 on failure Description This function is used to process synchrounous GY Get command which is used to Get gain for analog image of Y channel. Refer to the CONEX-LDS User’s Manual for more information on this command GY_Set...
  • Page 11: Id_Set

    0 in success and -1 on failure Description This function is used to process synchrounous LB Get command which is used to Power ON/ Power OFF the laser. Refer to the CONEX-LDS User’s Manual for more information on this command LB_Set...
  • Page 12: Lf_Get

    0 in success and -1 on failure Description This function is used to process synchrounous LF Get command which is used to Get the low pass filter frequency. Refer to the CONEX-LDS User’s Manual for more information on this command LF_Set...
  • Page 13: Pw_Set

    0 in success and -1 on failure Description This function is used to process synchrounous PX Get command which is used to Get the calibration value for X channel. Refer to the CONEX-LDS User’s Manual for more information on this command PX_Set...
  • Page 14: Py_Get

    0 in success and -1 on failure Description This function is used to process synchrounous PY Get command which is used to Get the calibration value for Y channel. Refer to the CONEX-LDS User’s Manual for more information on this command PY_Set...
  • Page 15: Rg_Set

    0 in success and -1 on failure Description This function is used to process synchrounous RS## Set command which is used to Reset the controller’s address to 1. Refer to the CONEX-LDS User’s Manual for more information on this command EDH0333En1022 — 12/18...
  • Page 16: Sa_Get

    0 in success and -1 on failure Description This function is used to process synchrounous SA Get command which is used to Get the controller’s RS-485 address. Refer to the CONEX-LDS User’s Manual for more information on this command SA_Set...
  • Page 17: Sl_Set

    0 in success and -1 on failure Description This function is used to process synchrounous SL Set command which is used to Set low level power threshold for valid measurements. Refer to the CONEX-LDS User’s Manual for more information on this command SR_Get...
  • Page 18: Su_Get

    0 in success and -1 on failure Decription This function is used to process synchrounous TB Get command which explains the meaning of the error string. Refer to the CONEX-LDS Controller’s manual to get the command description. EDH0333En1022 — 12/18...
  • Page 19 0 in success and -1 on failure Description This function is used to process synchrounous TE Get command which is used to Get the last command error. Refer to the CONEX-LDS User’s Manual for more information on this command Syntax...
  • Page 20 0 in success and -1 on failure Description This function is used to process synchrounous ZT Get command which is used to Get all controller parameters. Refer to the CONEX-LDS User’s Manual for more information on this command EDH0333En1022 — 12/18...
  • Page 21: Python Example

    # No part of this file in any format, with or without modification # shall be used, copied or distributed without the express written # consent of Newport Corporation. # Description: This is a Python Script to access CONEX-LDS library #========================================================================= # Initialization Start # The script within Initialization Start and Initialization End is needed # properly initializing Command Interface for Conex-LDS instrument.
  • Page 22 #************************************************* # Initialization instrument="COM19" displayFlag = 1 address = 1 # Create a CONEX-LDS interface and open communication. LDS = CONEXLDS_Open(instrument) # Get controller revision information result, version = CONEXLDS_GetControllerVersion(LDS, address, displayFlag) # Get laser status result, iLaserStatus = CONEXLDS_GetLaserStatus(LDS, address, displayFlag)
  • Page 23 CONEX-LDS Command Interface Manual # Check and refresh the laser status if iLaserStatus == OFF: print 'Laser is OFF' result = CONEXLDS_SetLaserStatus(LDS, address, ON, displayFlag) result, iLaserStatus = CONEXLDS_GetLaserStatus(LDS, address, displayFlag) # Get positions if iLaserStatus == ON: print 'Laser is ON'...
  • Page 25: Service Form

    CONEX-LDS Command Interface Manual Service Form Your Local Representative Tel.: __________________ Fax: ___________________ Name: _________________________________________________ Return authorization #: ____________________________________ (Please obtain prior to return of item) Company:_______________________________________________ Address: ________________________________________________ Date: __________________________________________________ Country: ________________________________________________ Phone Number: __________________________________________ P.O. Number: ____________________________________________ Fax Number: ____________________________________________...
  • Page 26 Visit Newport Online at: www.newport.com North America & Asia Europe Newport Corporation MICRO-CONTROLE Spectra-Physics S.A.S 1791 Deere Ave. 9, rue du Bois Sauvage Irvine, CA 92606, USA 91055 Évry CEDEX France Sales Tel.: (800) 222-6440 Sales e-mail: sales@newport.com Tel.: +33 (0)1.60.91.68.68 Technical Support e-mail: france@newport.com...

Table of Contents