Beispiel #1
0
 public INEMO2_DeviceError Connect(string strConnection)
 {
     this.m_DeviceHandle = INEMO2_Connect(strConnection);
     if (this.m_DeviceHandle.Handle == -1)
     {
         return INEMO2_DeviceError.INEMO2_ERROR_INVALID_HANDLE;
     }
     return INEMO2_DeviceError.INEMO2_ERROR_NONE;
 }
Beispiel #2
0
        public INEMO2_DeviceError Connect(string strConnection)
        {
            m_DeviceHandle = INEMO2_Connect(strConnection);

            if (m_DeviceHandle.Handle == INEMO2_DeviceHandle.INEMO2_DEVICE_HANDLE_INVALID)
            {
                return(INEMO2_DeviceError.INEMO2_ERROR_INVALID_HANDLE);
            }

            return(INEMO2_DeviceError.INEMO2_ERROR_NONE);
        }
Beispiel #3
0
 private static extern INEMO2_DeviceError INEMO2_GetOutput(INEMO2_DeviceHandle hHandle, ref INEMO2_Output output);
Beispiel #4
0
 private static extern INEMO2_DeviceError INEMO2_Command(INEMO2_DeviceHandle hHandle, INEMO2_DeviceCommand cmd);
Beispiel #5
0
 private static extern INEMO2_DeviceError INEMO2_GetInfoText(INEMO2_DeviceHandle hHandle, INEMO2_DeviceInfoText info, byte[] data, ref Int32 lpnSize);
Beispiel #6
0
 private static extern INEMO2_DeviceError INEMO2_GetDataSample(INEMO2_DeviceHandle hHandle, ref INEMO2_FrameData pFrame);
Beispiel #7
0
 private static extern UInt32 INEMO2_IsConnect(INEMO2_DeviceHandle hHandle);
Beispiel #8
0
 private static extern INEMO2_DeviceError INEMO2_GetBufferUsage(INEMO2_DeviceHandle hHandle, INEMO2_DeviceBuffers typeBuffer, ref double pPerc);
Beispiel #9
0
 private static extern INEMO2_DeviceError INEMO2_GetReg(INEMO2_DeviceHandle hDevHandle, INEMO2_SENSORS sensor, UInt32 reg, ref UInt32 pRegValue, ref UInt32 pSizeRegValue);
Beispiel #10
0
 private static extern INEMO2_DeviceError INEMO2_RestoreDefault(INEMO2_DeviceHandle hDevHandle, INEMO2_SENSORS sensor, uint reg);
Beispiel #11
0
 private static extern INEMO2_DeviceError INEMO2_SetOutput(INEMO2_DeviceHandle hHandle, ref INEMO2_Output output);
Beispiel #12
0
 private static extern INEMO2_DeviceError INEMO2_Identify(INEMO2_DeviceHandle hDevHandle);
Beispiel #13
0
 private static extern uint INEMO2_IsConnect(INEMO2_DeviceHandle hHandle);
Beispiel #14
0
 private static extern INEMO2_DeviceError INEMO2_GetTrace(INEMO2_DeviceHandle hHandle, byte[] TraceData, ref int lpnSize);
Beispiel #15
0
 private static extern INEMO2_DeviceError INEMO2_GetModules(INEMO2_DeviceHandle hDevHandle, ref INEMO2_MODULES pModules);
Beispiel #16
0
 private static extern INEMO2_DeviceError INEMO2_GetInfoText(INEMO2_DeviceHandle hHandle, INEMO2_DeviceInfoText info, byte[] data, ref int lpnSize);
Beispiel #17
0
 private static extern INEMO2_DeviceError INEMO2_GetDataSample(INEMO2_DeviceHandle hHandle, ref INEMO2_FrameData pFrame);
Beispiel #18
0
 private static extern INEMO2_DeviceError INEMO2_SetReg(INEMO2_DeviceHandle hDevHandle, INEMO2_SENSORS sensor, uint reg, byte[] RegValue, uint sizeRegValue);
Beispiel #19
0
 private static extern INEMO2_DeviceError INEMO2_GetTrace(INEMO2_DeviceHandle hHandle, byte[] TraceData, ref Int32 lpnSize);
Beispiel #20
0
 private static extern INEMO2_DeviceError INEMO2_Identify(INEMO2_DeviceHandle hDevHandle);
Beispiel #21
0
 private static extern INEMO2_DeviceError INEMO2_GetModules(INEMO2_DeviceHandle hDevHandle, ref INEMO2_MODULES pModules);
Beispiel #22
0
 private static extern INEMO2_DeviceError INEMO2_Disconnect(INEMO2_DeviceHandle hHandle);
Beispiel #23
0
 private static extern INEMO2_DeviceError INEMO2_RestoreDefault(INEMO2_DeviceHandle hDevHandle, INEMO2_SENSORS sensor, UInt32 reg);
Beispiel #24
0
 private static extern INEMO2_DeviceError INEMO2_GetBufferUsage(INEMO2_DeviceHandle hHandle, INEMO2_DeviceBuffers typeBuffer, ref double pPerc);
Beispiel #25
0
 private static extern INEMO2_DeviceError INEMO2_Disconnect(INEMO2_DeviceHandle hHandle);
Beispiel #26
0
 private static extern INEMO2_DeviceError INEMO2_Command(INEMO2_DeviceHandle hHandle, INEMO2_DeviceCommand cmd);