Certification

cancel
Showing results for 
Search instead for 
Did you mean: 

Which VI will only output all channels that have a value greater than 4 in them?

Solved!
Go to solution

This is a question from the CLAD Preparation Guide using LabVIEW 2017, the answer at the end of the PDF says C but I believe it is B. Can someone double check this?

dakotasmith2_0-1734631313982.png

 

0 Kudos
Message 1 of 3
(83 Views)
Solution
Accepted by topic author dakotasmith2

First make sure that you realize that the letter is below the image.

 

The input is an array of waveforms, one for each channel.

 

C is correct. It outputs only the waveforms where at least one element is >4.

 

B is glaringly wrong! It creates a gigantic mess because the inner loop only retains values that are >4 then it creates a 2D array in the outer loop and all rows are padded with zeroes to the longest inner loop output.

 

 

Message 2 of 3
(53 Views)

I didn't know that the array of waveforms was one for each channel. I thought that each waveform had all the channels in it with a single sample. That clears things up, thank you!

0 Kudos
Message 3 of 3
(38 Views)