I want to use the 2 number of counters of PCI 6225 card. Purpose is to find ratio of pulses accumulated by the two counters over a certain time, where at first counter defined number of pulses will set as the ‘Initial count’. For first counter, "count down" option will be used and in same time, number of pulses in second counter (count up) will be measured until counter-1 downcounts to ‘0’.
To achieve this, I am using two while loops (one for each counter). When counter 0 downcounts to ‘0’, want to send stop signal to other while loop. Also in second while loop, value of counter need to be passed out of while loop to do further calculation.
So wanted to know, how to stop second while loop by taking control from first one and how to pass the value out of while loop? I have already tried using a ‘local variable’ for passing of value across the loop. I find that it passes the data but only in ‘Read’ mode and not in ‘Write’ mode. Attached is VI used. Labview version is 8.5. Thanks in advance.