HRDLGetTimesAndValues or HRDLGetValues

Post your C and C++ discussions here
Post Reply
schor

HRDLGetTimesAndValues or HRDLGetValues

Post by schor » Tue Jan 18, 2011 5:05 pm

Hi there,

I'm a bit confused about which of the following two functions would be more accurate for my topic:
HRDLGetTimesAndValues or
HRDLGetValues

I want to retrieve a sample every 101 mS (at a conversion time set to 100mS) from my ADC24 over a time period of 1 minute. Is it now more accurate to use the prior function to get the samples already with time stamps or use the latter function and handle the time-counting array on my ownr?

Many thanks,
Georg

Chris
Site Admin
Site Admin
Posts: 169
Joined: Tue Aug 17, 2010 9:00 am
Location: St. Neots

Re: HRDLGetTimesAndValues or HRDLGetValues

Post by Chris » Mon Jan 31, 2011 3:52 pm

PicoLog uses different functions to implement its recording methods, depending upon the parameters that are set for the device.

What you want to achieve could be accomplished using any of the 3 recording methods available.

Using the streaming method will give the most accurate time resolution, as it will use the ADC device's on-board timing.

Using the Single Value (non-blocking) method will use less CPU time, but you will implement the sample interval on the PC, via your code, so this could be less accurate.

Note: the sample interval needs to be greater than the conversion time x the number of channels in use.

Post Reply