Chapter 5
Configuration APIs
179
5.4.6.2
Picam_CommitParameters()
Description
validates parameter values and applies these valid
values to the specified hardware during system setup and configuration.
•
Any parameter that fails to satisfy its required constraint(s) is flagged as invalid
and is stored within
failed_parameter_array
.
•
The number of invalid parameters is stored in
failed_parameter_count
. If no
invalid parameters are detected, this value is 0.
Syntax
is:
PICAM_API Picam_CommitParameters(
PicamHandle camera_or_accessory,
const PicamParameter** failed_parameter_array,
piint* failed_parameter_count);
Input Parameters
Input parameters for
Output Parameters
Output parameters for
are:
Advanced API Usage
When used in conjunction with Advanced APIs, if
camera_or_accessory
is a camera
handle, it may be a handle to either the:
•
device
, or
•
model
.
systematically configures
device
with (valid) parameter
values that have been stored in
model
.
camera_or_accessory:
Handle for the hardware for which parameter values are being
configured.
failed_parameter_array:
Pointer to the allocated array in which the list of failed/invalid
parameters is stored.
If no invalid parameters are detected, this is a null object.
NOTE:
This memory is allocated by PICam and must be
released by calling
.
failed_parameter_count:
Pointer to the memory location in which the number of
failed/invalid parameters is stored.
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: ......