Chapter 5
Configuration APIs
117
5.3.2.2
PicamRangeConstraint
Description
defines the constraints placed a numeric variable whose value
lies within a linear range of numeric values.
Structure Definition
is:
typedef struct PicamRangeConstraint
{
PicamConstraintScope scope;
PicamConstraintSeverity severity;
pibln empty_set;
piflt minimum;
piflt maximum;
piflt increment;
const piflt* excluded_values_array;
piint excluded_values_count;
const piflt* outlying_values_array;
piint outlying_values_count;
} PicamRangeConstraint;
Variable Definitions
The variables required by
scope:
The scope of the constraint.
severity:
The severity of the constraint.
empty_set:
Indicates when there are no valid values within the range.
Valid values are:
• TRUE
There are no valid values within the range.
When TRUE, only
are relevant.
• FALSE
There is at least one valid value within the range.
minimum:
The smallest value within the range.
NOTE:
may include a smaller value.
maximum:
The largest value within the range.
NOTE:
may include a larger value.
increment:
The numeric gap between consecutive values within the
range.
excluded_values_array:
The set of values within the range (excluding
) that is not valid.
This is null when all values within the range are valid.
excluded_values_count:
.
This is 0 when there are no excluded values.
outlying_values_array:
The set of valid values that lie outside of the range of values.
This is null when no valid values fall outside of the range.
outlying_values_count:
.
This is 0 when there are no outlying values.
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: ......