Using FPGA program to collect data for long time without 'gap'

Our data collection system has a NI-PCIe 7852R card. We want to collect data at up to 10 KHz for up to 10 to 30 minutes. The data amount is too large so we have to separated them into multiple Array and save in multiple files. We do not want to loose data during the saving time. Anyone has idea on how to do it? We would appreciate your help.
My current method:
1 using FIFO memory, in FPGA program loop , write data from AIs to FIFO memory, after certain amount of data is written, say 2000 of it, asks a IRQ.
2. In Host program loop, wait for IRQ, once the IRQ comes, read in FIFO data, do some processing, put the data into prelocated array, once the prelocated array is full, save it to the disk.
So far the method is not working.
1st, there seems never a IRQ, the wait for IRQ (invoke method) never took any time.
2nd, the FIFO reading in the host program loop seems takes no less time than the FPGA program write same amount of data into FIFO...
SO I have extra questions:
1. Does the 7852R cards and its new FPGA still support IRQ?
2. What is the reading speed of FIFO read in Host program? I thought it should be much faster than the FPGA program writing it....
Any help will be propitiated.
Thanks a lot

Here is the FPGA program block
Part of Host program block inside the loop
Part of Running results.
   1. Some data is missing in every FIFO reading in Host program
   2. The FIFO reading in Host program takes more time than the AIs=> FIFO in the FIFO program
   3. Of cause each host loop takes more time than it takes FPGA program to get same amount of data...
Attachments:
FPGA_AI_block.png ‏48 KB
HOST_AI_inloop_block.png ‏31 KB
Running result.png ‏124 KB

Similar Messages

  • How to use the program "Generate test data for BAI bank statement" ?

    Hi all,
    I use the program RFEBKAT5 to create an Electronic Bank Statement file in BAI format ,but it doesn't generate the file .
    I don't know how to generate the file.
    Please help me !
    Thanks all !

    You need to suitably adjust your GL accounts for "Posting Offset Account" (Whisch is defaulted as ++++++++19" and Checkout/Funds Out/Funds IN GL accounts to your configuration.
    Once you do this try generating the file again.

  • Cannot use Dreamweaver CS6 because of "running for long time" script issue

    Started getting this error yesterday, it’s killing me....
    Dialog box says: "A script in file ~:Applications:ADOBE CS6:Adobe Dreamweaver CS6:Configuration:Shared:BC:JS:bc_sites.js has been running for a long time.  Do you want to continue?"
    The message keeps persisting almost everytime I try to edit something, the Yes or No options don’t seem to do anythin other than remove the dialogue box temporarily.
    Searched for a solution to this but only found unanswered questions, so I uninstalled the app, re-installed it and all seemed to be ok for a short while and now the issue is back.
    I’m using business catalyst and like the improved imtegration, but this is broken!!
    Please Help..

    designchiefkm wrote:
    Hi, yeah that link leads to "Ask the experts" which is this community forum...
    very bland support me thinks...
    I'm a strong supporter of DW and Adobe, but it's one of the reasons I'm not in the Cloud or using BC.  Support is charged at a per-incident or corporate rate: http://www.adobe.com/support/programs/ . 
    You can try trashing that Configuration folder ( http://helpx.adobe.com/dreamweaver/kb/troubleshoot-javascript-errors-dreamweaver-cs4.html - See steps 12 & 4 for details).  But that's about the extent of community support here for most technical issues.  Seeing as how you have only 3 posts since April  you probably were not around the last time customers spoke up and complained and prompted the Lambert Walsh letter almost 3 years back now. ( http://blogs.adobe.com/captivate/2009/08/open_letter_to_our_customers_o.html ).  Just don't be afraid to speak up or write to Adobe, they will listen.

  • Minor collection pauses for longer time (40 seconds to 3 minutes) - web app

    We are facing a strange issue with our Application, it is running under jboss-4.0.2 with jdk1.5.0_07
    It becomes unresponsive after 1/2 an hour load test and comes back to normal within 2 to 3 minutes. The following is a sample of the GC information when it says it takes around 48 seconds in minor collection. It also says JVM Process has not received any CPU time for 49 seconds. Extending timeouts. We have jvm settings like -Xms256m -Xmx2g .All other are default settings.
    Is it due to lesser default young generation space (is it 64m max?) ?
    jvm 1 | [GC [DefNew: 22544K->1299K(23872K), 0.0108188 secs] 230090K->208845K(
    338072K), 0.0110270 secs] [Times: user=0.02 sys=0.00, real=0.01 secs]
    jvm 1 | [GC [DefNew: 22486K->1276K(23872K), 0.0103120 secs] 230032K->208822K(
    338072K), 0.0104925 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    jvm 1 | [GC [DefNew: 22499K->1282K(23872K), 0.0102190 secs] 230045K->208828K(
    338072K), 0.0104001 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    jvm 1 | [GC [DefNew: 22516K->1211K(23872K), 0.0137988 secs] 230062K->208757K(
    338072K), 0.0140383 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
    jvm 1 | [GC [DefNew: 22459K->1166K(23872K), 0.0109533 secs] 230005K->208712K(
    338072K), 0.0111790 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
    jvm 1 | [GC [DefNew: 22386K->1496K(23872K), 0.0121308 secs] 229932K->209042K(
    338072K), 48.7297245 secs] [Times: user=0.02 sys=0.00, real=48.73 secs]
    jvm 1 | [GC [DefNew: 22744K->1249K(23872K), 0.0189683 secs] 230290K->209269K(
    338072K), 0.0192538 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    jvm 1 | [GC [DefNew: 22497K->1402K(23872K), 0.0136421 secs] 230517K->209422K(
    338072K), 0.0138301 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
    jvm 1 | [GC [DefNew: 22650K->1385K(23872K), 0.0153154 secs] 230670K->209587K(
    338072K), 0.0155699 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    jvm 1 | [GC [DefNew: 22633K->2139K(23872K), 0.0190828 secs] 230835K->210430K(
    338072K), 0.0193875 secs] [Times: user=0.01 sys=0.00, real=0.02 secs]
    jvm 1 | JVM Process has not received any CPU time for 49 seconds. Extending
    timeouts.
    jvm 1 | [GC [DefNew: 23387K->2624K(23872K), 0.0243883 secs] 231678K->211720K(
    338072K), 0.0246069 secs] [Times: user=0.02 sys=0.00, real=0.02 secs]
    jvm 1 | [GC [DefNew: 23871K->981K(23872K), 0.0231872 secs] 232968K->212118K(3
    Ours OS is windows 2003 server (32 bit), 4GB RAM and 2 cpu.
    Do we need to set some more jvm parameters like
    -XX:PermSize
    -XX:MaxPermSize
    -Xms == -Xmx
    -XX:+UseParNewGC
    -XX:NewSize
    -XX:MaxNewSize
    Please suggest it is very crucial for us.
    Regards,
    Chaula

    I missed 1 thing , in the gc trace
    jvm 1 | [GC [DefNew: 22386K->1496K(23872K), 0.0121308 secs] 229932K->209042K(
    338072K), 48.7297245 secs] [Times: user=0.02 sys=0.00, real=48.73 secs]
    it says 48.7297245 secs for collection of total heap, does it mean major collection was also run here?
    If not then what can cause such a long pause during minor collection?
    Another point is
    Times: user=0.02 sys=0.00, real=48.73 secs
    here user and sys time are very negligible while real time is so huge..what does this mean?
    Thanks & Regards,
    Chaula

  • Job that must be programmed to collect information for system log (sm21)

    Please, Who is the job that must be programmed to collect information for system log (sm21) ?
    Thank you very much.
    Hugo.

    Before you reinitialize your log shipping configuration, check to see if you can take a differential backup and restore that on top of your standby database. This is relatively easier than to take a full database backup just to reinitialize
    Edwin Sarmiento SQL Server MVP | Microsoft Certified Master
    Blog |
    Twitter | LinkedIn
    SQL Server High Availability and Disaster Recover Deep Dive Course
    I can take a diff backup.. But in my secondary, when i right click standby >tasks-->restore-->i can see only option to restore transaction log file. Other options are greyed out. How can i restore a diff backup now. If i bring the DB online with
    restore with recovery, i have to restore a full backup before i can apply a diff backup. 
    Somebody provide me insight on below error
    This secondary database is not functional because
    the required copy or restore job cannot be found. You must remove this secondary database by clicking Remove. To resume log shipping to this secondary database, add it as a secondary again using the same settings.If
    you resume log shipping and you specify the same restore path that you used before, any backup files that are uncopied or unrestored to this database will be copied and restored when it is added as a secondary again.  Reinitializing the secondary database
    is unnecessary."
    I can see the LS_restore job and the job is running as per the schedule, we dont run copy job because
    the backup directly falls in secondary server. wats the reason for the above error.

  • I have been buying apps for a long time  without a problem using my credit card on file. All of a sudden itunes is not recognizing my card which is in good standing. All the info is correct but itunes/apple says it doesn't  match the bank info. Any ideas

    I have been buying apps for a long time  without a problem using my credit card on file. All of a sudden itunes is not recognizing my card which is in good standing. All the info is correct but itunes/apple says it doesn't  match the bank info. Any ideas?

    Answered in your Other post on this Topic...
    https://discussions.apple.com/message/24053626#24053626

  • Hello i have a problem  i can not use adobe programs. The payment for the month march is not be payed, but i will pay the payment.I can not found where i can do that. Also i see that my membership is stopped.

    Hello i have a problem  i can not use adobe programs.
    The payment for the month march is not be payed, but i will pay the payment.I can not found where i can do that. Also i see that my membership is stopped.

    Try the not-charging topic of:
    iPod touch: Hardware troubleshooting
    It could be that the battery is dead.

  • Report running for long time & performance tuning

    Hi All,
    (1). WebI report is running for long time.so what are the steps i need to check for it ?
    (2). Can you tell me about performance tuning in BO ?
    please help me.....
    Thanks
    Kumar

    (1). WebI report is running for long time.so what are the steps i need to check for it ?
    The first step is to see if the problem lies in the query on the data source or in webi itself. Depending on the data source there are different ways to extract the query and try to run it against the database. Which source does your report uses?
    (2). Can you tell me about performance tuning in BO ?
    I would recommend to start by reading the administrator's guide. There is a section about how to improve performance.
    Regards,
    Stratos

  • ABAP process job ( BI_PROCESS_ABAP ) in process chain running for long time

    Dear Experts,
    We have an ABAP process job  BI_PROCESS_ABAP  in a process chain. This job is running for a very long time than previous run time.
    Recently we had an ORACLE database upgrade from 9.2 to 10g.
    From the very next day , we are having this problem.
    And also previously this process-chain was under control of BASIS guys . they were using a tool called CRONACLE to schedule it. At the time of upgrade this tool was crashed and they asked us to schedule it in BW system instead.
    Underlying program is using two custom tables.
    one is having both primary & secondary indexes but the other table is having only primary index.
    I am not sure whether we have secondary indexes on other table prior to upgrade or not.
    Where must be the problem?...
    At the time of upgrade BASIS has re-organized the table space along with database upgrade.
    please help me...
    Regards,
    SRIKANTH

    Please ask yr basis consultant to check the system parms.
    Below i have listed down SAP recommneded system parms .
    abap/heap_area_total 4000000000
    abap/heap_area_dia 2000000000
    abap/heap_area_nondia 2000000000
    Also check in SM37 if any other jobs are running for long time, peventing the your job running.
    Check the SM12 for locks or SM58

  • Workflow trf executing for longer time

    Hi All,
    Workflow trfc executing for longer time in transaction SM58. Why will this happen ? Is there any resolution available ? Please advise on this issue. Below are the details :
    Caller: WF-BATCH
    Function Module: SWW_WI_EXECUTE_INTERNAL_RFC
    Status Text: Transaction Executing
    Program: SAPMSSY1
    Kind Regards
    Shiva

    Hi,
    Check if WF-BATCH user is not locked or the pwd changed. The same as the process started, see the event trace if you are triggering any wflow from this. And CLick on the event and see the "REceiver Data" and "Trace Data" if any errors are there.
    Sometimes, if this user got locked for some reason, it results in issues like you mentioned.
    Hope this helps
    venu

  • DISASSEMBLE is being executed for long time in SPAM

    Hi ,
    I am trying to applying SAP_BASIS patch in new XI 3.0 server .But it got hanged in <b>DISASSEMBLE is being executed</b> for long time in SPAM.
    Can any one will me to solve in this issue.
    Thank You !
    Gopnath.G

    Hi
    The following Patch manager may be useful
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCUPGOCSSPAM/BCUPGOCSSPAM.pdf
    Regards,
    Sai

  • Wait step in quality is waiting for long time

    hi friends
      I have transported the workflow to quality. Am using a wait step in my workflow. Its waiting in that step for long time nearly 1 hour still its not cross the step. The workflow works fine in my developement. But in quality its not moving to the next step. i comparted the wait step in quality and developement. In developement wait step in outcomes tab green light is glowing in Actvie mode. but in quality green light is visible but in blured vision. even i have checked the configuration in swu3 in development and quality. Both have same configuration. What could be the problem that its not crossing the wait step. Plz help me
    Regards
    vijay

    hi Pavan
      I havn't used any deadline. Its working fine in development. y in quality its not working. That is my question. Even i have checked in the development wait step from the log i have these 3 steps for histroy
    Wait step created                                No errors
    Condition for wait step fulfilled               No errors
    Result Processing                               No errors
    But in quality
    Wait step created                                No errors
    Only these step is alone there. its has not yet come to other step. But my condition is fullfilling has i checked from the container elements. Am waiting for more than 3 hours. Still its not come to next step. y what could be the reason.
    Regards
    vijay

  • Master data taking Long time in Query Execution

    hello Experts
    I have an issue while executing a query.
    The input parameter for the query is the 0customer variable in which when I try to select the value from the tab  Select From the List & goes for single value option or any other option then goes for long time loading the values & then come out with a short dump.
    I want to know why this is happening.
    Please help me out from this.
    Thanks in advance
    Neha

    Thanks to All
    I have checked the info Object - 0Customer.
    The following settings are there in Bex Explorer tab ::
    Query Def. Filter Value Selection  -  Values in Master Data Table
    Query Execution Filter Val. Selectn  -  Only Posted Values for navigation
    Also the Value for display in the object are only 1000. This takes time only in analyzer not in designer.
    What I have to do, plz suggest
    Thanks
    Neha

  • Error: Inappropriate data for continuous time axis while displaying in Time-series Line in OBIEE

    I wanted to use time series line in my analysis but I couldn't get What kind of data is required for this graph? It shows inappropriate data for continuous time axis. I had total amountmin vertical axis and time(year) in horizontal axis.

    Check this if not helpful then follow 2 links at bottom
    OBIEE - Time Series Conversion Functions : AGO and TODATE | GerardNico.com (BI, OBIEE, OWB, DataWarehouse)
    ~ http://cool-bi.com

  • Custom web parts in SharePoint 2013 becomes inactive when the session is idle for long time.

    Hi,
    We have a search center site with custom web parts and custom master pages. When the session is inactive for long time all the custom web parts in the page doesn't work, unless we close the browser and open it. Where as this is not the case with the
    OOB web parts. We are not able to identify the root cause as it works with OOB web parts and not the custom web parts.We were able to find that by increasing the session timeout of the web application we can avoid this issue.We do not want to increase the
    session timeout as the OOB web part works perfectly even when the user session is idle for long time.Is there any other alternative where we can acheive the same for custom web parts when the session is idle for long time?
    Thanks,
    Saranya

    Hi Saranya,
    According to your descirption, my understanding is that when the session is long time idle ,then custom web part will not work.
    I suggest you check if you have enable the session in the Page Level in the web.config. By default SharePoint disable the session state.
    In the web.config, you will see <page enableSessionState> tag. You can modify like below and test if it works.
    <pages enableSessionState=”true” ….. />
    Here is a detailed thread for your reference:
    Use Session State in SharePoint
    Best Regards
    Zhengyu Guo
    TechNet Community Support

Maybe you are looking for