Teledyne Princeton Instruments PICam 5.x Programmer's Manual page 39

Table of Contents

Advertisement

Chapter 4
4.3.1.4
PicamAccessory_GetAvailableAccessoryIDs()
Description
PicamAccessory_GetAvailableAccessoryIDs()
length N. This array stores accessory IDs for all available accessories.
Syntax
The syntax for
Input Parameters
There are no input parameters associated with
PicamAccessory_GetAvailableAccessoryIDs().
Output Parameters
Output parameters for
Related APIs
For additional information, refer to the following related APIs:
Identification APIs
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
calling PicamAccessory_DestroyAccessoryIDs().
PicamAccessory_GetAvailableAccessoryIDs()
PICAM_API PicamAccessory_GetAvailableAccessoryIDs(
PicamAccessory_GetAvailableAccessoryIDs()
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 id_array.
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.
PicamAccessory_DestroyAccessoryIDs().
dynamically creates an array of
must be released by
id_array
const PicamAccessoryID** id_array,
piint* id_count);
39
is:
are:

Advertisement

Table of Contents
loading

Table of Contents