Switch Code Between Cases inside Event Structure

Updated May 3, 2018

Reported In


  • LabVIEW

Issue Details

Can I easily swap the timeout case with another case in my event structure so I don't have to remake the code that is inside my timeout case?


The easiest workaround for swapping the code in the Timeout case with another case in an event structure is to follow the steps described below.

  1. Select the Timeout event case from the case selector
  2. Right-click on the event structure and select Edit Events Handled by This Case
  3. Assign the Timeout case to the event case with which you would like to swap. Select Ok. The Timeout case [0] should now either show the same event case as the one with which you are swapping or should show a blank event case.
  4. Select the event case with which you are swapping from the case selector
  5. Repeat step 2 and assign the case to the Timeout event
  6. The code should now be swapped out of the Timeout case and into the new case.
  7. If you are concerned with the number associated with each event case and would like the Timeout case to be reset to [0], you can right-click on the event structure and select Rearrange Cases...
  8. Click and drag the Timeout case to be at the top of the list and click Ok.



Not Helpful