Detect lost samples from a code-only test

An instrument test supplies a sample count and an error cluster, a group containing a Boolean status, a numeric code, and descriptive source text. The codes below are user-defined identifiers.


Compare two LabVIEW implementations on the same five independent trials:

  • Correct implementation: The complete error cluster is wired to a Case Structure using its standard Error and No Error cases, with no numeric code-specific cases. No Error forwards the trial's sample count; Error outputs zero.
  • Faulty implementation: The cluster's code is compared with zero, and the result of code≠0\text{code} \ne 0 is wired to a Boolean Case Structure. True outputs zero; False forwards the trial's sample count.

Both implementations explicitly wire their outputs in every case.


Trial

Status

Code

Sample count

A

False

0

18

B

False

503001

24

C

True

-503002

11

D

True

503003

15

E

False

0

22


Find the total output sample count from each implementation, summing across all five trials. Also find the number of trials for which exactly one implementation outputs zero. Report both totals in samples and the number of trials as exact integers, with zero decimal places.

Your answers

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More The Case Structure Questions: