Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Hi


Hi

 

I am new to the forum but with some experience in LV programming. I have encountered a problem which I think is easy to be solved but I’m stuck:

I have a DAQ board and I am reading 18 channels in parallel. I get the results and I do an amplitude comparison with a constant value for each channel separately. The comparison o/p is a True or a False. Since I am interested only in the faults I want to put only the F in an array of Boolean.

How can I separate the T from the F’s so that if only an f occurs to be stored in the array since  I don’t care about the T’s ?

 

Thank you very much in advance for your input

 

Ioannis



0 Kudos
Message 1 of 4
(3,019 Views)
Attached is an image of a VI slightly modified from the shipping example called Separate Array Elements (Find Examples>Fundamentals>Arrays and Clusters). You just need a shift register and add the False elements in the False case. The True case just passes the shift register wire through unmodified. If you want to know which channel fails, you could build a cluster array and add the index value along with the Boolean.
0 Kudos
Message 2 of 4
(2,990 Views)
Dennis thanks for the input I tried it but I think I'm doing something wrong here. I will attach the vi and tell me what u think.
Thanks very much in advance for your help.
ioannis
0 Kudos
Message 3 of 4
(2,966 Views)
You can't have the build array in both cases. If you just want the false values, in the true case, the wire from the shift register should go straight through.
0 Kudos
Message 4 of 4
(2,954 Views)