LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
patibandla

Inserting the Error case in the Error wire

Status: New

 

Problem: in some of the code we need to insert the error case. it will take time to create error case and wiring to it.

 

solution: if we can able to insert the Error case in the Error wire , it is easy to Error codes insdide the case.

Inserting Error Case.png

3 Comments
RavensFan
Knight of NI

Usually, if I needed to do this I would already have other code that I would want ot have in the non-error case.  How does your method determine which code would be included and which code would be left out?

 

I think it is easy enough to drop a case structure aroundt the code I want to include.  Then just clean up the wiring so the error wire runs to and through the case selector to turn it into an Error/No Error case structure.

X.
Trusted Enthusiast
Trusted Enthusiast

See this related (and more general) suggestion: Option to connect wires through a dropped structure.

tst
Knight of NI Knight of NI
Knight of NI

Or you can just use something like this, which already works in LV 2015 (and could be made to work in earlier versions, like the QD plugin linked to there) - https://decibel.ni.com/content/docs/DOC-43723


___________________
Try to take over the world!