This method returns the firmware version of the open neoVI device.
C/C++ Declare Visual Basic .NET Declare C# Declare
Copy int _stdcall icsneoGetHWFirmwareInfo ( void * hObject , stAPIFirmwareInfo * pInfo);
Copy Public Declare Function icsneoGetHWFirmwareInfo Lib “icsneo40.dll” (ByVal hObject As IntPtr, ByRef pInfo As stAPIFirmwareInfo) As Integer
Copy [ DllImport (“ icsneo40 . dll ”)] public static extern int icsneoGetHWFirmwareInfo ( intPtr hObject , ref stAPIFirmwareInfo pInfo);
Returns 1 if successful, 0 if an error occurred.
This method returns the firmware version stored in the open neoVI device.
C/C++ Example C# Example Visual Basic .NET Example
Copy stAPIFirmwareInfo FirmwareInfo;
int iResult;
iResult = icsneoGetHWFirmwareInfo (m_hObject , & FirmwareInfo);
if (iResult == 0 )
{
MessageBox :: Show ( "Problem getting the neoVI's firmware information" );
return ;
}
Copy stAPIFirmwareInfo FirmwareInfo = new stAPIFirmwareInfo ();
int iResult;
iResult = icsNeoDll . icsneoGetHWFirmwareInfo (m_hObject , ref FirmwareInfo);
if (iResult == 0 )
{
MessageBox . Show ( "Problem getting the neoVI's firmware information" );
return ;
}
Copy Dim FirmwareInfo As stAPIFirmwareInfo
Dim iResult As Integer
iResult = icsneoGetHWFirmwareInfo(m_hObject, FirmwareInfo)
If iResult = 0 Then
MsgBox("Problem getting the neoVI's firmware information")
Exit Sub
End If