- From: Caleb Tennis <caleb_at_aei-tech.com>
- Date: Tue, 29 Oct 2002 07:46:35 -0500
Yes, you should run that as a for loop 5 times to setup the counters. The counter won't reset to 0. Instead, you'll have to take a counter reading, wait a while, then take another, and subtract the two. I don't believe there is a way to reset the internal counters on that board; at least not with comedi. Caleb > -----Original Message----- > From: comedi-admin_at_comedi.org [mailto:comedi-admin_at_comedi.org]On Behalf > Of Lucas Watkins > Sent: Monday, October 28, 2002 5:33 PM > To: Caleb Tennis > Cc: comedi_at_comedi.org > Subject: Re: Event counting > > > > Caleb, > > Thanks for the help. Am I supposed to run the insn every time > after setting op[0] and op[1]? Or should I | them together? I tried > running the insn every time, but the counter gets reset to 6244094 and > stays there. This doesn't seem right. Shouldn't it reset to zero? > > -Lucas > > > > _______________________________________________ > comedi mailing list > comedi_at_comedi.org > https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi >
Received on 2002-10-29Z12:46:35