|
|
|
|
CameraChangeDriver (Function) In french: CameraChangeDriver Connects the "Camera" control to a specific driver for video capture. Remarks: - To use this function, a "camera" must be connected to the current computer.
- This function is equivalent to VideoSetDriver.
Reminder: To get the list of video capture drivers installed on the current computer, use CameraListDriver. To determine which driver is currently associated with a Camera control, use the Driver property.
// Displays the list of available video drivers // in the LIST_VideoDrivers control ListAdd(LIST_VideoDrivers, CameraListDriver()) // Uses the second video driver IF CameraChangeDriver(CAM_Camera1, LIST_VideoDrivers[2]) = False THEN Error("Unable to change driver: " + CR + ... ErrorInfo()) END
Syntax
<Result> = CameraChangeDriver(<Camera control> , <Identifier of video driver>)
<Result>: Boolean - True if the video driver associated with the control was modified,
- False if a problem occurs. To get more details on the error, use ErrorInfo.
<Camera control>: Control name Name of the Camera control to be used. <Identifier of video driver>: Character string Identifier of video driver to use. This identifier has the following format:
<Driver name> + TAB + <Driver version>
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|