09-12-2011 11:11 AM
Hi,
In the fact, I will use LAbView to manipulate the FPGA, I want to acquire and separate fetal ECG from the maternal ECG. I have two SCB-68, NI PXI-1033, NI PXI-7841R and DAQ 6009 and of course labview 8.6. For this I have to do this with different manner and compare them:
1) I will use different algorithm in LabView to calculate The fetal heart rate, the amplitude of each wave form and the duration
2) I will do the acquisition of the signals with different way using:
- From data base (But I have a problem in installing biomedical startup kit and I'm waitting to solve it)
- From pregnant women (But up to now I didn’t find a woman which accept to go with me to the search laboratory because they afraid) with SCB-68. That’s why, I thought if I will bring the hardware to the hospital may be I improve to chance to find women accepting this or I thought to use the SCB-68 to instead to transport all the hardware.
3) Before beginning the acquisition I want design the possibility choosing the acquisition mode, single (one electrode for the abdominal ECG and one for the thorax ECG) and multichannel acquisition (I hope to obtain 20 channels acquisition and after I supress the noise signal but I thougut it impossible with my FPGA. Otherwise, for example 8 electrodes 5 abdominal and 3 thorax and having the possibility to changes the choice 6 abdominal and 2 thorax….The user can choice which to select)
I try to do the acquisition block diagram FPGA (following the example video and example which work correctly with one acquisition) by two manner: with FIFO DMA and with IRQ but I didn’t know what to change to obtain two acquisition instead one showing by the example, to do block diagram do I have to repeat each time (new project, choose Input output,…..? because I tried to copy and paste it but I doesn’t work an I spend many time to do this
For this, for FIFO method and IRQ method could I have to use two FIFO (or two IRQ in the second case) and changing the size from 32 bits to I16 or U16? Or I have to repeat the bloc as much as the number of acquisition? And also do I have to change the proprieties of the clock timer and tick counter from 32 to 16 bits? Please find below the attachments. For FIFO method, I didn't change any things compared to the original example I just added two acquisition instead one but it didn't compilate correctly. For IRQ I just changed the loop timer to 16 bits in the FPGA block diagram, and the compilation work correctly but I find problem in host block diagram.
Thanks a lot to help me
09-21-2011 01:30 AM
The reason your diagram is broken is that you didn't create the FIFO in your project, and just copy the example diagram into your VI.
You need to create the DMA FIFO in your FPGA target in the project. And of course, you can pack the fetal and maternal singals into 32bit pattern and use only one DMA FIFO to upload your data.
Compare your project with the example project may help a lot.
09-21-2011 02:38 AM
Hi eestone,
Thanks a lot to reply but I created the FIFO in my project but when I compile it, it was a wrong compilation that's way, when I opened it the problem of connexion appear. The main problem that I have to suppress the 0 and then to remplace it by the by the wire of maternal ECG. You told me to copy the project example, I didn't find any example in your reply
Thanks a lot to help me
Rira
09-21-2011 03:14 AM
I mean the example project in LV example finder rather than any attachment.
Please make sure you understand the error message or at least post it here, otherwise, I can't help.
I guess you are just creating a target-scoped FIFO instead of DMA FIFO. Just a guess.