#ifndef _TANGOLSAPI_INCLUDED_
#define _TANGOLSAPI_INCLUDED_

//===========================================================================
// TangoLS_API.h  --  Kunden-Header fuer die LS_-API der TANGO-DLL
//
// Die LS_-API ist der klassische LStep-Stil OHNE ID: sie arbeitet auf einer
// festen Einzelinstanz. Wer nur EINE Steuerung anspricht, braucht kein
// CreateLSID und keine LSID -- deshalb gibt es zu LSX_CreateLSID und
// LSX_FreeLSID hier bewusst kein Gegenstueck.
//
// Zu beachten:
//   - Instanz 1 entsteht ERST beim Verbinden, und zwar nur in LS_Connect,
//     LS_ConnectSimple und LS_ConnectEx. LS_-LESEbefehle VOR dem ersten
//     Verbinden liefern deshalb 4003.
//   - Dieser Header wird aus der Exporttabelle der DLL erzeugt und enthaelt
//     ausschliesslich Funktionen, die es wirklich gibt. Tango_DLL.h deklariert
//     die LS_-API dagegen als __declspec(dllexport) -- fuer eine Kunden-
//     anwendung falsch -- und nennt 42 Funktionen, die die DLL nicht exportiert.
//     Fuer Kundencode ist dieser Header zu verwenden, nicht Tango_DLL.h.
//
// TANGOAPI, TANGOCALL, BOOL und TLS_ControlInitPar kommen aus TangoLSX_API.h.
// Beide Header lassen sich zusammen einbinden.
//===========================================================================

#include "TangoLSX_API.h"

#ifdef __cplusplus
extern "C" {
#endif
TANGOAPI int TANGOCALL LS_Calibrate (void);
TANGOAPI int TANGOCALL LS_CalibrateEx (int lFlags);
TANGOAPI int TANGOCALL LS_ClearCtrFastMoveCounter (void);
TANGOAPI int TANGOCALL LS_ClearEncoder (int lAxis);
TANGOAPI int TANGOCALL LS_ClearKeyLatch (int lKey);
TANGOAPI int TANGOCALL LS_ClearPos (int lFlags);
TANGOAPI int TANGOCALL LS_ClearProtocolWindow (void);
TANGOAPI int TANGOCALL LS_ClearSnapshotPosArray (void);
TANGOAPI int TANGOCALL LS_Connect (void);
TANGOAPI int TANGOCALL LS_ConnectEx (TLS_ControlInitPar *pAControlInitPar);
TANGOAPI int TANGOCALL LS_ConnectSimple (int lAnInterfaceType, char *pcAComName, int lABaudRate, int lAShowProt);
TANGOAPI int TANGOCALL LS_Disconnect (void);
#if defined(_MFC_VER) || defined(__ATLSTR_H__)
TANGOAPI int TANGOCALL LS_DisconnectPort (CString aPort);
#endif
TANGOAPI int TANGOCALL LS_Eject (int maga, int keep);
TANGOAPI int TANGOCALL LS_EnableCommandRetry (BOOL bAValue);
TANGOAPI int TANGOCALL LS_FlushBuffer (int lAValue);
TANGOAPI int TANGOCALL LS_Get2ndTriggerDelay (double *pdDelay);
TANGOAPI int TANGOCALL LS_Get2ndTriggerFrequency (double *pdFrequency);
TANGOAPI int TANGOCALL LS_Get2ndTriggerWidth (double *pdWidth);
TANGOAPI int TANGOCALL LS_GetAccel (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetAccelFunc (int *lX, int *lY, int *lZ, int *lR);
TANGOAPI int TANGOCALL LS_GetAccelFuncSingleAxis (int lAxis, int *plVal);
TANGOAPI int TANGOCALL LS_GetAccelSingleAxis (int lAxis, double *pdAccel);
TANGOAPI int TANGOCALL LS_GetAccelTVRO (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetActiveAxes (int *plFlags);
TANGOAPI int TANGOCALL LS_GetAnalogInput (int lIndex, int *plValue);
TANGOAPI int TANGOCALL LS_GetAnalogInputs2 (int *plPT100, int *plMV, int *plV24);
TANGOAPI int TANGOCALL LS_GetAnalogOutputMode (int *plValue);
TANGOAPI int TANGOCALL LS_GetAutoLimitAfterCalibRM (int *plFlags);
TANGOAPI int TANGOCALL LS_GetAutoStatus (int *plValue);
TANGOAPI int TANGOCALL LS_GetAuxDigitalInput (int lIndex, BOOL *bValue);
TANGOAPI int TANGOCALL LS_GetAxisDirection (int *plXD, int *plYD, int *plZD, int *plAD);
TANGOAPI int TANGOCALL LS_GetBlSmoothSingleAxis (int lAxis, int *plBlSmooth);
TANGOAPI int TANGOCALL LS_GetBPZ (int *plAValue);
TANGOAPI int TANGOCALL LS_GetBPZJoyspeed (int lAPar, double *pdAValue);
TANGOAPI int TANGOCALL LS_GetBPZTrackballBackLash (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetBPZTrackballFactor (double *pdAValue);
TANGOAPI int TANGOCALL LS_GetCabinLED (int *plOn);
TANGOAPI int TANGOCALL LS_GetCalibBackSpeed (int *plSpeed);
TANGOAPI int TANGOCALL LS_GetCalibOffset (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetCalibrateDir (int *plXD, int *plYD, int *plZD, int *plAD);
TANGOAPI int TANGOCALL LS_GetClipType (int *plClipType);
TANGOAPI int TANGOCALL LS_GetCommandTimeout (int *plAtoRead, int *plAtoMove, int *plAtoCalibrate);
TANGOAPI int TANGOCALL LS_GetController (int *plXC, int *plYC, int *plZC, int *plRC);
TANGOAPI int TANGOCALL LS_GetControllerCall (int *plCtrCall);
TANGOAPI int TANGOCALL LS_GetControllerFactor (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetControllerFactorSingleAxis (int lAxis, double *pdFactor1, double *pdFactor2);
TANGOAPI int TANGOCALL LS_GetControllerSteps (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetControllerTimeout (int *plACtrTimeout);
TANGOAPI int TANGOCALL LS_GetControllerTWDelay (int *plCtrTWDelay);
TANGOAPI int TANGOCALL LS_GetControllerTWDelaySingleAxis (int lAxis, int *plCtrTWDelay);
TANGOAPI int TANGOCALL LS_GetCtrFastMove (BOOL *pbActive);
TANGOAPI int TANGOCALL LS_GetCtrFastMoveCounter (int *plXC, int *plYC, int *plZC, int *plRC);
TANGOAPI int TANGOCALL LS_GetCurrentDelay (int *plX, int *plY, int *plZ, int *plR);
TANGOAPI int TANGOCALL LS_GetCurrentDelaySingleAxis (int lAxis, int *plVal);
TANGOAPI int TANGOCALL LS_GetDelay (int *plDelay);
TANGOAPI int TANGOCALL LS_GetDigitalInputs (int *plValue);
TANGOAPI int TANGOCALL LS_GetDigitalInputsE (int *plValue);
TANGOAPI int TANGOCALL LS_GetDigJoySpeed (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetDigJoySpeedSingleAxis (int lAxis, double *pdVal);
TANGOAPI int TANGOCALL LS_GetDimensions (int *plXD, int *plYD, int *plZD, int *plAD);
TANGOAPI int TANGOCALL LS_GetDimensionsSingleAxis (int lAxis, int *plVal);
TANGOAPI int TANGOCALL LS_GetDistance (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetDLLVersionString (char *pcVers, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetEEPRomValue (unsigned char Offset, unsigned char *pValue);
TANGOAPI int TANGOCALL LS_GetEncoder (double *pdXP, double *pdYP, double *pdZP, double *pdRP);
TANGOAPI int TANGOCALL LS_GetEncoderActive (int *plFlags);
TANGOAPI int TANGOCALL LS_GetEncoderMask (int *plFlags);
TANGOAPI int TANGOCALL LS_GetEncoderPeriod (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetEncoderPeriodSingleAxis (int lAxis, double *pdVal);
TANGOAPI int TANGOCALL LS_GetEncoderPosition (BOOL *pbValue);
TANGOAPI int TANGOCALL LS_GetEncoderRefSignal (int *plXR, int *plYR, int *plZR, int *plRR);
TANGOAPI int TANGOCALL LS_GetEncoderSingleAxis (int lAxis, int *plEncoderType, double *pdPeriod, int *plRef);
TANGOAPI int TANGOCALL LS_GetError (int *plErrorCode);
TANGOAPI int TANGOCALL LS_GetErrorString (int lErr, char *pcErrorString, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetFactorTVR (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetGear (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetGearSingleAxis (int lAxis, double *pdVal);
TANGOAPI int TANGOCALL LS_GetGripper (int *c1, int *s1, int *c2, int *s2);
TANGOAPI int TANGOCALL LS_GetHandWheel (BOOL *pbHandWheelOn, BOOL *pbPositionCount, BOOL *pbEncoder);
TANGOAPI int TANGOCALL LS_GetHdiKeys (int *plKey1, int *plKey2, int *plKey3, int *plKey4);
TANGOAPI int TANGOCALL LS_GetHdiSpeedIndex (int *plX, int *plY, int *plZ, int *plA);
TANGOAPI int TANGOCALL LS_GetHdiSpeedIndexSingleAxis (int lAxis, int *plIndex);
TANGOAPI int TANGOCALL LS_GetHwFactor (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetHwFactorB (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetHwFactorBSingleAxis (int lAxis, double *pdFactorB);
TANGOAPI int TANGOCALL LS_GetHwFactorSingleAxis (int lAxis, double *pdFactor);
TANGOAPI int TANGOCALL LS_GetJoyChangeAxis (BOOL *pbValue);
TANGOAPI int TANGOCALL LS_GetJoystick (BOOL *pbJoystickOn, BOOL *pbManual, BOOL *pbPositionCount, BOOL *pbEncoder);
TANGOAPI int TANGOCALL LS_GetJoystickDir (int *plXD, int *plYD, int *plZD, int *plRD);
TANGOAPI int TANGOCALL LS_GetJoystickDirSingleAxis (int lAxis, int *plVal);
TANGOAPI int TANGOCALL LS_GetJoystickFilter (BOOL *pbActive);
TANGOAPI int TANGOCALL LS_GetJoystickWindow (int *plAValue);
TANGOAPI int TANGOCALL LS_GetKey (BOOL *pbKey1, BOOL *pbKey2, BOOL *pbKey3, BOOL *pbKey4);
TANGOAPI int TANGOCALL LS_GetKeyLatch (BOOL *pbKey1, BOOL *pbKey2, BOOL *pbKey3, BOOL *pbKey4);
TANGOAPI int TANGOCALL LS_GetLabelLED (int *plOn);
TANGOAPI int TANGOCALL LS_GetLimit (int lAxis, double *pdMinRange, double *pdMaxRange);
TANGOAPI int TANGOCALL LS_GetLimitControl (int lAxis, BOOL *pbActive);
TANGOAPI int TANGOCALL LS_GetLoaderType (int *plLoaderType);
TANGOAPI int TANGOCALL LS_GetMotorCurrent (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetMotorCurrentSingleAxis (int lAxis, double *pdVal);
TANGOAPI int TANGOCALL LS_GetMotorSteps (int *lX, int *lY, int *lZ, int *lR);
TANGOAPI int TANGOCALL LS_GetMotorStepsSingleAxis (int lAxis, int *plVal);
TANGOAPI int TANGOCALL LS_GetMotorTablePatch (BOOL *pbActive);
TANGOAPI int TANGOCALL LS_GetNumberOfColumns (int *plColumns);
TANGOAPI int TANGOCALL LS_GetNumberOfMagazins (int *plMagazins);
TANGOAPI int TANGOCALL LS_GetNumberOfRows (int *plRows);
TANGOAPI int TANGOCALL LS_GetNumberOfSlots (int *plSlots);
TANGOAPI int TANGOCALL LS_GetOutFuncLev (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetPitch (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetPitchSingleAxis (int lAxis, double *pdVal);
TANGOAPI int TANGOCALL LS_GetPos (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetPosEx (double *pdX, double *pdY, double *pdZ, double *pdR, BOOL bEncoder);
TANGOAPI int TANGOCALL LS_GetPosSingleAxis (int lAxis, double *pdPos);
TANGOAPI int TANGOCALL LS_GetPosTVRO (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetPowerAmplifier (BOOL *pbAmplifier);
TANGOAPI int TANGOCALL LS_GetPrioHandlerPos (int *php);
TANGOAPI int TANGOCALL LS_GetReduction (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetReductionSingleAxis (int lAxis, double *pdVal);
TANGOAPI int TANGOCALL LS_GetRefSpeed (int *plSpeed);
TANGOAPI int TANGOCALL LS_GetResolution (int *plValue);
TANGOAPI int TANGOCALL LS_GetRFID (int slot, int bank, int *plRFID);
TANGOAPI int TANGOCALL LS_GetRMOffset (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetSecurityErr (DWORD *pdwValue);
TANGOAPI int TANGOCALL LS_GetSecurityStatus (DWORD *pdwValue);
TANGOAPI int TANGOCALL LS_GetSecVel (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetSecVelSingleAxis (int lAxis, double *pdVel);
TANGOAPI int TANGOCALL LS_GetSerialNr (char *pcSerialNr, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetSlide (int maga, int slot, int mode);
TANGOAPI int TANGOCALL LS_GetSmHdiButton (int lButtonNr, char *pcFunction, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetSnapshot (BOOL *pbASnapshot);
TANGOAPI int TANGOCALL LS_GetSnapshotCount (int *plSnsCount);
TANGOAPI int TANGOCALL LS_GetSnapshotFilter (int *plTime);
TANGOAPI int TANGOCALL LS_GetSnapshotIndex (int *plIndex);
TANGOAPI int TANGOCALL LS_GetSnapshotMode (int *plMode);
TANGOAPI int TANGOCALL LS_GetSnapshotPar (BOOL *pbHigh, BOOL *pbAutoMode);
TANGOAPI int TANGOCALL LS_GetSnapshotPos (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetSnapshotPosArray (int lIndex, double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetSpeedPoti (BOOL *pbSpePoti);
TANGOAPI int TANGOCALL LS_GetStA (int *plStaX, int *plStaY, int *plStaZ, int *plStaA);
TANGOAPI int TANGOCALL LS_GetStageSN (char *pcSN, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetStatus (char *pcStat, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetStatusAxis (char *pcStatusAxisStr, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetStatusLimit (char *pcLimit, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetStatusTVRO (char *pcStat, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetStop (BOOL *pbActiv);
TANGOAPI int TANGOCALL LS_GetStopAccel (double *pdXD, double *pdYD, double *pdZD, double *pdAD);
TANGOAPI int TANGOCALL LS_GetStopAccelSingleAxis (int lAxis, double *pdVal);
TANGOAPI int TANGOCALL LS_GetStopPolarity (BOOL *pbHighActiv);
TANGOAPI int TANGOCALL LS_GetSwapZA (BOOL *pbSwapZA);
TANGOAPI int TANGOCALL LS_GetSwitchActive (int *plXA, int *plYA, int *plZA, int *plRA);
TANGOAPI int TANGOCALL LS_GetSwitches (int *plFlags);
TANGOAPI int TANGOCALL LS_GetSwitchPolarity (int *plXP, int *plYP, int *plZP, int *plRP);
TANGOAPI int TANGOCALL LS_GetSwitchType (int *plXP, int *plYP, int *plZP, int *plRP);
TANGOAPI int TANGOCALL LS_GetSyncZA (BOOL *pbSyncZA);
TANGOAPI int TANGOCALL LS_GetTangoVersion (char *pcVers, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetTargetWindow (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetTargetWindowSingleAxis (int lAxis, double *pdVal);
TANGOAPI int TANGOCALL LS_GetTray (int slot, int mode);
TANGOAPI int TANGOCALL LS_GetTrayOnStage (int *plTrayOnSTage);
TANGOAPI int TANGOCALL LS_GetTraySN (int slot, int *plTraySN);
TANGOAPI int TANGOCALL LS_GetTrayType (int slot, int *plTrayType);
TANGOAPI int TANGOCALL LS_GetTrigCount (int *plValue);
TANGOAPI int TANGOCALL LS_GetTrigger (BOOL *pbATrigger);
TANGOAPI int TANGOCALL LS_GetTriggerAxis (int *plAxis);
TANGOAPI int TANGOCALL LS_GetTriggerCompensation (int *plCompensation);
TANGOAPI int TANGOCALL LS_GetTriggerDistance (double *pdDistance);
TANGOAPI int TANGOCALL LS_GetTriggerEncoder (int *plEncoder);
TANGOAPI int TANGOCALL LS_GetTriggerFrequency (double *pdFrequency);
TANGOAPI int TANGOCALL LS_GetTriggerLevel (int *plLevel);
TANGOAPI int TANGOCALL LS_GetTriggerMode (int *plMode);
TANGOAPI int TANGOCALL LS_GetTriggerOutput (int *plOutput);
TANGOAPI int TANGOCALL LS_GetTriggerPar (int *plAxis, int *plMode, int *plSignal, double *pdDistance);
TANGOAPI int TANGOCALL LS_GetTriggerPositionList (int lIndex, double *pdPos);
TANGOAPI int TANGOCALL LS_GetTriggerPositionListEntries (int *plNumberOfEntries);
TANGOAPI int TANGOCALL LS_GetTriggerPositionListIndex (int *plIndex);
TANGOAPI int TANGOCALL LS_GetTriggerRange (double *pdStartPos, double *pdEndPos, int *plNumberOfTriggerPulses);
TANGOAPI int TANGOCALL LS_GetTriggerSignalLength (int *plSignal);
TANGOAPI int TANGOCALL LS_GetTVRMode (int *plXT, int *plYT, int *plZT, int *plRT);
TANGOAPI int TANGOCALL LS_GetTVROutMode (int *plXT, int *plYT, int *plZT, int *plRT);
TANGOAPI int TANGOCALL LS_GetTVROutPitch (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetTVROutResolution (int *plX, int *plY, int *plZ, int *plR);
TANGOAPI int TANGOCALL LS_GetVel (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_GetVelFac (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetVelSingleAxis (int lAxis, double *pdVel);
TANGOAPI int TANGOCALL LS_GetVelTVRO (double *pdX, double *pdY, double *pdZ, double *pdR);
TANGOAPI int TANGOCALL LS_GetVersionStr (char *pcVers, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetVersionStrDet (char *pcVersDet, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetVersionStrInfo (char *pcVersInfo, int lMaxLen);
TANGOAPI int TANGOCALL LS_GetVLevel (int lVRegion, double *pdDownLevel, double *pdUppLevel);
TANGOAPI int TANGOCALL LS_GetXYAxisComp (int *plValue);
TANGOAPI int TANGOCALL LS_GetZwTravel (int lIndex, double *pdDistance);
TANGOAPI int TANGOCALL LS_Go (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_GoEx (double dX, double dY, double dZ, double dA, int lAxisCount);
TANGOAPI int TANGOCALL LS_GoSingleAxis (int lAxis, double dValue);
TANGOAPI int TANGOCALL LS_Insert (void);
TANGOAPI int TANGOCALL LS_IsVel (double *pdX, double *pdY, double *pdZ, double *pdA);
TANGOAPI int TANGOCALL LS_IsVelSingleAxis (int lAxis, double *pdVel);
TANGOAPI int TANGOCALL LS_JoyChangeAxis (BOOL bValue);
TANGOAPI int TANGOCALL LS_LoadConfig (char *pcFileName);
TANGOAPI int TANGOCALL LS_LStepSave (void);
TANGOAPI int TANGOCALL LS_MagazinSeated (int maga, int *status);
TANGOAPI int TANGOCALL LS_MoveAbs (double dX, double dY, double dZ, double dA, BOOL bWait);
TANGOAPI int TANGOCALL LS_MoveAbsSingleAxis (int lAxis, double dValue, BOOL bWait);
TANGOAPI int TANGOCALL LS_MoveAbsTVRO (double dX, double dY, double dZ, double dR, BOOL bWait);
TANGOAPI int TANGOCALL LS_MoveAbsTVROSingleAxis (int lAxis, double dValue, BOOL bWait);
TANGOAPI int TANGOCALL LS_MoveEx (double dX, double dY, double dZ, double dR, BOOL bRelative, BOOL bWait, int lAxisCount);
TANGOAPI int TANGOCALL LS_MoveRel (double dX, double dY, double dZ, double dA, BOOL bWait);
TANGOAPI int TANGOCALL LS_MoveRelShort (void);
TANGOAPI int TANGOCALL LS_MoveRelSingleAxis (int lAxis, double dValue, BOOL bWait);
TANGOAPI int TANGOCALL LS_MoveRelTVRO (double dX, double dY, double dZ, double dR, BOOL bWait);
TANGOAPI int TANGOCALL LS_MoveRelTVROSingleAxis (int lAxis, double dValue, BOOL bWait);
TANGOAPI int TANGOCALL LS_PutSlide (int maga, int slot);
TANGOAPI int TANGOCALL LS_PutTray (int slot);
TANGOAPI int TANGOCALL LS_ReadControlPars (void);
#if defined(_MFC_VER) || defined(__ATLSTR_H__)
TANGOAPI int TANGOCALL LS_ReconnectPort (CString aPort);
#endif
TANGOAPI int TANGOCALL LS_RMeasure (void);
TANGOAPI int TANGOCALL LS_RMeasureEx (int lFlags);
TANGOAPI int TANGOCALL LS_SaveConfig (char *pcFileName);
TANGOAPI int TANGOCALL LS_SendString (char *pcStr, char *pcRet, int lMaxLen, BOOL bReadLine, int lTimeOut);
TANGOAPI int TANGOCALL LS_SendStringPosCmd (char *pcStr, char *pcRet, int lMaxLen, BOOL bReadLine, int lTimeOut);
TANGOAPI int TANGOCALL LS_Set2ndTriggerDelay (double dDelay);
TANGOAPI int TANGOCALL LS_Set2ndTriggerFrequency (double dFrequency);
TANGOAPI int TANGOCALL LS_Set2ndTriggerWidth (double dWidth);
TANGOAPI int TANGOCALL LS_SetAbortFlag (void);
TANGOAPI int TANGOCALL LS_SetAccel (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetAccelFunc (int lX, int lY, int lZ, int lR);
TANGOAPI int TANGOCALL LS_SetAccelFuncSingleAxis (int lAxis, int iVal);
TANGOAPI int TANGOCALL LS_SetAccelSingleAxis (int lAxis, double dAccel);
TANGOAPI int TANGOCALL LS_SetAccelSingleAxisTVRO (int lAxis, double dAccel);
TANGOAPI int TANGOCALL LS_SetAccelTVRO (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetActiveAxes (int lFlags);
TANGOAPI int TANGOCALL LS_SetAnalogOutput (int lIndex, int lValue);
TANGOAPI int TANGOCALL LS_SetAnalogOutputMode (int lValue);
TANGOAPI int TANGOCALL LS_SetAutoLimitAfterCalibRM (int lFlags);
TANGOAPI int TANGOCALL LS_SetAutoStatus (int lValue);
TANGOAPI int TANGOCALL LS_SetAuxDigitalOutput (int lIndex, BOOL bValue);
TANGOAPI int TANGOCALL LS_SetAxisDirection (int lXD, int lYD, int lZD, int lAD);
TANGOAPI int TANGOCALL LS_SetBlSmoothSingleAxis (int lAxis, int lBlSmooth);
TANGOAPI int TANGOCALL LS_SetBPZ (int lAValue);
TANGOAPI int TANGOCALL LS_SetBPZJoyspeed (int lAPar, double dAValue);
TANGOAPI int TANGOCALL LS_SetBPZTrackballBackLash (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetBPZTrackballFactor (double dAValue);
TANGOAPI int TANGOCALL LS_SetCabinLED (int lOn);
TANGOAPI int TANGOCALL LS_SetCalibBackSpeed (int lSpeed);
TANGOAPI int TANGOCALL LS_SetCalibOffset (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetCalibrateDir (int lXD, int lYD, int lZD, int lAD);
TANGOAPI int TANGOCALL LS_SetCommandTimeout (int lAtoRead, int lAtoMove, int lAtoCalibrate);
TANGOAPI int TANGOCALL LS_SetController (int lXC, int lYC, int lZC, int lAC);
TANGOAPI int TANGOCALL LS_SetControllerCall (int lCtrCall);
TANGOAPI int TANGOCALL LS_SetControllerFactor (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetControllerFactorSingleAxis (int lAxis, double dFactor1, double dFactor2);
TANGOAPI int TANGOCALL LS_SetControllerSteps (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetControllerTimeout (int lACtrTimeout);
TANGOAPI int TANGOCALL LS_SetControllerTWDelay (int lCtrTWDelay);
TANGOAPI int TANGOCALL LS_SetControllerTWDelaySingleAxis (int lAxis, int lCtrTWDelay);
TANGOAPI int TANGOCALL LS_SetControlPars (void);
TANGOAPI int TANGOCALL LS_SetCorrTblOff (void);
TANGOAPI int TANGOCALL LS_SetCorrTblOn (char *pcAFileName);
TANGOAPI int TANGOCALL LS_SetCtrFastMoveOff (void);
TANGOAPI int TANGOCALL LS_SetCtrFastMoveOn (void);
TANGOAPI int TANGOCALL LS_SetCtrlPars (void);
TANGOAPI int TANGOCALL LS_SetCurrentDelay (int lX, int lY, int lZ, int lR);
TANGOAPI int TANGOCALL LS_SetCurrentDelaySingleAxis (int lAxis, int iVal);
TANGOAPI int TANGOCALL LS_SetDelay (int lDelay);
TANGOAPI int TANGOCALL LS_SetDigIO_Distance (int lIndex, BOOL bFkt, double dDist, int lAxis);
TANGOAPI int TANGOCALL LS_SetDigIO_EmergencyStop (int lIndex);
TANGOAPI int TANGOCALL LS_SetDigIO_Off (int lIndex);
TANGOAPI int TANGOCALL LS_SetDigIO_Polarity (int lIndex, BOOL bHigh);
TANGOAPI int TANGOCALL LS_SetDigitalOutput (int lIndex, BOOL bValue);
TANGOAPI int TANGOCALL LS_SetDigitalOutputE (int lIndex, BOOL bValue);
TANGOAPI int TANGOCALL LS_SetDigitalOutputs (int lValue);
TANGOAPI int TANGOCALL LS_SetDigitalOutputsE (int lValue);
TANGOAPI int TANGOCALL LS_SetDigJoySpeed (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetDigJoySpeedSingleAxis (int lAxis, double dVal);
TANGOAPI int TANGOCALL LS_SetDimensions (int lXD, int lYD, int lZD, int lAD);
TANGOAPI int TANGOCALL LS_SetDimensionsSingleAxis (int lAxis, int iVal);
TANGOAPI int TANGOCALL LS_SetDistance (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetDllNumOfAxes (int lNumOfAxes);
TANGOAPI int TANGOCALL LS_SetEEPRomValue (unsigned char Offset, unsigned char Value);
TANGOAPI int TANGOCALL LS_SetEncoderActive (int lFlags);
TANGOAPI int TANGOCALL LS_SetEncoderMask (int lValue);
TANGOAPI int TANGOCALL LS_SetEncoderPeriod (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetEncoderPeriodSingleAxis (int lAxis, double dVal);
TANGOAPI int TANGOCALL LS_SetEncoderPosition (BOOL bValue);
TANGOAPI int TANGOCALL LS_SetEncoderRefSignal (int lXR, int lYR, int lZR, int lAR);
TANGOAPI int TANGOCALL LS_SetEncoderSingleAxis (int lAxis, int lEncoderType, double dPeriod, int lRef);
TANGOAPI int TANGOCALL LS_SetExtValue (int lAName, int lAValue);
TANGOAPI int TANGOCALL LS_SetFactorMode (BOOL bAFactorMode, double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetFactorTVR (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetGear (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetGearSingleAxis (int lAxis, double dVal);
TANGOAPI int TANGOCALL LS_SetGripper (int c1, int s1, int c2, int s2);
TANGOAPI int TANGOCALL LS_SetHandWheelOff (void);
TANGOAPI int TANGOCALL LS_SetHandWheelOn (BOOL bPositionCount, BOOL bEncoder);
TANGOAPI int TANGOCALL LS_SetHdiSpeedIndex (int lX, int lY, int lZ, int lA);
TANGOAPI int TANGOCALL LS_SetHdiSpeedIndexSingleAxis (int lAxis, int lIndex);
TANGOAPI int TANGOCALL LS_SetHwFactor (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetHwFactorB (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetHwFactorBSingleAxis (int lAxis, double dFactorB);
TANGOAPI int TANGOCALL LS_SetHwFactorSingleAxis (int lAxis, double dFactor);
TANGOAPI int TANGOCALL LS_SetJoystickDir (int lXD, int lYD, int lZD, int lAD);
TANGOAPI int TANGOCALL LS_SetJoystickDirSingleAxis (int lAxis, int iVal);
TANGOAPI int TANGOCALL LS_SetJoystickFilter (BOOL bActive);
TANGOAPI int TANGOCALL LS_SetJoystickOff (void);
TANGOAPI int TANGOCALL LS_SetJoystickOn (BOOL bPositionCount, BOOL bEncoder);
TANGOAPI int TANGOCALL LS_SetJoystickWindow (int lAValue);
TANGOAPI int TANGOCALL LS_SetLabelLED (int lOn);
TANGOAPI int TANGOCALL LS_SetLanguage (char *pcPLN);
TANGOAPI int TANGOCALL LS_SetLedBright (double dBright);
TANGOAPI int TANGOCALL LS_SetLimit (int lAxis, double dMinRange, double dMaxRange);
TANGOAPI int TANGOCALL LS_SetLimitControl (int lAxis, BOOL bActive);
TANGOAPI int TANGOCALL LS_SetMotorCurrent (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetMotorCurrentSingleAxis (int lAxis, double dVal);
TANGOAPI int TANGOCALL LS_SetMotorSteps (int lX, int lY, int lZ, int lR);
TANGOAPI int TANGOCALL LS_SetMotorStepsSingleAxis (int lAxis, int iVal);
TANGOAPI int TANGOCALL LS_SetMotorTablePatch (BOOL bActive);
TANGOAPI int TANGOCALL LS_SetOutFuncLev (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetPitch (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetPitchSingleAxis (int lAxis, double dVal);
TANGOAPI int TANGOCALL LS_SetPos (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetPosSingleAxis (int lAxis, double dPos);
TANGOAPI int TANGOCALL LS_SetPosTVRO (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetPowerAmplifier (BOOL bAmplifier);
TANGOAPI int TANGOCALL LS_SetPrioHandlerPos (int php);
TANGOAPI int TANGOCALL LS_SetProcessMessagesProc (void* pProc);
TANGOAPI int TANGOCALL LS_SetReduction (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetReductionSingleAxis (int lAxis, double dVal);
TANGOAPI int TANGOCALL LS_SetRefSpeed (int lSpeed);
TANGOAPI int TANGOCALL LS_SetResolution (int lValue);
TANGOAPI int TANGOCALL LS_SetRFID (int slot, int bank, int lRFID);
TANGOAPI int TANGOCALL LS_SetRMOffset (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetSecVel (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetSecVelSingleAxis (int lAxis, double dVel);
TANGOAPI int TANGOCALL LS_SetShowCmdList (BOOL bShowCmdList);
TANGOAPI int TANGOCALL LS_SetShowProt (int lShowProt);
TANGOAPI int TANGOCALL LS_SetSmHdiButton (int lButtonNr, char *pcFunction);
TANGOAPI int TANGOCALL LS_SetSnapshot (BOOL bASnapshot);
TANGOAPI int TANGOCALL LS_SetSnapshotCount (int lSnsCount);
TANGOAPI int TANGOCALL LS_SetSnapshotFilter (int lTime);
TANGOAPI int TANGOCALL LS_SetSnapshotIndex (int lIndex);
TANGOAPI int TANGOCALL LS_SetSnapshotMode (int lMode);
TANGOAPI int TANGOCALL LS_SetSnapshotPar (BOOL bHigh, BOOL bAutoMode);
TANGOAPI int TANGOCALL LS_SetSnapshotPosArray (int lIndex, double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetSpeedPoti (BOOL bSpeedPoti);
TANGOAPI int TANGOCALL LS_SetStop (BOOL bActiv);
TANGOAPI int TANGOCALL LS_SetStopAccel (double dXD, double dYD, double dZD, double dAD);
TANGOAPI int TANGOCALL LS_SetStopAccelSingleAxis (int lAxis, double dVal);
TANGOAPI int TANGOCALL LS_SetStopPolarity (BOOL bHighActiv);
TANGOAPI int TANGOCALL LS_SetSwapZA (BOOL bSwap);
TANGOAPI int TANGOCALL LS_SetSwitchActive (int lXA, int lYA, int lZA, int lAA);
TANGOAPI int TANGOCALL LS_SetSwitchPolarity (int lXP, int lYP, int lZP, int lAP);
TANGOAPI int TANGOCALL LS_SetSwitchType (int lXP, int lYP, int lZP, int lAP);
TANGOAPI int TANGOCALL LS_SetSyncZA (BOOL bSync);
TANGOAPI int TANGOCALL LS_SetTargetWindow (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetTargetWindowSingleAxis (int lAxis, double dVal);
TANGOAPI int TANGOCALL LS_SetTrayType (int slot, int TrayType);
TANGOAPI int TANGOCALL LS_SetTrigCount (int lValue);
TANGOAPI int TANGOCALL LS_SetTrigger (BOOL bATrigger);
TANGOAPI int TANGOCALL LS_SetTriggerAxis (int lAxis);
TANGOAPI int TANGOCALL LS_SetTriggerCompensation (int lCompensation);
TANGOAPI int TANGOCALL LS_SetTriggerDistance (double dDistance);
TANGOAPI int TANGOCALL LS_SetTriggerEncoder (int lEncoder);
TANGOAPI int TANGOCALL LS_SetTriggerFrequency (double dFrequency);
TANGOAPI int TANGOCALL LS_SetTriggerLevel (int lLevel);
TANGOAPI int TANGOCALL LS_SetTriggerMode (int lMode);
TANGOAPI int TANGOCALL LS_SetTriggerOutput (int lOutput);
TANGOAPI int TANGOCALL LS_SetTriggerPar (int lAxis, int lMode, int lSignal, double dDistance);
TANGOAPI int TANGOCALL LS_SetTriggerPositionList (int lIndex, double dPosition);
TANGOAPI int TANGOCALL LS_SetTriggerPositionListEntries (int lNumberOfEntries);
TANGOAPI int TANGOCALL LS_SetTriggerPositionListIndex (int lIndex);
TANGOAPI int TANGOCALL LS_SetTriggerRange (double dStartPos, double dEndPos, int lNumberOfTriggerPulses);
TANGOAPI int TANGOCALL LS_SetTriggerSignalLength (int lSignal);
TANGOAPI int TANGOCALL LS_SetTVRInPulse (int lAxis, BOOL bDirection);
TANGOAPI int TANGOCALL LS_SetTVRMode (int lXT, int lYT, int lZT, int lAT);
TANGOAPI int TANGOCALL LS_SetTVROutMode (int lXT, int lYT, int lZT, int lRT);
TANGOAPI int TANGOCALL LS_SetTVROutPitch (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetTVROutResolution (int lX, int lY, int lZ, int lR);
TANGOAPI int TANGOCALL LS_SetVel (double dX, double dY, double dZ, double dA);
TANGOAPI int TANGOCALL LS_SetVelFac (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetVelSingleAxis (int lAxis, double dVel);
TANGOAPI int TANGOCALL LS_SetVelSingleAxisTVRO (int lAxis, double dVel);
TANGOAPI int TANGOCALL LS_SetVelTVRO (double dX, double dY, double dZ, double dR);
TANGOAPI int TANGOCALL LS_SetVLevel (int lVRegion, double dDownLevel, double dUppLevel);
TANGOAPI int TANGOCALL LS_SetWriteLogText (BOOL bAWriteLogText);
TANGOAPI int TANGOCALL LS_SetWriteLogTextFN (BOOL bAWriteLogText, char *pcALogFN);
TANGOAPI int TANGOCALL LS_SetXYAxisComp (int lValue);
TANGOAPI int TANGOCALL LS_SetZwTravel (int lIndex, double dDistance);
TANGOAPI int TANGOCALL LS_SlideSeated (int maga, int slot, int *status);
TANGOAPI int TANGOCALL LS_SoftwareReset (void);
TANGOAPI int TANGOCALL LS_StopAxes (void);
TANGOAPI int TANGOCALL LS_StopAxesEx (int lFlags);
TANGOAPI int TANGOCALL LS_WaitForAxisStop (int lAFlags, int lATimeoutValue, BOOL *pbATimeout);
TANGOAPI int TANGOCALL LS_Xpos3_AbortSingleAxis (int lAxis);
TANGOAPI int TANGOCALL LS_Xpos3_ClearError (void);
TANGOAPI int TANGOCALL LS_Xpos3_GetAccelSingleAxis (int lAxis, double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetAxisDirSingleAxis (int lAxis, int *plValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetError (int *plValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetGearSingleAxis (int lAxis, double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetPitchSingleAxis (int lAxis, double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetPosSingleAxis (int lAxis, double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetSpeedSingleAxis (int lAxis, double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetStatusAxisSingleAxis (int lAxis, int *plState);
TANGOAPI int TANGOCALL LS_Xpos3_GetStatusBits (int *plValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetStopAccelSingleAxis (int lAxis, double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetTemp (double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetTempMCU (double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_GetVelSingleAxis (int lAxis, double *pdValue);
TANGOAPI int TANGOCALL LS_Xpos3_MoveAbsSingleAxis (int lAxis, double dValue, BOOL bWait);
TANGOAPI int TANGOCALL LS_Xpos3_MoveRelSingleAxis (int lAxis, double dValue, BOOL bWait);
TANGOAPI int TANGOCALL LS_Xpos3_SetAccelSingleAxis (int lAxis, double dValue);
TANGOAPI int TANGOCALL LS_Xpos3_SetAxisDirSingleAxis (int lAxis, int lValue);
TANGOAPI int TANGOCALL LS_Xpos3_SetGearSingleAxis (int lAxis, double dValue);
TANGOAPI int TANGOCALL LS_Xpos3_SetPitchSingleAxis (int lAxis, double dValue);
TANGOAPI int TANGOCALL LS_Xpos3_SetPosSingleAxis (int lAxis, double dValue);
TANGOAPI int TANGOCALL LS_Xpos3_SetSpeedSingleAxis (int lAxis, double dValue);
TANGOAPI int TANGOCALL LS_Xpos3_SetStopAccelSingleAxis (int lAxis, double dValue);
TANGOAPI int TANGOCALL LS_Xpos3_SetVelSingleAxis (int lAxis, double dValue);

#ifdef __cplusplus
}
#endif

#endif // _TANGOLSAPI_INCLUDED_