Click or drag to resize

ScannerCommunicationAPIReceiveEnhanced Method

Receives response data from the ScanHead head using the Enhanced Protocol.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 3.4.1
Syntax
C#
public uint[] ReceiveEnhanced(
	int head,
	Axes axes,
	int timeoutMilliseconds = 1
)

Parameters

head  Int32
The head selector.
axes  Axes
The Axis/Axes to which the command(s) should be sent.
timeoutMilliseconds  Int32  (Optional)
The timeout in milliseconds.

Return Value

UInt32
The same number of results that were requested by axes.
Exceptions
Remarks
  • Each response frame is 20-bits wide, and 16-bit response values are left-aligned within their frames.

    For example, the "Echo" command (see: TransmitEnhanced(Int32, Axes, UInt32, Int32), above) will respond with 0xAB540: callers expecting a 16-bit value must right-shift the raw response value(s) by 4 bits.

See Also