SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

On Demand Acquisition Mode - Changing Period has no effect?

I'm using a 9211A to record some thermocouple data.  I'm looking to record a sample evey minute so I set my sample period to 60s.  Upon running the program, I get samples every 3 seconds.  No matter what I change my period to, I get a sample every 3 seconds, whether I'm recording data or just watching the data view.

 

Is there something I'm missing?

 

Thanks,

 

Gabe

Message Edited by wingtipz on 02-10-2010 01:49 PM
0 Kudos
Message 1 of 2
(6,234 Views)

Hi Gabe,

 

This Sample Period Setting actually has no affect on how fast or slow the data is acquired. 1 Sample on Demand acquires data as fast as possible, taking a sample as soon as the Processor has completed the previous one. This means that in actuality, a sample is taken about once every 1-3 ms, depending upon the processor speed and what is going on in the system. 

 

The Sample Period input simply allows you to assign a delta-t value for the waveform datatype. This is an arbitrary value set by the user and does not affect when samples are taken. It was meant as a way for users, when acquiring with an external clock, to input the frequency of that clock so that their data would be displayed on the chart correctly.  What this means is that the data you are acquiring is being taken every few milliseconds, though the dataview x axis makes it look a lot longer. 

 

If you want to actually sample once every 60s, it would be better to

a. Use a finite or continuous acquisition task with an internal HW timed sample clock

b. Continue to use 1 Sample On Demand but use the Execution Control Tab to define a 60s delay before or after the step and leave the Sample Period Input set to 60s. This means that the step will execute, taking one sample, and then Signal Express will enter a delay that lasts 60s, before executing the step again.

David
Applications Engineer
National Instruments


Digital Multimeters
0 Kudos
Message 2 of 2
(6,214 Views)