APIs only supported by GigE cameras. More...
Functions | |
| MV_CAMCTRL_API int __stdcall | MV_CC_GetOptimalPacketSize (IN void *handle) |
| Get the optimal packet size. Only support GigE cameras. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetEnumDevTimeout (IN unsigned int nMilTimeout) |
| Set enumeration timeout period (only supports GigE protocols). Range: [1,UINT_MAX). More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_ForceIpEx (IN void *handle, IN unsigned int nIP, IN unsigned int nSubNetMask, IN unsigned int nDefaultGateWay) |
| Force camera network parameter, including IP address, subnet mask, default gateway. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetIpConfig (IN void *handle, IN unsigned int nType) |
| Configure IP mode. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetNetTransMode (IN void *handle, IN unsigned int nType) |
| Set SDK internal priority network mode. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_GetNetTransInfo (IN void *handle, IN OUT MV_NETTRANS_INFO *pstInfo) |
| Get network transmission information, including received data size, number of lost frames. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetDiscoveryMode (IN unsigned int nMode) |
| Set the ACK mode of enumeration command. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetGvspTimeout (IN void *handle, IN unsigned int nMillisec) |
| Set GVSP streaming timeout. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_GetGvspTimeout (IN void *handle, IN OUT unsigned int *pnMillisec) |
| Get GVSP streaming timeout. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetGvcpTimeout (IN void *handle, IN unsigned int nMillisec) |
| Set GVCP cammand timeout. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_GetGvcpTimeout (IN void *handle, IN OUT unsigned int *pnMillisec) |
| Get GVCP cammand timeout. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetRetryGvcpTimes (IN void *handle, IN unsigned int nRetryGvcpTimes) |
| Set the number of times of resending GVCP command. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_GetRetryGvcpTimes (IN void *handle, IN OUT unsigned int *pnRetryGvcpTimes) |
| Get the number of times of resending GVCP command. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetResend (IN void *handle, IN unsigned int bEnable, IN unsigned int nMaxResendPercent, IN unsigned int nResendTimeout) |
| Set parameters of resending packets. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetResendMaxRetryTimes (IN void *handle, IN unsigned int nRetryTimes) |
| Set the maximum times one packet can be resent. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_GetResendMaxRetryTimes (IN void *handle, IN OUT unsigned int *pnRetryTimes) |
| Get the maximum times one packet can be resent. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetResendTimeInterval (IN void *handle, IN unsigned int nMillisec) |
| Set the packet resending interval. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_GetResendTimeInterval (IN void *handle, IN OUT unsigned int *pnMillisec) |
| Get the packet resending interval. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_SetTransmissionType (IN void *handle, IN MV_TRANSMISSION_TYPE *pstTransmissionType) |
| Set transmission mode. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_IssueActionCommand (IN MV_ACTION_CMD_INFO *pstActionCmdInfo, IN OUT MV_ACTION_CMD_RESULT_LIST *pstActionCmdResults) |
| Send action command. More... | |
| MV_CAMCTRL_API int __stdcall | MV_GIGE_GetMulticastStatus (IN MV_CC_DEVICE_INFO *pstDevInfo, IN OUT bool *pbStatus) |
| Get the device multicast status. More... | |
APIs only supported by GigE cameras.
| MV_CAMCTRL_API int __stdcall MV_CC_GetOptimalPacketSize | ( | IN void * | handle | ) |
Get the optimal packet size. Only support GigE cameras.
| handle | [IN] Device handle. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetEnumDevTimeout | ( | IN unsigned int | nMilTimeout | ) |
Set enumeration timeout period (only supports GigE protocols). Range: [1,UINT_MAX).
| nMilTimeout | [IN] Timeout period (ms). It should be an integer and the default value is 100. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_ForceIpEx | ( | IN void * | handle, |
| IN unsigned int | nIP, | ||
| IN unsigned int | nSubNetMask, | ||
| IN unsigned int | nDefaultGateWay | ||
| ) |
Force camera network parameter, including IP address, subnet mask, default gateway.
| handle | [IN] Device handle. |
| nIP | [IN] IP address. |
| nSubNetMask | [IN] Subnet mask. |
| nDefaultGateWay | [IN] Default gateway. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetIpConfig | ( | IN void * | handle, |
| IN unsigned int | nType | ||
| ) |
Configure IP mode.
| handle | [IN] Device handle. | ||||||||||||
| nType | [IN] IP type, refer to MV_IP_CFG_x
|
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetNetTransMode | ( | IN void * | handle, |
| IN unsigned int | nType | ||
| ) |
Set SDK internal priority network mode.
| handle | [IN] Device handle. | |||||||||
| nType | [IN] Network transmission mode, refer to MV_NET_TRANS_x
|
| MV_CAMCTRL_API int __stdcall MV_GIGE_GetNetTransInfo | ( | IN void * | handle, |
| IN OUT MV_NETTRANS_INFO * | pstInfo | ||
| ) |
Get network transmission information, including received data size, number of lost frames.
| handle | [IN] Device handle. |
| pstInfo | [IN][OUT] Network transmission information. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetDiscoveryMode | ( | IN unsigned int | nMode | ) |
Set the ACK mode of enumeration command.
| nMode | [IN] ACK mode: 0-unicast, 1-broadcast (default). |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetGvspTimeout | ( | IN void * | handle, |
| IN unsigned int | nMillisec | ||
| ) |
Set GVSP streaming timeout.
| handle | [IN] Device handle. |
| nMillisec | [IN] Timeout period, which is 300 by default, and the minimum value is 10, unit: millisecond. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_GetGvspTimeout | ( | IN void * | handle, |
| IN OUT unsigned int * | pnMillisec | ||
| ) |
Get GVSP streaming timeout.
| handle | [IN] Device handle. |
| pnMillisec | [IN][OUT] Timeout period, unit: millisecond. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetGvcpTimeout | ( | IN void * | handle, |
| IN unsigned int | nMillisec | ||
| ) |
Set GVCP cammand timeout.
| handle | [IN] Device handle. |
| nMillisec | [IN] Timeout, default 500ms, range: 0 to 10000ms. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_GetGvcpTimeout | ( | IN void * | handle, |
| IN OUT unsigned int * | pnMillisec | ||
| ) |
Get GVCP cammand timeout.
| handle | [IN] Device handle. |
| pnMillisec | [IN][OUT] Timeout, unit: ms. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetRetryGvcpTimes | ( | IN void * | handle, |
| IN unsigned int | nRetryGvcpTimes | ||
| ) |
Set the number of times of resending GVCP command.
| handle | [IN] Device handle. |
| nRetryGvcpTimes | [IN] The number of times for retrying, rangeļ¼0 to 100. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_GetRetryGvcpTimes | ( | IN void * | handle, |
| IN OUT unsigned int * | pnRetryGvcpTimes | ||
| ) |
Get the number of times of resending GVCP command.
| handle | [IN] Device handle. |
| pnRetryGvcpTimes | [IN][OUT] The number of times for resending. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetResend | ( | IN void * | handle, |
| IN unsigned int | bEnable, | ||
| IN unsigned int | nMaxResendPercent, | ||
| IN unsigned int | nResendTimeout | ||
| ) |
Set parameters of resending packets.
| handle | [IN] Device handle. |
| bEnable | [IN] Enable resending packet or not: 0-disable, 1-enable. |
| nMaxResendPercent | [IN] Maximum packet resending percentage, range: [0,100]. |
| nResendTimeout | [IN] Packet resending timeout, unit: ms. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetResendMaxRetryTimes | ( | IN void * | handle, |
| IN unsigned int | nRetryTimes | ||
| ) |
Set the maximum times one packet can be resent.
| handle | [IN] Device handle. |
| nRetryTimes | [IN] The maximum times one packet can be resent, which is 20 by default, and the minimum value is 0. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_GetResendMaxRetryTimes | ( | IN void * | handle, |
| IN OUT unsigned int * | pnRetryTimes | ||
| ) |
Get the maximum times one packet can be resent.
| handle | [IN] Device handle. |
| pnRetryTimes | [IN][OUT] The maximum times one packet can be resent. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetResendTimeInterval | ( | IN void * | handle, |
| IN unsigned int | nMillisec | ||
| ) |
Set the packet resending interval.
| handle | [IN] Device handle. |
| nMillisec | [IN] Packet resending interval, which is 10 by default, unit: millisecond. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_GetResendTimeInterval | ( | IN void * | handle, |
| IN OUT unsigned int * | pnMillisec | ||
| ) |
Get the packet resending interval.
| handle | [IN] Device handle. |
| pnMillisec | [IN][OUT] Packet resending interval, unit: millisecond. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_SetTransmissionType | ( | IN void * | handle, |
| IN MV_TRANSMISSION_TYPE * | pstTransmissionType | ||
| ) |
Set transmission mode.
| handle | [IN] Device handle. | |||||||||||||||||||||||||||
| pstTransmissionType | [IN] Transmission mode.
|
| MV_CAMCTRL_API int __stdcall MV_GIGE_IssueActionCommand | ( | IN MV_ACTION_CMD_INFO * | pstActionCmdInfo, |
| IN OUT MV_ACTION_CMD_RESULT_LIST * | pstActionCmdResults | ||
| ) |
Send action command.
| pstActionCmdInfo | [IN] Command information. |
| pstActionCmdResults | [IN][OUT] Returned information list. |
| MV_CAMCTRL_API int __stdcall MV_GIGE_GetMulticastStatus | ( | IN MV_CC_DEVICE_INFO * | pstDevInfo, |
| IN OUT bool * | pbStatus | ||
| ) |
Get the device multicast status.
| pstDevInfo | [IN] Device information structure. |
| pbStatus | [IN][OUT] Status: "true" (in multicast), "false" (not in multicast). |