Re: Sampling rate - newbie question

sorry to reply to the comedi list about a potentially non-comedi
problem.  have seen other similar posts and thought this might help:

the VI's you got for acquiring waveforms has a subVI called "start cmd"
in order to set the sampling rate you need to set the scan_begin_arg to
the number of nanoseconds between scans, as per comedi documentation.
for example, if you want to sample at 10kHz, you have 1/10 ms = 100000
ns between scans.  so you would set scan_begin_arg = 100000.
in the start_cmd VI there is already a variable created called
scan_begin_arg.

jon
On Mon, 2004-04-19 at 08:54, Nils Juergens wrote:
> On Mon, 19.04.04, "Ale[x] Garbino" <agarbino_at_hotmail.com> wrote:
> 
> > I have what is hopefully an easy question: How do I know what my sampling 
> > rate is? I'm Using the analog input VIs from the Comedi/Labview NI package, 
> 
> The question is not really comedi related. I'm sure the Labview support can
> assist you with your question.
> 
> Cheers,
> Nils
> 
> 
> _______________________________________________
> comedi mailing list
> comedi_at_comedi.org
> https://cvs.comedi.org/cgi-bin/mailman/listinfo/comedi
> 

Received on 2004-04-19Z08:54:49