10-23-2008 11:52 AM
10-23-2008 01:29 PM - edited 10-23-2008 01:33 PM
LabVIEW has parallel processing powers, use these. By wiring up the error wires from channel calculation to channel calculation you force them to be processed one after each other.
Merge the erros and than to the check.
A better approach will beto to the FFT for all channels in one subVI.
Use a different read VI (I don't have daqmx base, but look for someting that outputs an array of waveforms, in daqmx it is called 'Multiple channels->Multiple Samples-> 1D waveforms)
Feed this output (1d array of waveforms) to the FFT power spectrum VI you have, automatically the right instance will be selected and the channels will be processed in one call.
The following code you use looks very strange to me.
What it does is a 'not equal' to two booleans which both are false. So the output will be 'TrueFalse', than you do a case structure which will always be false and do nothing.
Why so hard?
Ton