NeoDevice Structure

A structure used by FindNeoDevices and OpenNeoDevice to locate and open neoVI devices.

C/C++ Declare

typedef struct
{
    unsigned long DeviceType;
    int Handle;
    int NumberOfClients;
    int SerialNumber;
    int MaxAllowedClients;
}NeoDevice;

Visual Basic .NET Declare

'//Structure for neoVI device types
Public Structure NeoDevice
    Dim DeviceType As Int32
    Dim Handle As Int32
    Dim NumberOfClients As Int32
    Dim SerialNumber As Int32
    Dim MaxAllowedClients As Int32
End Structure

C# Declares

[StructLayout(LayoutKind.Sequential)]
public struct NeoDevice
{
    public Int32 DeviceType;
    public Int32 Handle;
    public Int32 NumberOfClients;
    public Int32 SerialNumber;
    public Int32 MaxAllowedClients;
}

Remarks

Instances of this structure are initialized and set by calling FindNeoDevices. Then the structure is used by OpenNeoDevice to make a physical connection to a neoVI device.

Item

Description

unsigned long DeviceType

A bit-wise field that indicates the type of neoVI device that the structure represents. The currently supported types are :

NEODEVICE_BLUE = 1
NEODEVICE_DW_VCAN = 4
NEODEVICE_VCAN41 = 7
NEODEVICE_FIRE = 8
NEODEVICE_VCAN3 = 16
NEODEVICE_RED = 64
NEODEVICE_ECU = 128
NEODEVICE_IEVB = 256
NEODEVICE_PENDANT = 512
NEODEVICE_PLASMA = &H31000
NEODEVICE_FIRE_VNET = &H2000
NEODEVICE_NEOANALOG = &H4000
NEODEVICE_ION = &H140000
NEODEVICE_VCANFD = &H200000
NEODEVICE_VCAN42 = &H400000
NEODEVICE_EEVB = &H1000000
NEODEVICE_VCANRF = &H2000000
NEODEVICE_FIRE2 = &H4000000
NEODEVICE_FLEX = &H8000000
NEODEVICE_RADGALAXY = &H10000000
NEODEVICE_RADSTAR2 = &H20000000
NEODEVICE_OBD2_SIM = &H80000000
NEODEVICE_ALL = &HFFFFBFFF

int Handle

The device handle used by the API for opening a neoVI device

int NumberOfClients

Reserved for future use

int SerialNumber

Serial number of the neoVI device

int MaxAllowClients

Reserved for future use