I am relatively new to cvb so apologies if i’m asking an obvious question!
I’ve been moving our image-capturing code (C#) from the standard cvb library to using the cvb.NET library. This has been generally successful and capturing/saving images and configuring cameras works great. However, I can’t figure out how to do connection monitoring in cvb.net???
I’ve seen this link already:
CVB User Guide for the GenICam Driver (commonvisionblox.com)
However, this doesn’t seem to be compatible with the cvb.net approach to connecting devices. I’ve seen the Device.ConnectionState property and the Device.ConnectionStateChanged event, but neither of these seem to work as expected.
I wrote a small test harness that manually monitored the Device.ConnetionState property of my camera as I disconnected and reconnected it and the ConnectionState was Connected throughout.
I tried subscribing to the ConnectionStateChanged event but my handler was never triggered.
I’m sure there must be something I’m missing, but I can’t see what. Any help would be greatly appreciated.