Jimmy-Chen Posted October 5, 2004 Report Posted October 5, 2004 Hi I would like to reset the counts after I pressing the reset button. But I have no idea How to do this.. Dose anyone knows??? thanks in advance. ps. The Hardware is DAQ-NI6014. Quote
JackHamilton Posted October 6, 2004 Report Posted October 6, 2004 You can reset the counter by subtracting an 'offset' count-at the time the reset button is pressed - read the store the current counter value - then subtract that values from all following counter readings. See image of code. Quote
Jimmy-Chen Posted October 6, 2004 Author Report Posted October 6, 2004 Dear JackHamilton, One more question... :laugh: Can i use Counter Control.vi to reset the counter?? If can't .........why?? Thanks :worship: Quote
JackHamilton Posted October 7, 2004 Report Posted October 7, 2004 Yes, you can - but you may loose counts during the reset of the counter. My suggested method - you don't. It depends upon your needs. Quote
Jimmy-Chen Posted October 7, 2004 Author Report Posted October 7, 2004 Yes, you can - but you may loose counts during the reset of the counter. My suggested method - you don't.It depends upon your needs. 2147[/snapback] Thanks JackHamilton :worship: You have given me a helpful suggestion. Thanks again. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.