<< Click to Display Table of Contents > Gain & Offset |
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScGetGain() |
long index, double *val |
long |
ScSCIGetGain() |
double *GainX, double *GainY |
Returns the current gain settings, depending on the index parameter. The dll interface directly returns both values.
Index |
Comment |
---|---|
0 |
p X val |
1 |
p Y val |
Table 85: GetGain indices
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScSetGain() |
double pXVal, double pYVal |
long |
ScSCISetGain() |
double GainX, double GainY |
Table 86: SetGain
This function sets gain values that can be used to correct linear variances. The parameters are applied as a factor for compensation. In the dll-call version of this function the Z-value is set to 0, so ScSCISetZGainArea() should be called afterwards.
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScSetZGain() |
double pZVal |
long |
ScSCISetZGain() |
double GainZ |
Table 87: SetZGain
Sets the gain value to correct linear variances in Z-direction. The parameter is applied as a factor to compensate such a variance in depth-direction. This function has to be used in case of a 3D application only.
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScGetOffset() |
long Index, double *val |
long |
ScSCIGetOffset() |
double *OffsetX, double *OffsetY |
Returns one of the current offset settings for the primary head; parameter index specifies the offset axis. The dll interface directly returns both values
Index |
Comment |
---|---|
0 |
p X val |
1 |
p Y val |
Table 89: GetOffset indices
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScSetOffset() |
double pXVal,double pYVal |
long |
ScSCISetOffset() |
double OffsetX, double OffsetY |
Table 90: SetOffset
Sets the planar offset values for the X- and Y-direction. In the dll-call version of this function the Z-value is set to 0, so ScSCISetZOffset() should be called afterwards.
Return value |
Function / Property name |
Parameter |
---|---|---|
long |
ScSetZOffset() |
double pZVal |
long |
ScSCISetZOffset() |
double OffsetX, double OffsetY |
Table 91: SetZOffset
In case of a three-dimensional marking application this function sets the offset value in depth-direction.