![DEVA DEVA028 Скачать руководство пользователя страница 31](http://html.mh-extra.com/html/deva/deva028/deva028_user-manual_2488493031.webp)
3.4.6 get_camera_id
result get_camera_id (descr)
Parameter
Type
Description
descr
STR
Handle to descriptive text string or ‘name’ of
the camera for which the
id
is required.
result
U32
A non-zero value is the
id
of the camera.
Returns the
id
of a camera with a descriptive text string that matches the application
supplied
descr
string.
As an alternative to the
enumerate_cameras
function, this function allows an application
to get the
id
of a camera using its descriptive text string alone. The
id
is used to identify
the camera in calls to functions that perform operations on that camera.
This function is useful if cameras are to be identified by a ‘name’ that has previously been
programmed into the camera using the
set_camera_description
function.
3.4.7 get_camera_description
result get_camera_description (camera, descr, descr_len)
Parameter
Type
Description
camera
U32
The
id
of the camera for which the descriptive
text string is required.
descr
STR
Handle to application supplied string where the
descriptive text will be read.
descr_len
U32
The maximum length of the application
supplied string.
result
U32
0 = Operation failed
1 = Operation completed
Reads the descriptive text string read from a camera with the specified
id
into an
application supplied
descr
string.
This function may be used to read the descriptive text string that has previously been
programmed into the camera using the
set_camera_description
function.
The camera description is also included in the
CAMERA_SETTINGS
structure referenced
by the
get_camera_description
and
set_camera_description
functions.
Содержание DEVA028
Страница 1: ...V1 1 DEVA028 USB 3 Mega Pixel Colour Camera User s Manual ...
Страница 2: ......
Страница 4: ......
Страница 8: ......