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 Declares

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

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_FIRE      8  
NEODEVICE_VCAN3    16  

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

intrepidcs API Documentation - (C) Copyright 2000-2010 Intrepid Control Systems, Inc.  (www.intrepidcs.com)

Last Updated : Monday, March 29, 2010