12-29-2005 03:45 PM
12-29-2005 04:32 PM
Hi Michael-
The only method to reset the count value using your USB-6009 is to stop and restart the task. This will reinitialize the counter value to the initial count value you have specified previously. If the overhead of stopping and restarting the counter is unacceptable for your application you may consider simply maintaining the counter value from the previous iteration (by a shift register or other method) and simply subtract the two counts from one another.
Hopefully this helps-
12-30-2005 07:03 AM
12-30-2005 09:57 AM
Hi Michael-
I do not have any problem with using shift registers in timed loops. What version of LabVIEW are you using? Can you please elaborate on why neither shift registers or local variables meet your needs? I have attached a VI that saves a previous iteration and then computes and displays the difference. Let me know if you have problems running it.
Thanks-
12-30-2005 10:55 PM
01-01-2006 04:42 PM