Chapter 7
Advanced Function APIs
203
7.2.2
Camera-Specific Parameter Validation Data Structures
This section provides programming information about camera-specific parameter
validation structures.
7.2.2.1
PicamValidationResult
Description
provides information about the validation status for a single
parameter.
Structure Definition
is:
typedef struct PicamValidationResult
{
pibln is_valid;
const PicamParameter* failed_parameter;
const PicamConstraintScope* failed_error_constraint_scope;
const PicamConstraintScope* failed_warning_constraint_scope;
const PicamParameter* error_constraining_parameter_array;
piint error_constraining_parameter_count;
const PicamParameter* warning_constraining_parameter_array;
piint warning_constraining_parameter_count;
} PicamValidationResult;
Variable Definitions
The variables required by
is_valid:
Indicates the validation status for a single parameter.
Valid values are:
• TRUE
Indicates the parameter validation has succeeded.
• FALSE
Indicates the parameter validation has failed.
failed_parameter:
The parameter that has failed validation.
This is null when validation has succeeded.
failed_error_constraint
_scope:
The scope of the error constraint that has failed.
This is null when:
• Validation has succeeded, or
• Only a warning constraint has failed validation.
failed_warning_
constraint_scope:
The scope of the warning constraint that has failed.
This is null when:
• Validation has succeeded, or
• Only an error constraint has failed validation.
error_constraining_
parameter_array:
An array of parameters involved in constraining the failed
parameter when a dependent error failed.
This is null otherwise.
error_constraining_
parameter_count:
The number of items in the array of parameters involved in
constraining the failed parameter if a dependent error failed.
This is 0 otherwise.
warning_constraining_
parameter_array:
An array of parameters involved in constraining the failed
parameter if a dependent warning failed.
This is null otherwise.
warning_constraining_
parameter_count:
The number of items in the array of parameters involved in
constraining the failed parameter if a dependent warning
failed.
This is 0 otherwise.
Summary of Contents for Princeton Instruments PICam 5.x
Page 1: ...www princetoninstruments com PICam 5 x Programmer s Manual 4411 0161 Issue 11 June 28 2021...
Page 4: ...4 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 14: ...14 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 180: ...180 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 192: ...192 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 290: ...290 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 302: ...302 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 326: ...324 PICam 5 x Programmer s Manual Issue 11 This page is intentionally blank...
Page 351: ...This page is intentionally blank...
Page 354: ......