|
| View previous topic :: View next topic |
| Author |
Message |
gDeChoulot
Joined: 30 Mar 2011 Posts: 11 Location: France
|
Posted: Mon Apr 18, 2011 1:34 am Post subject: sampling rata/frequency for each channel |
|
|
Hello jhenderson,
In all the given examples, there is only one event to handle available analogic data.
Is it possible to divide the Handler into one for each ADC, DAC to be able to
- sample differently each ADC channel.
- send packet at different rate for each DAC channel.
Only one stream is used to send/recv packet in the examples.
Is there any drawbacks of using X stream for X channel to divide handler?
And then, how to fix the rate independently for each stream
(it looks that the rate is fixed only once for the module)
Thank you for your time. |
|
| Back to top |
|
 |
jhenderson Site Admin
Joined: 07 Mar 2006 Posts: 2267 Location: So. Cal. USA
|
Posted: Mon Apr 18, 2011 4:42 am Post subject: |
|
|
All stream data is sent in packets containing a header and payload. Whenever a packet is transmitted, an interrupt is generated to the PC host which results in the HandleDataAvailable or HandleDataRequired event handler callbacks.
The contents of each packet is controlled by the firmware loaded onto the card. By default on X5 and X3 cards, data from multiple analog channels are interleaved into the payload of packets and there is no provision for transmission of channelized data. To achieve this, the firmware would need (extensive) modification.
By default, all analog channels are simultaneously sampled. On some hardware there is limited provision for routing subdivided clocks to some channels, but the heardware does not support generation of asynchronous clocks to various analog devices.
To support multirate acquisition, use multiple I/O cards, where each card supports one of the desired sample rates. Alternately, it is possible to implement data rate resampling logic in the firmware to synthesize multiple sample rates from a common base rate. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You cannot download files in this forum
|
|
© Copyright 2006-2012 Innovative Integration
Powered by phpBB © 2001, 2002 phpBB Group
Based on iCGstation v1.0 Template By Ray © 2003, 2004 iOptional
|
|
|