FZ_FormBase.GetSystemInfo
Gets system information
Public Shared Function GetSystemInfo( _
ByVal kind As SystemInfoKind _
) As Integer
Parameters
systemInfoKind
|
System information type to be gotten
|
Input
|
Table: GetSystemInfo - Parameters
Character String
|
Description
|
bspVersion
|
Version of bsp
|
CameraType
|
Type of Camera
|
ControllerModel
|
Model of Controller
|
CpuType
|
Type of Cpu
|
EtherCAT
|
EtherCAT
|
fpgaVersion
|
Version of fpga
|
OsType
|
Type of OS
|
PioType
|
Type of PIO
|
SoftwareID
|
ID of software
|
SystemMemorySize
|
Memory size
|
SystemType
|
System type
|
Return Value
Returns system information.
When the information type to be obtained is set to "CpuType: Type of CPU", the following value is returned:
0: Celerom-M
1: Pentium-M
255: Unknown
When the information type to be obtained is set to "SystemMemorySize: Memory size", the following value is returned:
0: 256MB
1: 512MB
When the information type to be obtained is set to "PioType: Typeof PIO", the following value is returned:
0: NPN
1: PNP
Description
Gets information about the specified system information type.
Example
Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim systemInfo As Integer
' Gets the type of CPU
systemInfo = GetCameraInfo(SystemInfoKind.CpuType)
End Sub