LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find an error in multiple channels without splitting

Hi,

 

I am trying to write an error checker for identifying when strain gages have been incorrectly hooked up to a DAQ. I have identified that when they are not connected correctly, their offset values are ~6.5E-6, but I need to check through a maximum of 28 channels for errors. I will edit after this part is functioning to allow the program to identify which gage it is, but for now I just need to know if/when any of them are wrong. I have attached a snippet showing where I am so far, but I am struggling with how to test each channel using the method I have set up. 

 

Any help, or just steering in the right direction would be appreciated. 

errorcheck.png

0 Kudos
Message 1 of 2
(2,304 Views)

Use a FOR loop to iterate over the channels and process them in there.

 

Other notes:

1. No need to wire up the N due to the autoindexing tunnel, which will tell the FOR loop how many times to iterate.

2. Use Add Array Elements instead of your current FOR loop.  Much simpler.

3. You can also simplify your comparisons by using the In Range & Coerce.


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
Message 2 of 2
(2,296 Views)