static extern _LTRNative.LTRERROR LTR22_SetFreq(ref TLTR22 module, bool adc384, byte Freq_dv);
static extern _LTRNative.LTRERROR LTR22_ReopenModule(ref TLTR22 module);
public _ltr22api() { module = NewTLTR22; }
static extern _LTRNative.LTRERROR LTR22_ProcessData(ref TLTR22 module, uint[] src_data, double[] dst_data, uint size, bool calibrMainPset, bool calibrExtraVolts, byte[] OverflowFlags);
static extern _LTRNative.LTRERROR LTR22_WriteAVREEPROM(ref TLTR22 module, byte[] Data, uint BeginAddress, uint size);
static extern _LTRNative.LTRERROR LTR22_SetADCChannel(ref TLTR22 module, byte ADCChannel, bool EnableADC);
static extern int LTR22_Recv(ref TLTR22 module, uint[] data, uint[] tstamp, uint size, uint timeout);
static extern _LTRNative.LTRERROR LTR22_IsOpened(ref TLTR22 module);
static extern _LTRNative.LTRERROR LTR22_SetConfig(ref TLTR22 module);
static extern _LTRNative.LTRERROR LTR22_Close(ref TLTR22 module);
static extern _LTRNative.LTRERROR LTR22_Open(ref TLTR22 hnd, uint saddr, ushort sport, string csn, ushort slot_num);
public static extern _LTRNative.LTRERROR LTR22_GetADCData(ref TLTR22 module, double[] Data, uint Size, uint time, bool calibrMainPset, bool calibrExtraVolts);
public static extern _LTRNative.LTRERROR LTR22_Recv(ref TLTR22 module, uint[] data, uint[] tstamp, uint size, uint timeout);
public static extern _LTRNative.LTRERROR LTR22_GetCalibrovka(ref TLTR22 module);
static extern _LTRNative.LTRERROR LTR22_SwitchACDCState(ref TLTR22 module, bool ACDCState);
static extern _LTRNative.LTRERROR LTR22_ClearBuffer(ref TLTR22 module, bool wait_response);
static extern _LTRNative.LTRERROR LTR22_SetADCRange(ref TLTR22 module, byte ADCChannel, byte ADCChannelRange);
static extern _LTRNative.LTRERROR LTR22_StartADC(ref TLTR22 module, bool WaitSync);
static extern _LTRNative.LTRERROR LTR22_GetCalibrCoeffs(ref TLTR22 module);
static extern _LTRNative.LTRERROR LTR22_StopADC(ref TLTR22 module);
static extern _LTRNative.LTRERROR LTR22_GetModuleDescription(ref TLTR22 module);
static extern _LTRNative.LTRERROR LTR22_SetSyncPriority(ref TLTR22 module, bool SyncMaster);
static extern _LTRNative.LTRERROR LTR22_ProcessDataEx(ref TLTR22 module, uint[] src_data, double[] dst_data, ref int size, ProcFlags flags, byte[] OverflowFlags, IntPtr reserved);
static extern _LTRNative.LTRERROR LTR22_SyncPhaze(ref TLTR22 module, uint timeout);
static extern _LTRNative.LTRERROR LTR22_TestHardwareInterface(ref TLTR22 module);
static extern _LTRNative.LTRERROR LTR22_SwitchMeasureADCZero(ref TLTR22 module, bool SetMeasure);
static extern _LTRNative.LTRERROR LTR22_Init(ref TLTR22 module);
public static extern _LTRNative.LTRERROR LTR22_Open(ref TLTR22 module, uint saddr, ushort sport, [In, Out] byte[] csn, ushort cc);