ni / niveristand-routing-and-faulting-custom-device

Custom device for switching and fault insertion
MIT License
5 stars 7 forks source link

Custom device stops working if the user sets an undefined routing value. #297

Open dabrenes opened 4 months ago

dabrenes commented 4 months ago

Describe the bug When the user inputs an undefined route value, the custom device stops working without any error or warning.

To Reproduce Steps to reproduce the behavior:

  1. Set up the custom device in VeriStand and define two routes, 0 and 1.
  2. In the VeriStand screen add the control, the heartbeat monitor.
  3. Deploy the project
  4. Input the defined values and observe how the heartbeat monitor behaves.
  5. Input an undefined value.
  6. The heartbeat monitor stops.
  7. The only way to fix it, is to undeploy and redeploy.

Expected behavior I would expect an error message or warning to pop up and the custom device to continue working. Or even an error and the project to undeploy.

Desktop (please complete the following information):