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