Chapter 4
Identification APIs
39
4.3.1.4
PicamAccessory_GetAvailableAccessoryIDs()
Description
PicamAccessory_GetAvailableAccessoryIDs()
dynamically creates an array of
length N. This array stores accessory IDs for all available accessories.
NOTE:
Accessories that have been disconnected or are currently
open in another process are not available.
NOTE:
Prior to program termination, memory that has been
dynamically allocated to
id_array
must be released by
calling
PicamAccessory_DestroyAccessoryIDs()
.
Syntax
PicamAccessory_GetAvailableAccessoryIDs()
is:
PICAM_API PicamAccessory_GetAvailableAccessoryIDs(
const PicamAccessoryID** id_array,
piint* id_count);
Input Parameters
There are no input parameters associated with
PicamAccessory_GetAvailableAccessoryIDs()
.
Output Parameters
Output parameters for
PicamAccessory_GetAvailableAccessoryIDs()
are:
Related APIs
For additional information, refer to the following related APIs:
•
PicamAccessory_DestroyAccessoryIDs()
.
id_array:
Pointer to the memory address for the array in which the list of
available accessory IDs is stored.
When there are no available accessory IDs, a null value is returned.
id_count:
The total number of available accessory IDs stored in
This equals the length of the array that has been created.
When there are no available accessory IDs, a value of 0 [zero] is
returned.
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: ......