CameraApplyNetworkConfiguration Method |
Applies the specified network configuration to the camera.
Namespace:
Zivid.NET
Assembly:
ZividCoreNET (in ZividCoreNET.dll) Version: 2.14.0.0
Syntax public void ApplyNetworkConfiguration(
NetworkConfiguration networkConfiguration
)
Public Sub ApplyNetworkConfiguration (
networkConfiguration As NetworkConfiguration
)
public:
void ApplyNetworkConfiguration(
NetworkConfiguration^ networkConfiguration
)
Parameters
- networkConfiguration
- Type: Zivid.NETNetworkConfiguration
The network configuration to apply to the camera.
Remarks
`ApplyNetworkConfiguration` will block until the camera has finished applying the network configuration,
or throw an exception if the camera does not reappear on the network before a timeout occurs.
`ApplyNetworkConfiguration` can be used even if the camera is inaccessible via TCP/IP, for example a camera
that is on a different subnet to the PC, or a camera with an IP conflict, as it uses UDP multicast to
communicate with the camera.
`ApplyNetworkConfiguration` can also be used to configure cameras that require a firmware update, as long as
the firmware supports network configuration via UDP multicast. This has been supported on all firmware
versions included with SDK 2.10.0 or newer. This method will throw an exception if the camera firmware is
too old to support UDP multicast.
`ApplyNetworkConfiguration` will throw an exception if the camera status
(see
Status) is "Busy", "Connected", "Connecting" or "Disconnecting". If the
status is "Connected", then you must first call
Disconnect before calling this method.
See Also