01-25-2007 07:12 AM
This is in continuation of my previous post.
So over all sequence of the acquisition will be like this.
i) Application software will clear and initialize the onboard counter and enable one PFI line to activate the ADC to start the acquisition.
ii) Upon detection of signal in the detector, ADC will generate a READY signal, which is connected to one of 32 DI/O lines.
iii) On the rising edge of this signal, change detection event will be generated
iv) This will trigger two events, generation of a) ‘ DI Sample clock’ b) pulse (or change of level) on one of PFI lines
v) Due to 'DI sample clock' the one bunch of 32-bit data (out of this, only 26-bits are useful) will be transferred to system memory
vi) And due to pulse on PFI line, ADC will be reset and will become ready for the next signal
vii) Additionally when READY signal is delivered as mentioned in step (ii), the ‘cdt’ signal from ADC will be asserted to gate the 6259 onboard counter and counter starts counting.
viii) ‘cdt’ will be de-asserted after the ADC is reset as in step (vi) and counter will be stopped counting.
ix) This way acquisition will continue until it is required to stop.
x) At the end when acquisition is to be stopped, software will deactivate the PFI line (same line used in step –i) to disable the ADC and to stop the acquisition.
xi) Software will then read the content of counter to calculate total dead-time.
I hope these lines of actions are feasible in PCIe-6259. Kindly advise if some thing is wrong.
Thanks and regards
Pranav
01-25-2007 11:59 AM - edited 01-25-2007 11:59 AM
Message Edited by Travis G. on 01-25-2007 11:59 AM
01-27-2007 06:45 AM
Dear Travis,
Many many thanks for all the important information you have passed on by actual testing of all the required functions on 6259. I am very much impressed by the support you have provided since the beginning of our discussions. I would once more say thanks to you and also to NI and Kevin as well.
Only question left is, about NI DAQmx. I hope this will be supplied with PCIe-6259 by default. OR I may need to specifically mention while ordering ? I also hope Labview's latest version(NI developer suite core edition) is enough for the development of functionality which we discussed above OR something special required ??
With warm wishes
Pranav
01-29-2007 09:57 AM
01-29-2007 10:30 AM
03-02-2007 02:55 AM
Dear Travis,
Hello. I am little bit confused about the incoming signal rate handling capability of above mentioned strategy using e6259. In our application we decided to use ADC READY signal on one of hardware-timed i/o lines in ‘change detection’ mode for data read and one PFI line to reset the ADC. Now question is whether this type of setup will be able to handle incoming signal rate of 100k. I become little suspicious because I just read that ‘change detection’ process is an interrupt driven process and hence, may be slower. Additionally, PFI lines are not hardware-timed(?), so will it respond quick enough to reset the ADC after each data read or it will introduce 'comparatively long' delay after data is read?
Originally, this confusion started when I referred PCI-6509 for other application. 6509 has 48 static I/O, but surprisingly it also supports ‘change detection’!!! How this is possible because in static I/O mode the data read/write operation is software dependant and may not be ‘quickly’ available when ‘change detection’ is detected.
As we are in the final stage of buying both the above cards, I would like your views on these aspects .
Thanks and regards
Pranav
03-02-2007 02:59 AM
Dear Travis,
Hello. I am little bit confused about the incoming signal rate handling capability of above mentioned strategy using e6259. In our application we decided to use ADC READY signal on one of hardware-timed i/o lines in ‘change detection’ mode for data read and one PFI line to reset the ADC. Now question is whether this type of setup will be able to handle incoming signal rate of 100k. I become little suspicious because I just read that ‘change detection’ process is an interrupt driven process and hence, may be slower. Additionally, PFI lines are not hardware-timed(?), so will it respond quick enough to reset the ADC after each data read or it will introduce 'comparatively long' delay after data is read?
Originally, this confusion started when I referred PCI-6509 for other application. 6509 has 48 static I/O, but surprisingly it also supports ‘change detection’!!! How this is possible because in static I/O mode the data read/write operation is software dependant and may not be ‘quickly’ available when ‘change detection’ is detected.
As we are in the final stage of buying both the above cards, I would like your views on these aspects.
Thanks and regards
Pranav
03-04-2007 10:34 PM
Dear Travis,
Somehow my previous post has not been updated in the front page of Discussion forum/Digital I/O, so you may not have noticed. Meantime, I referred some technical notes on e6259 and found that change detection is done at quite high speed(synchronised with 80 MHz) so it may handle above incoming rate. Also I have noticed that PFI can be activated almost immidiately after DI Sample Clock. What is your comment ?
Thanks and regards
Pranav
03-05-2007
10:59 AM
- last edited on
02-16-2024
05:05 PM
by
migration-bot
Hello Pranav,
The digital change detection event of the PCIe-6259 M Series device will transfer data to system memory using interrupts rather than DMA, and its true that this may result in a slower acquisition rate. However, I believe that with a moderatey powerful computer, you should be able to achieve change detection rates of 100kHz. The fact that the change detection is synchronized to the 80 MHz timebase basically means that that timebase is used as a sort of 'sample clock' for the change detection and this is an indication of the maximum timing resolution of the change detection event. For example, if a change on a digital line occurs between two ticks of this 80 MHz timebase, the data on the digital lines will not be latched into memory until the next tick of the 80MHz timebase. This does not directly affect how the data is transferred to system memory (whether using interrupts or DMA transfers).
Also, although PFI lines are not hardware timed, when a hardware timed signal internal to the PCIe-6259 like a change detection event is routed out of a PFI line, the consistent timing of that signal is maintained. However a small propagation delay is added to that signal due to the routing, of around 8 to 30 ns as described in the Appendix B: Timing Diagrams section of the M Series Help.
Although the interrupt driven nature of the change detection event is a concern, the PCIe-6259 is a very flexible device for routing and timing. If the change detection strategy cannot keep up with your signal rate, there is another option. The digital I/O lines on the PCIe-6259 can be clocked using correllated digital input to an internal or external timing signal, and data acquired in this fashion is transferred to system memory using DMA. What you could do is use a counter on the device to generate a single pulse, and have this counter operation be constantly retriggered by the ADC READY signal. The pulse generated by this counter can then be used as the sample clock for a correlated digital input operation, and then this correlated digital input sample clock signal can be routed out of the device through a PFI line and back to the ADC. This gets a little more complicated to program with the DAQmx VIs, but we can definitely help you out with that.
I hope this information helps,
Travis G.
03-06-2007 07:53 AM
Travis,
There was another thread I was in once regarding high-speed change detection, and I got the impression that the "Change Detection Event" signal could be used as a sampling clock just like any other hardware signal, and that transfer to system memory could still take place through DMA.
Can you double-check on the interrupts-vs.-DMA issue? Here's the thread.
-Kevin P.