Acuity AP820 Laser Scanners
Rev. 3.3
34
Where:
pScanner is the pointer returned by EthernetScanner_Connect
and
Status is a unsigned integer used as a buffer to contain the status code when the
function returns.
The status codes are:
0: Disconnected
1: Disconnecting
2: Connecting
3: Connected
Normally,
when
we
call
EthernetScanner_GetConnectStatus
after
calling
EthernetScanner_Connect, we will expect the status result to be 3.
11.5
Getting AP820 Parameters by calling
EthernetScanner_GetInfo
Information
about
the
AP820
settings
can
be
obtained
by
calling
EthernetScanner_GetInfo. The information is returned in the following structure:
<StructLayout(LayoutKind.Sequential)>
Public Structure
ScanInfoStruct
<MarshalAs(UnmanagedType.ByValTStr, sizeconst:=16)>
Public
SerialNumber
As String
<MarshalAs(UnmanagedType.ByValTStr, sizeconst:=128)>
Public
FirmwareVersion
As String
Public
BeginningOfMeasuringRange
As UInteger
Public
MeasuringRange
As UInteger
Public
ScanRangeBeginning
As UInteger
Public
ScanRangeEnd
As UInteger
Public
MaxZLinearized
As UInteger
Public
MaxXLinearized
As UInteger
Public
MaxZNonLinearized
As UInteger
Public
MaxXNonLinearized
As UInteger
Public
NumZPixels
As UInteger
Public
NumXPixels
As UInteger
Public
ScannerTemperature
As UInteger
Public
OperatingSecondsCounter
As UInteger
Public
PowerCycleCounter
As UInteger
Public
Fifo
As UInteger
Public
PositionEncoder
As UInteger
Public
PositionEncoderDirection
As UInteger
Public
Protocol
As UInteger
Public
Linearization
As UInteger
Public
CameraMode
As UInteger
Public
ProfileMode
As UInteger
Public
ScannerMode
As UInteger
Public
ShutterTimeManual
As Integer
Public
ShutterTimeAuto
As Integer
Public
PixelReadOutStart
As UInteger
Public
PixelReadOutEnd
As UInteger
Public
VideoGain
As UInteger