background image

CONEX-LDS 

Command Interface Manual 

RG_Set 

Syntax 

int RG_Set(int controllerAddress, int Range, out string errstring) 

controllerAddress: controllerAddress 
Range: Range 
errString: The failure reason 

return: 0 in success and -1 on failure 

Description 

This function is used to process synchrounous RG Set command which is used to Set 

the range value. Refer to the CONEX-LDS User’s Manual for more information on 

this command 

RS 

Syntax 

int RS(int controllerAddress, out string errstring) 

controllerAddress: controllerAddress 
errString: The failure reason 

return: 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. Refer to the CONEX-LDS User’s Manual for more information 

on this command 

RS485 

Syntax 

int RS485(int controllerAddress, out string errstring) 

controllerAddress: controllerAddress 
errString: The failure reason 

return: 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 

 

11 

EDH0333En1022 — 12/18

 

Summary of Contents for CONEX-LDS

Page 1: ...CONEX LDS Electronic Autocollimator Command Interface Manual V1 0 x...

Page 2: ...tructions 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 s...

Page 3: ...Command Interface 3 2 1 Constructor 3 2 2 Functions 3 2 2 1 General 3 OpenInstrument 3 CloseInstrument 3 GetDevices 3 WriteToInstrument 4 2 2 2 Commands 4 CD 4 GP 5 GX_Get 5 GX_Set 5 GY_Get 6 GY_Set...

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 iv...

Page 5: ...d Interface DLL is a generic name that refers to a DLL used to communicate with an instrument Typically this DLL exposes all the commands the instrument supports These commands are exposed as function...

Page 6: ...X LDS Bin Newport CONEXLDS CommandInterface dll 1 4 Possible uses of Newport CONEXLDS CommandInterface dll Newport CONEXLDS CommandInterface dll is used by CONEX LDS applet for communicating with the...

Page 7: ...ecription This function allows opening communication with the selected device If the opening failed the returned code is 1 CloseInstrument Syntax int CloseInstrument return 0 successful or 1 failure D...

Page 8: ...to the instrument 2 2 2 Commands CD Syntax int CD int controllerAddress out string FactoryCalibrationInformation out string errstring controllerAddress controllerAddress FactoryCalibrationInformation...

Page 9: ...double GainX out string errstring controllerAddress controllerAddress GainX GainX errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchro...

Page 10: ...rAddress GainY GainY errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous GY Set command which is used to Set gain for analog ima...

Page 11: ...string controllerAddress controllerAddress LaserState LaserState errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous LB Get comm...

Page 12: ...lerAddress Frequency Frequency errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous LF Set command which is used to Set the low p...

Page 13: ...dress CalibrationCoefficientX CalibrationCoefficientX errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous PX Get command which i...

Page 14: ...string errstring controllerAddress controllerAddress CalibrationCoefficientY CalibrationCoefficientY errString The failure reason return 0 in success and 1 on failure Description This function is used...

Page 15: ...trollerAddress controllerAddress errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous RS Set command which is used to Reset the c...

Page 16: ...Address errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous SA Set command which is used to Set the controller s RS 485 address...

Page 17: ...dress HighlevelPowerThreshold HighlevelPowerThreshold errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous SR Get command which i...

Page 18: ...lerAddress Units Units errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous SU Set command to set the the measurement units Refer...

Page 19: ...ddress ErrorCode ErrorCode StatusCode StatusCode errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous TS Get command which is use...

Page 20: ...s controllerAddress ConfigurationParameters ConfigurationParameters errString The failure reason return 0 in success and 1 on failure Description This function is used to process synchrounous ZT Get c...

Page 21: ...ocation of Newport CONEXLDS CommandInterface dll to sys path sys path append r C Program Files Newport MotionControl CONEX LDS Bin The CLR module provide functions for interacting with the underlying...

Page 22: ...tLaserStatus LDS address flag result laserStatus errString LDS LB_Get address if flag 1 if result 0 print Laser status laserStatus else print LB_Get Error errString return result laserStatus Procedure...

Page 23: ...ON displayFlag result iLaserStatus CONEXLDS_GetLaserStatus LDS address displayFlag Get positions if iLaserStatus ON print Laser is ON Get X Y positions and light level returnValue positionX positionY...

Page 24: ......

Page 25: ...____________________________________________________ __________________________________________________________________________________________________________________ ________________________________...

Page 26: ...mail tech newport com Service RMAs Returns Tel 800 222 6440 e mail service newport com Europe MICRO CONTROLE Spectra Physics S A S 9 rue du Bois Sauvage 91055 vry CEDEX France Sales Tel 33 0 1 60 91 6...

Reviews: