# -*- coding: utf-8 -*-
"""
Created on Tue Mar 26 15:41:07 2019

@author: Labadmin
"""
SPEED_OF_LIGHT = 2999792458

CMD_DCS = "getDCSSorted"
CMD_AMP = "getAmplitudeSorted"
CMD_DIST = "getDistanceSorted"
CMD_SET_ROI = "setROI"
CMD_SET_INT_TIME2D = "setIntegrationTime2D"
CMD_SET_INT_TIME3D = "setIntegrationTime3D"
CMD_SET_INT_TIME3DHDR = "setIntegrationTime3DHDR"
CMD_SET_ABS = "setABS"
CMD_SELECT_MODE = "selectMode"
CMD_SELECT_POLYNOMIAL = "selectPolynomial"
CMD_LOAD_CONFIG = "version"
CMD_READ_REGISTER = "readRegister"
CMD_WRITE_REGISTER = "writeRegister"
CMD_ENABLE_IMAGING = "enableImaging"
CMD_GET_OFFSET = "getOffset"
CMD_GET_BAD_PIXELS = "getBadPixels"
CMD_GET_TEMPERATURE = "getTemperature"
CMD_GET_AVE_TEMPERATURE = "getAveragedTemperature"
CMD_GET_CHIP_INFO = "getChipInfo"
CMD_GET_IC_VER = "getIcVersion"
CMD_GET_PART_VER = "getPartVersion"
CMD_GET_SERVER_VER = "version"
CMD_GET_SPEED_OF_LIGHT = "getSpeedOfLight"
CMD_GET_BW_IMAGE = "getBWSorted"
CMD_GET_ALL_MOD_FREQS = "getModulationFrequencies"
CMD_GET_DCS = "getDCSSorted"
CMD_GET_DIST = "getDistanceSorted"
CMD_GET_OFFSET = "getOffset"
CMD_GET_IMAGING_TIME = "getImagingTime"
CMD_GET_MOD_FREQ = "getCalibrationTypeForFreqIdx"
CMD_GET_AMP = "getAmplitudeSorted"
CMD_GET_DIST_AND_AMP = "getDistanceAndAmplitudeSorted"
CMD_GET_ALL = "getDCSTOFAndGrayscaleSorted"
CMD_START_VIDEO = "startVideo"
CMD_STOP_VIDEO = "stopVideo"
CMD_ENABLE_ILLUMINATION = "enableIllumination"
CMD_ENABLE_VERT_BINNING = "enableVerticalBinning"
CMD_ENABLE_HORIZ_BINNING = "enableHorizontalBinning"
CMD_SET_ROW_REDUCTION = "setRowReduction"
CMD_FILTER_MODE = "filterMode"
CMD_LOOP_FILTER = "nloopFilter"
CMD_ENABLE_ARG_CHECK = "enableArgCheck"
CMD_SET_ADD_ARG_THRESH = "setAddArgThreshold"
CMD_SET_ADD_ARG_MIN = "setAddArgMin"
CMD_SET_ADD_ARG_MAX = "setAddArgMax"
CMD_SET_MIN_AMP = "setMinAmplitude"
CMD_GET_MIN_AMP = "getMinAmp"
CMD_ENABLE_DUAL_MGX = "enableDualMGX"
CMD_ENABLE_HDR = "enableHDR"
CMD_ENABLE_PDELAY = "enablePiDelay"
CMD_SET_MOD_FREQ = "setModulationFrequency"
CMD_SELECT_MODE = "selectMode"
CMD_LOAD_CONFIG = "loadConfig"

DCS0 = 0
DCS1 = 1
DCS2 = 2
DCS3 = 3

CAM_RESX = 320
CAM_RESY = 240

MAX_PVALUE = 255
MIN_PVALUE = 0

