APIs only supported by Camera Link cameras.
More...
APIs only supported by Camera Link cameras.
◆ MV_CAML_SetDeviceBaudrate()
| MV_CAMCTRL_API int __stdcall MV_CAML_SetDeviceBaudrate |
( |
IN void * |
handle, |
|
|
IN unsigned int |
nBaudrate |
|
) |
| |
Set device baud rate.
- Parameters
-
| handle | [IN] Device handle. |
| nBaudrate | [IN] Baud rate to set. Refer to the 'CameraParams.h' for parameter definitions. For example, #define MV_CAML_BAUDRATE_9600 0x00000001
|
- Returns
- Return MV_OK for success, and return corresponding error code for failure.
◆ MV_CAML_GetDeviceBaudrate()
| MV_CAMCTRL_API int __stdcall MV_CAML_GetDeviceBaudrate |
( |
IN void * |
handle, |
|
|
IN OUT unsigned int * |
pnCurrentBaudrate |
|
) |
| |
Returns baud rate of the current device.
- Parameters
-
| handle | [IN] Device handle. |
| pnCurrentBaudrate | [IN][OUT] Baud rate information. Refer to the 'CameraParams.h' for parameter definitions, for example, #define MV_CAML_BAUDRATE_9600 0x00000001 |
- Returns
- Return MV_OK for success, and return corresponding error code for failure.
◆ MV_CAML_GetSupportBaudrates()
| MV_CAMCTRL_API int __stdcall MV_CAML_GetSupportBaudrates |
( |
IN void * |
handle, |
|
|
IN OUT unsigned int * |
pnBaudrateAblity |
|
) |
| |
Get supported baud rates of the connection between device and PC.
- Parameters
-
| handle | [IN] Device handle. |
| pnBaudrateAblity | [IN][OUT] Information of the supported baud rates or operation results. Refer to 'CameraParams.h' for single value definitions, for example, MV_CAML_BAUDRATE_9600 0x00000001 |
- Returns
- Return MV_OK for success, and return corresponding error code for failure.
◆ MV_CAML_SetGenCPTimeOut()
| MV_CAMCTRL_API int __stdcall MV_CAML_SetGenCPTimeOut |
( |
IN void * |
handle, |
|
|
IN unsigned int |
nMillisec |
|
) |
| |
Set the waiting time of serial port operation.
- Parameters
-
| handle | [IN] Device handle. |
| nMillisec | [IN] Waiting time of serial port operation, unit: ms. |
- Returns
- Return MV_OK for success, and return corresponding error code for failure.
◆ MV_CAML_GetSerialPortList()
Get serial port information list.
- Parameters
-
| pstSerialPortList | [IN][OUT] Serial port information list |
- Returns
- Return MV_OK for success, and return corresponding error code for failure.
- Note
- This API is used to get local serial port information.
◆ MV_CAML_SetEnumSerialPorts()
Specify the serial ports for enumeration.
- Parameters
-
| pstSerialPortList | [IN] Serial port information list |
- Returns
- Return MV_OK for success, and return corresponding error code for failure.
- Note
- This API is used to set the specified serial port of Camera Link device enumeration.