
Machine Vision Camera SDK (C) Developer Guide
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
Return Value
If succeed, the return value is larger than 0, which refers to the packet size; if failed, the return
value is smaller than 0, which refers to the corresponding Error Code .
Remarks
● The optimized packet size is the size of a packet transported via the network. For GigEVision
device it is SCPS, and for USB3Vision device it is the size of packet read from driver each time.
The API should be called after MV_CC_OpenDevice and before MV_CC_StartGrabbing .
● This API is supported only by GigE camera, it is not supported by USB3 or CameraLink device.
See Also
MV_CC_OpenDevice
MV_CC_StartGrabbing
MV_GIGE_ForceIpEx
Force camera network parameter, including IP address, subnet mask, default gateway.
API Definition
int MV_GIGE_ForceIpEx(
void
*handle,
unsigned int nIP,
unsigned int nSubNetMask,
unsigned int nDefaultGateWay
);
Parameters
handle
[IN] Device handle, which is returned by MV_CC_CreateHandle or
MV_CC_CreateHandleWithoutLog .
nIP
[IN] IP address
nSubNetMask
[IN] Subnet mask
nDefaultGateWay
[IN] Default gateway
65



































































































































































































































































































































































































