Click or drag to resize

HeadCorrectionAPICreate Method

Creates a new correction table on the card according to the given parameters, overwriting any existing one.

Namespace: RAYLASE.SPICE3.ClientLib
Assembly: RAYLASE.SPICE3.ClientLib (in RAYLASE.SPICE3.ClientLib.dll) Version: 2.3.5
Syntax
C#
public void Create(
	OpticalParameters op,
	int head = 0,
	int correction = 0
)

Parameters

op  OpticalParameters
The parameters of the correction table that should be created on the card.
head  Int32  (Optional)
The head selector.
correction  Int32  (Optional)
The correction table selector. (Default 0).

For valid values, please see the Remarks, below.

Remarks

The card supports loading and switching between multiple correction tables.

The maximum number of tables depends on the ScanHeadFormat currently selected in the card's ScannerConfig.

Two correction tables per scan head.
Available for any ScanHeadFormat that supports either
  • two heads with at most three axes each, or
  • a single head with more than three axes.

The valid range of correction values is: [0,1].

Up to two correction tables per head are supported for the following ScanHeadFormats:

Four correction tables for a single scan head.
Available for any ScanHeadFormat that supports
  • just one head with at most three axes.

The valid range of correction values is: [0,1,2,3].

Up to four correction tables are supported for the following ScanHeadFormats:

See Also