The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Error Cluster Manipulation

SercoSteveB
Active Participant

Describe the functionality of the VI?

Errors to Warnings.png

NOTE:  The False case of the Case Structure wires the error cluster in tunnel to the error cluster out tunnel.

a) Sums occurances of specified Errors

b) Adds a specified numeric offset to 'error cluster in'

c) Translates specified Errors to Warnings

d) Clears all Errors

Additional:  Spot the bug/feature/oversight

Comments
LordNobady
Member

C

The bug/feature/oversight is that with an empty array the VI reacts as D ( so D is correct to in a way )


Learning LabVIEW since January 2013
crossrulz
Knight of NI

The intended answer is C.  Really should use shift registers with FOR loops.  Didn't we recently have a question on that?


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
adiveppa
Member

Ans is C

RAMESHB
Member

Ans id C. i dont no correct answer  just i am guessing

LordNobady
Member

that is a good thing D is just as correct as C in this case.


Learning LabVIEW since January 2013
MrStevenUND
Member

C.

The bug is the error cluster input stops at the case statement and could cause a pop-up, depending if you have automatic error handling enabled or disabled in the options menu.

mini09
Active Participant

I`m not sure about the answer, The bug might be the Bundle by name doest have the cluster reference of the error in cluster so which may be an another error in cluster. I would be expecting some good review on the answer...

SercoSteveB
Active Participant

Answer: C (and D).  Nice one LordNobady, crossrulz, adiveppa, RAMESHB & MrStevenUND.

My bug/oversight/feature was indeed the lack of shift registers on the Error Cluster tunnels in and out of the FOR Loop.

LordNobady The bug/feature/oversight is that with an empty array the VI reacts as D ( so D is correct to in a way )


crossrulz
  Really should use shift registers with FOR loops

An interesting one I had not considered is....

MrStevenUND The bug is the error cluster input stops at the case statement and could cause a pop-up, depending if you have automatic error handling enabled or disabled in the options menu.

ashwinilele
Member

C