FZ_FormBase.GetUnitInfo

Gets information of a processing unit

Public Function GetUnitInfo( _
   ByVal unitNo As Integer _,
   ByVal kind As UnitInfoKind _
) As Integer

Parameters
unitNo
Processing unit number
kind
kind of information
The configurable kind data types are shown below.
Table:GetUnitInfo - Parameters
Value
Description
0
Kind of the processing item
1
Size of the setting data structure
2
Size of the measure data structure
3
Size of the control data structure
4
The maximum figures data
5
The maximum models data
6
The maximum images data
7
The maximum inner processing unit
8
Camera setting is enable or not

Return Value
Returns 0 when the processing unit information is successfully obtained.
Otherwise returns a non-zero value.

Description
Gets information of the relevant processing unit.

Example
   Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load

        ' Get the kind of the processing item 0 information

        GetUnitInfo(0, 0);

   End Sub