If you disable all measurement channels in ICOc, then the program will crash.
Steps to Reproduce the Problem
Start ICOc
icoc
Connect to a sensor device, e.g.
Press 1
Press p
Disable all measurement channels
Open the channel configuration P
Disable channel (3 times):
Press 0
Press ↩
Start the measurement: s
Expected Result
The measurement takes place.
Actual Result
The program freezes.
Possible Fix
Do not allow the user to disable all measurement channels e.g. by just restarting the configuration process (step 3), if the user disables all channels.
Todo
[x] Check if the bug also happens if you disable all channels via CLI e.g. by writing icoc -1 0 -2 0 -3 0 …/icon -1 0 -2 0 -3 0
Description
If you disable all measurement channels in ICOc, then the program will crash.
Steps to Reproduce the Problem
Start ICOc
Connect to a sensor device, e.g.
Disable all measurement channels
Start the measurement: s
Expected Result
The measurement takes place.
Actual Result
The program freezes.
Possible Fix
Do not allow the user to disable all measurement channels e.g. by just restarting the configuration process (step 3), if the user disables all channels.
Todo
icoc -1 0 -2 0 -3 0 …
/icon -1 0 -2 0 -3 0
icoc -1 0 -2 0 -3 0 …
icon -1 0 -2 0 -3 0 …