Issue:
- There is an ongoing connection between camera and application, then application is being forcefully terminated without proper closing, the camera does not release this connection, any setting, code or solution to for the camera to release this connection and allow subsequent connection?
Solution:
- If the software crashed, a reconnection to the GigE camera still possible without power cycling the camera. Just need to wait to reach "heartbeat timeout"
"Any pylon application is required to send special network packets, called heartbeat packets, to the camera at regular intervals to hold the connection open. If the camera does not receive these heartbeat packets for some predefined time (the so-called 'heartbeat timeout'), it will assume that the connection is broken, and will cease to accept further commands from the application."
More details about heartbeat timeout can be found in the programmer's manual, you can find it from "C:\Program Files\Basler\pylon 5\Development\Doc".
It is possible to do a software reset of the camera. It is under "device information" in the Pylon viewer. This function is available on the latest Pylon (5.0.9) onwards. So Power cycle is not necessary.