//Open Port
if (!icsneocsharp.icsneo_isOpen(SelectedCanDevice.Value)) //check if closed
isOpen = icsneocsharp.icsneo_openDevice(SelectedCanDevice.Value) ? true : false;
else
isOpen = true;
openDevice() API function will stuck when there is no power to the connected device, it can only return if power is applied.
Also, isOpen() API function is not working properly when lost connection/device power, it will report the last status. Similarly for isOnline(), We need these function to work properly so it can detect lost of connection or power. Please investigate and update.
//Open Port if (!icsneocsharp.icsneo_isOpen(SelectedCanDevice.Value)) //check if closed
isOpen = icsneocsharp.icsneo_openDevice(SelectedCanDevice.Value) ? true : false;
else isOpen = true;
openDevice() API function will stuck when there is no power to the connected device, it can only return if power is applied. Also, isOpen() API function is not working properly when lost connection/device power, it will report the last status. Similarly for isOnline(), We need these function to work properly so it can detect lost of connection or power. Please investigate and update.