VIDEO_OA_getCameraNumFromDp()

Returns the camera number for the given data point name.

Synopsis

int VIDEO_OA_getCameraNumFromDp(string sCameraDp);

Parameters

Parameter Description
sCameraDp Camera data point

Return Value

Camera number. In case of errors the function will return -1. If the data point does not exist or it is not of type VIDEO_OA_Camera, -1 will be returned.

Errors

Missing or wrong arguments

Description

Returns the camera number for the given data point name.

EXAMPLE

main()
{
  DebugN(VIDEO_OA_getCameraNumFromDp("Camera_00001"));
}

Assignment

Video functions

Availability

UI, CTRL