FZ_FormBase.GetCameraInfo
Gets a camera information
Public Shared Function GetCameraInfo( _
ByVal cameraNo As Integer, _
ByVal kind As Integer _
) As Integer
Parameters
cameraNo
|
Camera number to be gotten
|
Input
|
kind
|
Information type to be gotten
0: Model
1: Hardware version
2: Firmware version (x 1000)
10: Color mode
11: Image X direction size
12: Image Y direction size
|
Input
|
Return Value
Returns camera information.
When the information type to be obtained is set to "0: Model", the following value is returned:
0: FZ-SC (VGA color)
1: FZ-S (VGA monochrome)
2: FZ-SC2M (USGA color)
3: FZ-S2M (UXGA monochrome)
4: FZ-SCS (Small size VGA color)
5: FZ-SS (Small size VGA monochrome)
When the information type to obtain is set to "10: Color mode", the following value is returned:
0: Monochrome
1: Color (Bayer)
Description
Gets the specified type of information for the specified camera number.
Example
Private Sub Form_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim cameraInfo As Integer
' Gets camera 0 model
cameraInfo = GetCameraInfo(0, 0)
End Sub