API C#
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Kinova.DLL.USBManager.Connectivity.DeviceConnection.CUsbConnector Class Reference

More...

Public Member Functions

static int _MPUSBGetDLLVersion ()
 Method from the mpusbapi.dll. More...
 
static IntPtr _MPUSBOpen (int instance, string vid_pid, string pEP, int dwDir, int dwReserved)
 Method from the mpusbapi.dll. More...
 
static int _MPUSBGetDeviceCount (string pVID_PID)
 Method from the mpusbapi.dll. More...
 
static IntPtr _MPUSBRead (IntPtr handle, byte[] pData, int dwLen, ref int pLength, int dwMilliseconds)
 Method from the mpusbapi.dll. More...
 
static IntPtr _MPUSBWrite (IntPtr handle, byte[] pData, int dwLen, ref int pLength, int dwMilliseconds)
 Method from the mpusbapi.dll. More...
 
static IntPtr _MPUSBReadInt (IntPtr handle, byte[] pData, int dwLen, int[] pLength, int dwMilliseconds)
 Method from the mpusbapi.dll. More...
 
static bool _MPUSBClose (IntPtr handle)
 Method from the mpusbapi.dll. More...
 
 CUsbConnector (int id, string vid_pid)
 
bool InitUSBConnection ()
 
bool ReleaseUSBConnection ()
 
unsafe void BreakConnection ()
 
double RealSpeedTest ()
 
bool IsJacoReady ()
 
unsafe bool RepairConnection ()
 
byte[] SendPacket (byte[] packet)
 

Public Attributes

const int PACKETSIZE_LOWSPEED = 64
 
const int PACKETSIZE_HIGHSPEED = 512
 

Properties

bool ConnectionEstablished [get]
 

Detailed Description

Member Function Documentation

static bool Kinova.DLL.USBManager.Connectivity.DeviceConnection.CUsbConnector._MPUSBClose ( IntPtr  handle)

Method from the mpusbapi.dll.

Parameters
handleThe handle.
Returns
static int Kinova.DLL.USBManager.Connectivity.DeviceConnection.CUsbConnector._MPUSBGetDeviceCount ( string  pVID_PID)

Method from the mpusbapi.dll.

Parameters
pVID_PIDThe p VI d_ PID.
Returns
static int Kinova.DLL.USBManager.Connectivity.DeviceConnection.CUsbConnector._MPUSBGetDLLVersion ( )

Method from the mpusbapi.dll.

Returns
static IntPtr Kinova.DLL.USBManager.Connectivity.DeviceConnection.CUsbConnector._MPUSBOpen ( int  instance,
string  vid_pid,
string  pEP,
int  dwDir,
int  dwReserved 
)

Method from the mpusbapi.dll.

Parameters
instanceThe instance.
vid_pidThe vid_pid.
pEPThe p EP.
dwDirThe dw dir.
dwReservedThe dw reserved.
Returns
static IntPtr Kinova.DLL.USBManager.Connectivity.DeviceConnection.CUsbConnector._MPUSBRead ( IntPtr  handle,
byte[]  pData,
int  dwLen,
ref int  pLength,
int  dwMilliseconds 
)

Method from the mpusbapi.dll.

Parameters
handleThe handle.
pDataThe p data.
dwLenThe dw len.
pLengthLength of the p.
dwMillisecondsThe dw milliseconds.
Returns
static IntPtr Kinova.DLL.USBManager.Connectivity.DeviceConnection.CUsbConnector._MPUSBReadInt ( IntPtr  handle,
byte[]  pData,
int  dwLen,
int[]  pLength,
int  dwMilliseconds 
)

Method from the mpusbapi.dll.

Parameters
handleThe handle.
pDataThe p data.
dwLenThe dw len.
pLengthLength of the p.
dwMillisecondsThe dw milliseconds.
Returns
static IntPtr Kinova.DLL.USBManager.Connectivity.DeviceConnection.CUsbConnector._MPUSBWrite ( IntPtr  handle,
byte[]  pData,
int  dwLen,
ref int  pLength,
int  dwMilliseconds 
)

Method from the mpusbapi.dll.

Parameters
handleThe handle.
pDataThe p data.
dwLenThe dw len.
pLengthLength of the p.
dwMillisecondsThe dw milliseconds.
Returns

The documentation for this class was generated from the following file: