IDS Peak comfortSDK, genericSDK, IPL, and AFL developer manuals are external documents. Please contact us if you need them.
A heartbeat is a connection between two devices or computers to notify each other that they are operational and can still perform their tasks. When there is no heartbeat, the receiver assumes that the other side is no longer available. You can use the HeartbeatMonitor in the LocalDevice to query statistical data about the heartbeat.
When debugging a program, you use breakpoints to pause the program. You can use a breakpoint to check variable values, monitor the behavior of the main memory or check a code condition. However, using a breakpoint results in the heartbeat being terminated by the program. The camera stops receiving heartbeats and closes the connection. If you debug a program, you should increase the heartbeat timeout or disable the heartbeat. If you disable the heartbeat, the camera does not stop pairing with the host until you explicitly close the camera or unplug it from power supply.
Module / category |
Node |
Description |
---|---|---|
Enables or disables the heartbeat of the link. •Off: Disables the heartbeat of the link. If no heartbeat is received, the connection is not closed by the camera. •On: Enables the heartbeat of the link. If no heartbeat is received on the command channel within the time limit specified by DeviceLinkHeartbeatTimeout, the camera disconnects the link. |
||
Controls the current heartbeat timeout of the link. The access changes to read-only during an acquisition. |
||
Defines the time between two heartbeats. Be careful when adjusting this parameter, since setting this higher than the DeviceLinkHeartbeatTimeout of the camera is likely to result in a connection loss, if there are no other commands sent. |