Fpga data persistence volatility

I was just wondering about the persistence/volatility of the various memory methods after cycling power to LabVIEW FPGA Devices?  Is it possible to ensure that data persists after cycling power?
Jordan McBain, PhD
LabVIEW Controls Engineer
Revolutionary Engineering
Solved!
Go to Solution.

There aren't that many memory techniques. You can store data on the FPGA either in logic gates, or in RAM. Both of those are volatile - they lose their contents when not powered. Some FPGA boards do have onboard non-volatile FLASH, but that is generally used to store a bitfile to be loaded on power-up. I do not know if it is possible for the FPGA to access the FLASH while running, but if it is you would need to write custom low-level (non-LabVIEW) code to do it, as there are no built-in functions that allow it.

Similar Messages

  • Design of reusable data persistence layer with single container

    Hi,
    I am designing an 3-tier application using cmp for my data persistence layer (DPL). The customer now wants to run multiple versions of the application on one server using different data sets for each application. One solution I see, but don't like very much, is to add an application ID to each enity bean in my DPL. However, I would rather run multiple DPL's on different databases and reuse my business logic layer and my presentation layer. Has anybody solved this problem or see the obvious solution that I am missing here?
    Thanks a lot,
    Sandigo.

    Hi KPSeal,
    there is absolutely no relation between the different versions of the application. Although I would prefer to run a single business logic layer it is very much an option to have different versions of the entire application. Could you elaborate on how I would achieve these different versions? Would I have to rewrite the deployment descriptors so that each bean can exist twice or would that give me two instances?
    Thanks,
    S.

  • Local data persistence in Interactive workflows

    I have read through all the threads regarding Data persistence and do understand that form data is stored in xml format. I still have the following doubt:
    For all the custom workflows we are developing for this client (using Adobe interactive forms as the UI in the workflows) we want to have local data persistence. Is there a model which covers data collected through the forms, including those data that are retrieved from SAP at the beginning of the workflow, and those data that are manually entered by the forms user?
    Scenario :<b>  cost xx   - approver 1
                     cost xx + 1 - approver 2
    Form data filled, cost xx and hence a email goes to approver 1.
        Now, details changes and cost for that sales order increases to xx + 1.</b>
    Will my email still be in the inbox of approver 1?
    What if I want data persistence where from the initiation to the end of workflow the data should be persisted irrespective of the changes.

    Hello Kavitha,
    Your workitem will stay where it is unless you've specifically modelled it to react to a change. In standard purchasing you would use a change event triggered from ME22N or the likes, but unfortuantely I'm not in depth familiar with Adobe Forms so I don't know what happens when data is changed on a form once the WF has started.
    However if you want data to remain constant throughout the life of the WF then I'd suggest binding it to a WF container when the doc is first created and then working with that value.
    Hope that helps,
    Mike

  • Data Persistence

    Can i specify persistence location in MI client.
    I want my data persistence to be on a central server.
    Then to synchronize data from central server to R3.
    client1 client2  client3
          central
          server
    Because data dependency exists between clients.
    Can anybody throw light on this?

    hi,
    For the data persistence needs of a mobile client applications, MI offers the Persistence API which is located in the packagecom.sap.ip.me.api.persist.*.
    Storage implementation for this concept is a black box for application - it is storage independant. The Persistence API let you store, change, delete and query data. The storage medium used and the technicality of its access is entirely transparent to users of the Persistence API. The MI uses 'bridges' - one for every storage type - to access the physical storage. The bridges dynamically create the necessary statements (for example, SQL-statements to access a JDBC databases) to access the data.
    The Persistence API can store data on databases as well as on the file system (that means via standard Java serialization). The currently activated storage type is detected automatically by the MI at runtime. Applications using the Persistence API therefore make best use of the current device features (that means storing on the database if it's there and doing without it, if it's not there).
    What ever you store in your client is physically stored in your R/3 System only. your client will have only instances of that data objects.
    Even if you use multiple clients, and if you have changed data from any client (say client2), when you do a sync on Client 1 during your next logon, delta-determination takes place. The data you updated from Client 2 gets reflected in Client 1 also.
    Hope this enlightened you!
    Regards,
    Ak.
    PS: Don't forget my points if this helps.

  • Data persistence using SQL/J

    Hi !
    I am trying to achieve data persistence using SQL/J.
    The env / tools that I am using are WLS 4.5.1
    Oracle 8i, SQL/J.
    SQL/J works fine with the two - tier applications but with WLS the connectivity is not been arrived at.
    Any help would be wewlcome.
    Thanks,
    Archana

    Are you using an Oracle JDBC driver in WLS or not?
    (1) If the answer is no, then you should replace:
    oracle.sqlj.runtime.Oracle.connect(<url>,<user>,<pwd>);
    (and similarly Oracle.getConnection())
    with:
    import sqlj.runtime.ref.DefaultContext;
    <load JDBC driver, if necessary>
    DefaultContext.setDefaultContext(new DefaultContext(<url>,<user>,<pwd>,false));
    (2) Actually, forget (1): in the middle tier you should never use a default context at all (every thread must have its own connection context):
    DefaultContext ctx = new DefaultContext(...);
    #sql [ctx] { ..SQL statement.. };
    (3) If you do not use an Oracle JDBC driver, then say in your sqlj command line:
    -profile=false
    (this omits Oracle customization and makes the .ser file smaller)
    Also, you only need runtime.zip at runtime, anyway. And for non-Oracle JDBC drivers you can remove the whole oracle.* hierarchy from runtime.zip.
    (4) You do need to deploy those .ser files with the bean. Or use -ser2class and deploy class files with the bean.
    (5) Finally, it appears the WLS deployment tool has not heard about SQLJ - it may only understand .java files. In this case you have to translate all .sqlj files (and the .ser files) into .java files before putting these into WLS:
    (a) run SQLJ over the .sqlj source with the -compile=false option. This produces .java files.
    (b) you can also turn the .ser files into .java files by running:
    java sqlj.runtime.profile.util.SerProfileToClass -nc *.ser
    (issue the line without arguments to get an option synopsis)
    You'd want to do (a) and (b) via a Makefile and not do it by hand more than once.
    (c) During deployment time and runtime you must have runtime.zip (modulo comments in (3)) in the respective CLASSPATHS of the deployment tool and of the server.
    Sorry these answers were rather generic - I still could not tell exactly how you are failing in WLS.

  • Data Persistence in workflows triggered through interactive forms.

    I have read through all the threads regarding Data persistence and do understand that form data is stored in xml format. I still have the following doubt:
    For all the custom workflows we are developing for this client (using Adobe interactive forms as the UI in the workflows) we want to have local data persistence. Is there a model which covers data collected through the forms, including those data that are retrieved from SAP at the beginning of the workflow, and those data that are manually entered by the forms user?
    Scenario : <b>cost xx - approver 1
    cost xx + 1 - approver 2
    Form data filled, cost xx and hence a email goes to approver 1.
    Now, details changes and cost for that sales order increases to xx + 1.</b>
    Will my email still be in the inbox of approver 1?
    What if I want data persistence where from the initiation to the end of workflow the data should be persisted irrespective of the changes.
    Thanks,
    Kavitha

    Hello Kavitha,
    Your workitem will stay where it is unless you've specifically modelled it to react to a change. In standard purchasing you would use a change event triggered from ME22N or the likes, but unfortuantely I'm not in depth familiar with Adobe Forms so I don't know what happens when data is changed on a form once the WF has started.
    However if you want data to remain constant throughout the life of the WF then I'd suggest binding it to a WF container when the doc is first created and then working with that value.
    Hope that helps,
    Mike

  • FPGA Data logging

    Hello
    I m using a CRio9074 and NI9215 module. I implement the exmple for fpga data logging given at http://www.ni.com/white-paper/11198/en/.
    I 've just conected a DC signla one channel and the program does not show anything or noise. I attach the project. Can somebody help ?
    Thanks
    Attachments:
    Fpga_Daq.vi ‏41 KB
    RT_Daq_log.vi ‏125 KB

    Hi user,
    do you get any errors while the program runs? Did you debug it?
    Where is your data saved? I hope you don't expect the cRIO to save a file on your (Windows?) PC harddisc…
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Host to FPGA Data Transfer

    I need to transfer speed measurements from Host program to FPGA target program.    Can anyone tell me how I can do this?  Thanks

    Hi Edwin21,
    I hope you are doing well! The best way to transfer data would be to use DMA FIFO's. You can find great information in LabVIEW Help. Also, this Developer Zone article could help:
    Using DMA FIFO to Develop High-Speed Data Acquistion Applications for Reconfigurable I/O Devices
    Adnan Zafar
    Certified LabVIEW Architect
    Coleman Technologies

  • Best way how to write FPGA data in rt cRIO system in tdms file

    Hej,
    I am struggling to write measured data from an analog input (NI 9215) sampled at up to 20 kHz to a tdms file in the rt system (crio-9022). I just need to save several periods of 4 arbitrary analog signals at frequencies between 5 Hz and 1KHz. So storing up to 50k values should already be enough.
    I use a high priority and a low priority loop. First I tried to adapt the example from the "Getting Started with CompactRIO - Logging Data to Disk" (http://zone.ni.com/devzone/cda/tut/p/id/11198). But when I used this in my high priority loop (running at 1ms), the loop runs out of time and the rt system becomes unresponsible. If I change the number of elements to write (the number of elements to wait for in the fifo read block) it becomes better, but still data is lost because the loop finishes late.
    So I was thinking to create a RT fifo and to store all the values from the measurement first in this memory inside the high priority loop and then write the values to the tdms file in the low priority loop. This time I used the read/write fpga block instead of the FPGA fifo block. It was already working better but writing the files to the tdms file took a lot of time since each value was read and written to the tdms file individually. Unfortunately I could not find a possibility how to write the whole rt fifo to the tdms file at once. Is there a block available or is it possible to create a big array first and then write the data to the tdms file at once? My code I tried is in this second picture.
    I hope someone can give me some tips which method should be better for my project and a hint what I did wrong or what I can optimize. I stucked for days now on how to save my measurements on the cRIO system.
    Thank you very much in advance. Have a nice weekend.
    Best regards
    Andy
    Solved!
    Go to Solution.

    HiXiebo and Christian,
    thank you very much for your answers. Actually, my high priority loop is much slower. I run it with a maximum loop time of 50us = 20kHz or slower, depending on my Signal I want to measure. So my data producing rate is maximum 4*8*20k=640 KB/s. My low priority loop runs at 2ms to 5 ms (much slower then the high priority loop), since I am doing just some simple math calculation there and control the front panel in this loop.
    I understand that it is much more efficient to write blocks of data (e.g. 1024*32KB instead of just 32KB) to a file with TDMS. But is it also the same for a queue or RT FIFO, i.e. does the block size of the data chunks also matter for the queue and RT FIFO?
    @Xiebo: I understand that caching the read data from the FPGA in the high priority loop first will improve my code. But I do not know how I can cache the data I read? I was thinking to do it with the FPGA FIFO, but the FPGA read/write blocks seem to be faster for me and I do not know why? Can you tell me a block/vi to cache the data I read from the FPGA or maybe even an example?
    @Christian: This NI_MinimumBufferSize property looks exactly what I was looking for. But my question is now if I should put the tdms write VI's in my high priority loop and read directly from the FPGA FIFO buffer to the file as it is done in the Disk logging example at http://zone.ni.com/devzone/cda/tut/p/id/11198? Or is it better to read the data from the FPGA via the FPGA read/write function, write the data to a RT FIFO in the high priority loop and then write the data with the  NI_MinimumBufferSize property option to the tdms file from the RT FIFO in the low priority loop?
    In summary, I am still unsure if the FPGA FIFO or the FPGA read/write function with a queue or RT FIFO is better for me and how I can create a cache to build chunks of data blocks to write.
    Thank you very much in advance for your help.
    Best regards
    Andy

  • Adobe Acrobat 9 Pro - Form data Persistence - Worksheets Education

    Hi
    I am currently using this application to create Worksheets - so clearly an educational context. I create a worksheet using MS word, convert to a pdf file and create editable text fields.  The E-doc is then uploaded on the school's VLE as a 'Read Only' document. These can be downloaded in class or at home.  process works fine if learners answer the questions usng the mainly multiline text fields and print them out immediately. As far as I am aware there is no way of 'binding' the learners answers to a data source within the file (part of the file itself) so that they can upload to the VLE their answered worksheets with their text 'persisting' in the doc, or is there without going through the advanced processes of 'form Submissions' using on line servers etc.  Maybe this is not the way pdf files are meant to be used?
    Hope you can help / clarify

    If you're saying that you want users to be able to partially complete the form, close it, and come back later and retrieve a copy from the server to complete it, then that would require submitting the data back to the server, which would then have to store the data in a database of some sort. When requested, the server could serve the user a form with the saved data populated in the fields. Setting this type of system up is not a simple matter.
    A much simpler approach is to Reader-enable the blank form. The user can then download it from the server to their machine and use Reader to fill-in and save the form. They can re-open it at any time and continue filling it in.

  • What's the solution about data persistence in BPM?

    In some cases,data of completed processes need to be stored and reused in some applications.But in current BPM,I can't find where the data is stored and applications can't find interfaces to acquire these data.For example,if I want to check last month's or season's finished processes including detailed data in a Web Dynpro UI,what's the solution?

    Hi,
    not sure what exactly you are looking for. NW BPM offers a BW integration which allows you to do reporting about such things. Some information can be found here:
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00b072ec-8ae3-2c10-1b96-e2af98b174b3?quicklink=index&overridelayout=true
    Besides that there is a public API introduced in BPM 7.30 which allows you to access data via java api. But I guess the apis offered by the public API are not suited yet for your use case as it does not provide such advanced search capabilities.
    Best regards.,
    Stefan

  • Can flex 2 have local data persistence?

    Guys, I am just checking RIA development environments. I am
    aware the flash has local shared objects as a way of storing data
    on a local machine. Is this available in Flex 2? It is essential
    for the appication I wish to write. Any help welcome.
    Best
    Steve

    Tracy,
    OK that is extremely useful, we do a lot of MD5 already. If I
    may, could I pick your brains for another issue I am grappling with
    on this potential flex project? Is there any way a flex component
    could be built that was associated with a particular file type. So
    that whenever such a file type was offered from an HTML page, this
    component automatically processed it? This would be a parameter
    file that the other parts of flex application would utilise.
    Very Best
    Steve

  • EJB Web Dynpro  - Data Persistence

    What is the recommended way for connecting to oracle database and adding business logic to web dynpro application.?
    We were researching on the CMP entity bean but found that CMP entity bean in SAP netweaver can be
    configured only to connect to the default database. Its too difficult for my consious to digest why anyone will connect only to the default portal database. Is there any way that we could work on CMP entity beans and connect to an external datasource in EP 7.0 ?
    Your valuable feedbacks would be highly appreciated...

    unlike others, I dont think it should be an issue in connecting to an external data base as long as you can telnet / ping to that db server from Portal.
    All you need to create is a JDBC datasource from portal to that database and use that datasource in your application.
    It should be pretty straight forward.
    Did you try this?
    The reason i know it should work is, i am working on MDM and from portal i create a datasource to connect to MDM database for one of the application provided by SAP and it is the standard procedure defined by SAP to create datasource and consume it.
    I just saw, yardon has provided links to help.sap on how to create datasource, so you should be good.
    Let me know if i need to explain more. I can guide you how to create datasource in Visual admin.
    Good Luck
    Regards,
    Nitin
    Edited by: Nitin Mahajan on May 1, 2009 6:50 PM
    Edited by: Nitin Mahajan on May 1, 2009 6:50 PM

  • Shockwave data persistence

    Can anyone point me in the right direction?
    I have a large training program which I am moving online. I
    will therefore need to break it up into a number of different
    shockwave files. The user will log in to the program but how do I
    make their data persist between the different shcokwave
    files?

    You may use
    setPref() and
    getPref() for example.

  • Data persistence when ios app is updated

    I'm saving files in AMF format in the application storage directory (app-storage:/). This works great, but the fles get deleted when the application is updated.
    I'm dsitributing the app internally in the company via our intranet (ad-hoc). The users do not delete the app, they simply redownload the new version.
    Where do I have to save the files in the iOS device so that they are not deleted when the application is updated?
    Thanks

    I know with shared objects if you install an app, save some data then install a newer version via flash all data is erased if you however update the app through the app store the data is saved, for your situation this is not possible since its an internal app. You can save the data externally to a server this way every time the app launches it could check for the correct data but of course this is much more troublesome and time consuming.

Maybe you are looking for

  • Error -48, please help!!

    I HAVE UPDATED TO THE LATEST VERSION OF IPOD 60G AND WINDOWS XP. IGET THE FOLLOWING ERRORS "Itunes.exe corrupt file \Photos\Thumbs\F1019_1.ithumb is corrupt and unreadable Please run the CHKDSK utility" I have run CHKDSK to no avail. " The Ipod (Ipod

  • How display result set of a PL/ SQL function call in a dialog box

    Hello, I am calling a PL/ SQL function from Apex, which returns - List of varchar. In Apex, it should show this list of varchar and "Yes" and "No" buttons on a message window. Can you please suggest a way to achieve the same. Thanks, Girish

  • Creating new field in a communication structure

    Dear All, I am trying to create new field in a pricing communication structure in the ITEM level. I followed the below mentioned steps to do this. 1. Added MATWA (Material Entered - Material determination) field in the structure KOMPAZ. 2. Activated

  • Calling another program from a Dynpro screen

    Hi, We have a custom screen to create an equipment. When users click on Save, the screen flow goes into BDC and creates the equipment. After the equipment is created, we need to execute another custom program to create Measuring points. How can I cal

  • Decimal field in Adobe interactive form

    I am making one report in which i am displaying decimal field , if that variable contains value then there is no problem but when the value is null then it is showing 0.00 so please suggest me any method by which i can remove these 0.00 and the space