stAPIFirmwareInfo Structure
C/C++ declare - VB declare - VB.NET declare - C# declare - Remarks

This structure continues information regarding the firmware version of a neoVI device.

C/C++ Declare


struct stAPIFirmwareInfo
{
    int iType
   
 // Date and Time (2nd generation neoVI only. See 2nd Generation neoVI Devices)
   
int iMainFirmDateDay;
    int iMainFirmDateMonth;
    int iMainFirmDateYear;
    int iMainFirmDateHour;
    int iMainFirmDateMin;
    int iMainFirmDateSecond;
    int
iMainFirmChkSum;
    
    // Version data (3rd generation neoVI only. See
3rd Generation neoVI Devices)
   
unsigned char iAppMajor;
    unsigned char iAppMinor;
    unsigned char iManufactureDay;
    unsigned char iManufactureMonth;
    unsigned short iManufactureYear;
    unsigned char iBoardRevMajor;
    unsigned char iBoardRevMinor;
    unsigned char iBootLoaderVersionMajor;
    unsigned char iBootLoaderVersionMinor;
};


Visual Basic .NET Declares

Public Structure stAPIFirmwareInfo
    Dim iType As Int32
    '// Date and Time (2nd generation neoVI only. See 2nd Generation neoVI Devices)
    Dim iMainFirmDateDay As Int32
    Dim iMainFirmDateMonth As Int32
    Dim iMainFirmDateYear As Int32
    Dim iMainFirmDateHour As Int32
    Dim iMainFirmDateMin As Int32
    Dim iMainFirmDateSecond As Int32
    Dim iMainFirmChkSum As Int32

    '// Version data (3rd generation neoVI only. See 3rd Generation neoVI Devices)
    Dim iAppMajor As Byte
    Dim iAppMinor As Byte
    Dim iManufactureDay As Byte
    Dim iManufactureMonth As Byte
    Dim iManufactureYear As Int16
    Dim iBoardRevMajor As Byte
    Dim iBoardRevMinor As Byte
    Dim iBootLoaderVersionMajor As Byte
    Dim iBootLoaderVersionMinor As Byte
End Structure



C# Declares

[StructLayout(LayoutKind.Sequential)]
public struct stAPIFirmwareInfo
{
    public int iType
   
 // Date and Time (2nd generation neoVI only. See 2nd Generation neoVI Devices)
   
public int iMainFirmDateDay;
    public int iMainFirmDateMonth;
    public int iMainFirmDateYear;
    public int iMainFirmDateHour;
    public int iMainFirmDateMin;
    public int iMainFirmDateSecond;
   
public int iMainFirmChkSum;
    
    // Version data (3rd generation neoVI only. See
3rd Generation neoVI Devices)
   
public unsigned char iAppMajor;
    public unsigned char iAppMinor;
    public unsigned char iManufactureDay;
    public unsigned char iManufactureMonth;
    public unsigned short iManufactureYear;
    public unsigned char iBoardRevMajor;
    public unsigned char iBoardRevMinor;
    public unsigned char iBootLoaderVersionMajor;
    public unsigned char iBootLoaderVersionMinor;
}

Remarks

 Structure Elements

Item Description
int iType Indicates the generation of hardware:
2 = 2nd generation. See 2nd Generation neoVI Devices
3 = 3rd generation. See 3rd Generation neoVI Devices
int iMainFirmDateDay 1 - 31 firmware day
int iMainFirmDateMonth 1 - 12 firmware month
int iMainFirmDateYear 4 digit year (i.e. 2008) firmware year
int iMainFirmDateHour 0 - 23 firmware hour
int iMainFirmDateMin 0 - 59 firmware minutes
int iMainFirmDateSecond 0 - 59 firmware seconds
int iMainFirmChkSum Firmware checksum 
unsigned char iAppMajor Application major version (3rd generation neoVI only)
unsigned char iAppMinor Application minor version (3rd generation neoVI only)
unsigned char iManufactureDay 1 - 31 Manufacture day (3rd generation neoVI only)
unsigned char iManufactureMonth 1 - 12 Manufacture month (3rd generation neoVI only)
unsigned short iManufactureYear 4 digit year (i.e. 2008) manufacture year (3rd generation neoVI only)
unsigned char iBoardRevMajor Board revision major (3rd generation neoVI only)
unsigned char iBoardRevMinor Board revision minor (3rd generation neoVI only)
unsigned char iBootLoaderVersionMajor Bootloader version major (3rd generation neoVI only)
unsigned char iBootLoaderVersionMinor Bootloader version minor (3rd generation neoVI only)

 


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

Last Updated : Monday, November 16, 2020