08-24-2011 11:44 PM
Hi,
I am a newbie in Labview.. I would like to ask a very simple question:
so I am using NI DAQ mx to generate a multiple counter (2 counters).
I would like to ask, in the middle of the process I would like to just stop 1 counter while generating another counter.
How can I do that? If I use the NI DAQ mx stop VI, it will stop both of the channels. Attached are the code for the generating the counters.
Thanks.
08-25-2011 01:58 PM
The VI you posted is saved in later version labview than what I have, so I can't see what you are doing there. But, assuming you are using DaqMX acquire data and the counter in the loop. One way of doing what you are trying to achieve is by creating the case structure inside the loop and create a logical controll (push button) to it. In case 'True' both counters are ON, case 'false' turns one counter off.
Hope it helps!
08-25-2011 09:41 PM
Hi it is still have not solved..
I have attached the version 8.0 and 9.0..
Please observe it.. Thanks 😃
08-25-2011 10:00 PM
I'm not sure how you have things wired up. A couple of your VIs are missing, but this should give you an idea.
08-25-2011 10:19 PM
I didn't see any difference by clicking the button.
It did not stop any of the counter.
I check both the true and the false, and it is using the same VI, so I am not sure what significance it do.
08-26-2011 07:27 AM
Sorry, I posted from home and the DaqMx VIs did not show up. I see them now.
09-15-2011 02:10 AM
So any other suggestion to stop one counter out of the 2 counters?