Showing results for 
Search instead for 
Did you mean: 

Bundling events and output to datasheet

Hello to all,

I have an issue trying to log errors as they occur. What i want to do is log an error if it happens else, discard the ok's. Afterwards for all three cases, i want to log the data onto a spreadsheet, how can this be done. Help! Enclosed is my vi.

Thanks In Advance!

0 Kudos
Message 1 of 3
To all,

OK, I've learned how to bundle the events occured and output each event to a textfile.
Now, how can it be possible to only post events that are Failing?

Thanks In Advance!

0 Kudos
Message 2 of 3

Just put your file write in a case structure so it only happens on error.

See attached modification. You might also want to cleanup some weird boolean logic, e.g. a "Not equal false" is the same as the original wire and can be skipped. A "Not equal true" is the same as a logical invert. You can also combine many ORs into a compound node.

You also don't need the "select" node for the sequence string in cases 1 and 2. The corret string is given by the case selection already.

How quickly do the cases execute? If they are pretty fast, it might be easier to place the boolean indicators outside the main case structure (but inside the main loop) and use wires, eliminating all local variables.
0 Kudos
Message 3 of 3