ts-7000
[Top] [All Lists]

[ts-7000] Re: TS-ADC16 continuous sampling

To:
Subject: [ts-7000] Re: TS-ADC16 continuous sampling
From: "Alex" <>
Date: Wed, 11 Aug 2010 17:35:56 -0000
Hi Mario,

I am running into similar problem with TS-adc24 card. I need to do continuous 
sampling on 4 channels at 250 kHz, but even if I try to collect "chunks" of 
data with "peek" operation, I am loosing samples. I did not try to use TS 
driver since PEEK operation theoretically is implemented as assembler code and 
should be fast enough (According to TS the sampling rate for  channels can be 
up to 500 kHz. I wonder how did they test this board?). If possible, I would 
like to look at your library, modify it for TS-adc24 and test it with ADC-24.  
Can you e-mail me copy of your code?

My email is 

- Alex

 

--- In  "mario.huizar" <> wrote:
>
> 
> 
> After fighting for two weeks with the library provided by technologic I 
> decided to rewrite my own library. The problem was that this tsadclib1624 
> buffering systems is not working. I lose packets if I get samples in a 
> continous loop. 
> With my library now I am not losing any packets. I am not really happy with 
> the support that I became. The guys from Technologic were able to reproduce 
> my problem but they told me that right now they did not have time to fix the 
> library. 
> Anyway if someone is interested on obtaining my library I could send you a 
> copy of my code. But it only works for the TS-ADC16 (not the TS-ADC24) it can 
> be extended easily thought...
> 
> Regards!
> Mario Huizar
> 
> --- In  Mike Ingle <finndmike62@> wrote:
> >
> > With the right buffering, a device driver, custom fpga implementation,... 
> > you can get the limit of the 100mbit ethernet implementaion (2-4 Mbytes/s 
> > as far as I recall on the ts-7300).  
> > 200Hz, would only require a simple device driver, assuming that the ADC-16 
> > is on the PC-104 bus.  Basically you would set up a timer based interrupt, 
> > and collect data from the device driver.  I believe there is asmple code on 
> > in the files section.  Been too long to remember exactly.
> > 
> > Mike 
> > On Apr 12, 2010, at 1:12 AM, mario.huizar wrote:
> > 
> > > Hello all,
> > > 
> > > I am using the TS-ADC16 in my TS-7300 board. I am using QT3 in order to 
> > > display the data that I get. I am sampling at 200Hz. 
> > > I am using the tsadclib1624 provided by technologic.
> > > The problem that I am having is that I lost samples. I have a thread that 
> > > the only thing that it does is to be in a while loop calling the sample 
> > > function. (tsadclib1624_sample)
> > > But it looks like in between every call to this sample function I am 
> > > losing data. I cannot do a true continuous sampling even though my 
> > > sampling is only at 200Hz. 
> > > In the documentation of the library it is written:
> > > 
> > > NOTE:
> > > Because of the way the data is presented from the hardware, it is not 
> > > currently possible to provide continuous data into a ring buffer at high 
> > > speeds.
> > > 
> > > But what is high speeds? 200Hz? What can be done to get a continous 
> > > sampling?
> > > 
> > > Regards,
> > > Mario Rodriguez Huizar
> > > 
> > >
> >
>




------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/

<Prev in Thread] Current Thread [Next in Thread>
  • [ts-7000] Re: TS-ADC16 continuous sampling, Alex <=
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU