Data transfer from FPGA to RT in cRio

What is the best method to transfer a set of data in an fpga to a target of RT (using a sbrio).

I have the FPGA generating fixed size datapackets (essentially a group of data), it generates these packets of a fixed size (128octets/package) sent My FPGA asynchronously to the RT code.  The packest are generated at a rate of 0-1000 per second.  In traditional labview, it would be a simple architecture of producer consumer with the cluster of queue type.  I have a few ideas for FPGA, but want to use the recommended architecture.

Resources or ideas are welcome.

Yes, you will need to send the items one by one to the host through the FIFO. You can configure the type of data FIFO to be long until 64-bit (and half of bits-pack to your package in this data type). Or, you can keep the long FIFO data type of 1 byte and send 128 elements by package. In this case, you could do something like that on the host computer:

This would avoid host to pull elements of the FIFO, until the whole package is received.

Tags: NI Software

Similar Questions

  • Data transfer from XP to new computer running Windows 8

    What is the best method to transfer the data from my old computer with XP to my new computer Windows 8?

    What is the best method to transfer the data from my old computer with XP to my new computer Windows 8?

    Copy and paste the files files you need.
    To copy the profile data you can use, windows Easy Transfer Wizard

  • BlackBerry Z10 organizing data transfer from my Z10 and Q10 to my curve 9220

    Hi team,

    I want to transfer my contacts from Z10 and Q10 on my device inherited from curve 9220. I have already backed up my data using the BlackBerry link and I know that my curve is not compatible with BlackBerry Link. Can you give me a step-by-step procedure on how to synchronize my contacts from my BlackBerry 10 devices to my Gmail account? I intend to add my Gmail account on my device of curve and I sync my data out there.  Thank you for the quick response on this subject.

    See you soon!

    Lucena

    Even with an older BlackBerry which doesn't BB10 you can use the BB link to transfer information.

    http://docs.BlackBerry.com/en/smartphone_users/deliverables/47561/mwa1354393789617.jsp#mwa1354393854...

  • Data transfer from matlab to labview

    I'm having a problem importing data I save with Matlab in Labview. From the Web site of NOR, I gathered these information:

    1. To record a vector or a format ASCII of Xin matrix with delimiter to the tab, enter the following in the command window, or m-script file in the MATLAB® environment:

      >>SAVE filename X   -ascii -double -tabs
      

      This creates a file whose name is the name of the file, and it contains the X data in ASCII format with a tab delimiter.

    2. ' Import the file in LabVIEW using reading of spreadsheet files VI located on the programming "file IO palette.

    However, when I have something like an m x n matrix import in labview, I get a m × (n + 1) matrix, with the additional column is all zeros. This should be a simple answer... I know that I can remodel matrices, etc., but it seems as if it could be avoided. I can't seem to understand and am pressed for time. Any help would be appreciated.

    How big are the files? Simply remove the last colum using "remove table" is probably the simplest solution.

  • Data transfer from the camera to the Tablet

    I am considering buying a HP Slate & I am wandering is the best way to transfer photos from my digital SLR camera Nikon to the Tablet, also, which is the best access point for photo editing.
    Thank you very much

    Stream can use an otg memory card reader.

  • data transfer from windows 7 to windows 10 laptop

    I need to transfer files from my old laptop to windows 7 windows again laptop 10. What is the best way to achieve this?

    What is "best" depends on your configuration. Some people do so via a network, others with a flash drive, others by putting the old drive in a USB enclosure and connect it to the new machine.

  • BlackBerry Q10 organizing data transfer from my Z10 and Q10 to my curve 9220


    You other thread replied.

    Please don't double post and cross post in the forum. Once is enough.

    http://supportforums.BlackBerry.com/T5/BlackBerry-Curve/transferring-Organizer-data-from-my-Z10-and-...

  • question about data transfer from the computer using LAN network Analyzer

    Hello. I had a problem.

    I download the driver of instruments and settings S measured by the Rohde & Schwarz site.

    When I started using the measure, the error in the parser to network RSZVB-14 shows that

    «Distance error:-222, "data out of reach,: FREQTAR1»»

    In labview, had not any waveform.

    Need your help.

    Zinou

    Hello

    If you use RSZVB-14, it has frequency range 10 MHz - 14 GHz. example was written for models that start by 300 kHz.

    Just change the Start frequency to 10 MHz

    See you soon,.

    Milo

  • BlackBerry Smartphones Organizer data transfer from my Z10 and Q10 to my Curve 9220. Need help.


    Simply open your settings > accounts > your gmail account and turn on your synchronization comes into contact with the settings.

    Verify your Gmail account on the webmail of connection from a PC, and that all of your gmail contacts were synchronized to the server.

    Then, set up the Gmail account on your 9220 and in so doing, enable synchronization of gmail contacts.

  • Table data transfer from one page to another page in the OFA

    Hi all

    Could you please help me with the following requirements. I'm transferring the first records of the selected page to the second page, but running in question.

    I have 2 custom OAF pages:

    1st Page is the search looking for an invoice and invoice page, the user can select "multiple entries" (her table with a multiple selection area) and click transfer.

    Internally, the button calls the setForwardUrl method and call the 2nd page, where the second page contains region Advacned table to display the records selected the 1st page.

    Because the user can select more than 1 record in the search box on the first page, I want to hold all the rows in a table of Hashmap with integer index and transfers them to the 2nd page. Here is the syntax of hashmap that I use:

    map of java.util.HashMap < Integer, InvoiceRow > new < Integer, InvoiceRow > = (); Here InvoiceRow is a CLASS structure personalized with InvoiceNumber and as variables inside customer number.

    But if I passed the HashMap above to the setForwardURL method, the JDeveloper throw an exception indicating that the message "setForwardURL cannot invoke".

    Could you please help me how can I transfer the first page of records multiselected on the second page?

    Enjoy your time.

    -Vincent

    Mohamed, the approach that I told you can try below way:

    public String getSelectedData()
    {
    String whereclause = "(";"
    String whereclause1 = "(";"
    XXCONTAINLINESVOImpl vo = this.getXXCONTAINLINESVO1 ();
    OAViewObject vo = (OAViewObject) getXXDPECONTAINLINESVO1 ();
    System.out.println ("debTEST" + punload);
    Rank [] sumVoRow = vo.getFilteredRows ("Select1", "Y");
          
    System.out.println ("deb multi select test" + sumVoRow.length);
    If (sumVoRow! = null & sumVoRow.length > 0)
    {
    for (int i = 0; i)< sumvorow.length;="" i++)="">
             
            
    String wipEntityId =
    sumVoRow [i].getAttribute("LineId").toString ();
              
                
    WhereClause = whereclause + sumVoRow [i].getAttribute("LineId").toString () + ",";
                 
    System.out.println ("deb multi select test" + whereclause);
            
    }
    }
    If (whereclause.length () > 0 & whereclause.charAt (whereclause.length () - 1) == ',')
    {
            
    B StringBuilder = new StringBuilder (whereclause);
    ("b.Replace (WhereClause.LastIndexOf (","), whereclause.lastIndexOf (", ") + 1," ")");
    WhereClause = b.toString ();
    whereclause return;
              
    }
    System.out.println ("deb where test clause" + whereclause);
           
    whereclause return;
    }

    This method will return the value as: whereclause = (111,222,333) then put it in a varibale session and go to method of CO below

    ----------------------------
    public void processPOData (String wherclause)
    {

    String query = getXXDPECONTAINDATAVO1 () .getQuery (); Old stringbuffer queryStringBuffer = new StringBuffer();
    String newwhereclause = "LINE. LINE_ID IN "+ wherclause;

    System.out.println ("NEW DEB where clause:" + newwhereclause);
    StringBuffer stringbuffer = new StringBuffer();
                          
    StringBuffer.Append ("SELECT rownum LINE_NUM, A.* (" ");
    StringBuffer.Append (Query);
    StringBuffer.Append ('where');
    StringBuffer.Append (newwhereclause);
                       
    ViewDefImpl viewdefimpl is getXXDPECONTAINDATAVO1 () .getViewDefinition ();.

    viewdefimpl.setQuery (stringbuffer.toString ());
                       
        
               
    System.out.println ("DEB NEW QUERY TEST:"+stringbuffer.toString()); ")
    getXXDPECONTAINDATAVO1 () .executeQuery ();
              
    }

    Let me know if stil you face to deliver you

    Thnaks

    Deb

  • data transfer from one table to another and by generating a primary key

    Hello experts,

    Well, I have 2 paintings and I need to move columns in one of them.
    the problem is state that the primary key of the second table has to go in a column in the first table, and I generate a primary key in the first table as well. How to generate the primary key

    You can insert the value of key primary agent_id from agent table via before level trigger for insertion line. The agent_id value can be generated through a sequence.

    the trigger code can be as

    create sequence seq_agent;
    
    create or replace trigger trg_agent_id before insert
    on agent
    for each row
    declare
       v_agent_id number;
    Begin
       select seq_agent.nextval into v_agent_id from dual;
       :new.agent_id:= v_agent_id;
    End;
    

    So when will pull you insert tasks than this agent_id value will be added. And you will not get error

    Twinkle

  • Data transfer from Mac to Mac

    Hello, I just bought a new Mac desk top and I'm trying to move the contents of my old Macbook using the Migration Wizard and the use of the capsule.  He says that 55 remaining hours ago! So my question is, connecting two computers via Thunderbolt would be faster?

    I don't know where the capsule is inserted in this the fastest port it's ethernet (gigabit).

    Mac to Mac thunderbolt should be much faster... but it takes time to move files, and if the laptop has a rotating disc... Ethernet is just as fast.

    Wireless is the worst...

    And if your laptop is missing ethernet then maid in love at first sight are excellent. However the thunderbolt cables are ridiculous price. It can be even cheaper to buy a bolt of lightning for the ethernet card and a connecting cable ethernet... that are a little money... all this, it's cheaper than a cable long enough thunderbolt.

  • Slow data transfer between computer and HP Laser Jet 1320n

    I recently bought a laptop with windows 8.1 and successfully connected to 1320n times via LAN and wireless networks. Problem is when I try to print .pdf files, data transfer from my computer to the printer seems very slow and that's why it takes several minutes to print 10 pages. On the print window of my system, it tells me the data to transfer a file from pdf page 14 are about 75 MB.

    My questions are:

    1-is-normal this size of data?

    2. What can I do to increase the transfer speed?

    Thank you in advance.

    H.A.

    Thank you very much for the reply.

    I hae has solved the problem by installing the drivers that are on the product page (I was using the Windows drivers when I had the problem). Everything works as it should now.

  • PXI data transfer between OTN and FPGA

    Hello

    I have a DAQ card in my PXI and a FPGA 7813R map.

    The problem is that I send sample waaveforms of the data acquisition card to the FPGA card (which only has digital i/o) to launch my control on the FPGA. When I generate a sine wave of 50 Hz in the OTR to simulate a measured signal and send it to the FPGA through the controls in the Panel before (http://zone.ni.com/reference/en-XX/help/371599G-01/lvfpgaconcepts/pfi_data_transfer/) the signal happens on the fpga is much slower than 50 Hz indicating this folding is (it takes too much time to send the data). I tried to use this method of data transfer because my control requires only the more recent data, but it also has a phase lock loop that requires the data arriving at least resemble the original signal. Another criterion is that the control to data more up-to-date as possible. I know there is another option of the use of DMA FIFO, but I use it because I thought it would take more time to send the data, because each value must be sent.

    My questions are:

    I go about it the correct way? I know that there is the FPGA cards with analog inputs. I buy one it is because I have a large amount of differential analog inputs (20 +)

    Is there a quick way to transfer data to the FPGA. (I have converted all the FXP data before writing to the FPGA)

    Hi Jagwa,

    You should not have to synchronize the RTOS loop that written information and the FPGA VI which is read.  Instead, you can simply use a FIFO.  In RT, you can write all the data points for the FIFO, and then you can extract them one at a time on the FPGA VI and use them as needed to control functions.  In this way, the only time you need to worry about stopwatch the FPGA VI to get out the data to mimic 50 Hz.

    Kind regards

  • variables of user-defined data transfer

    Hello

    I use the etherCAT 9144 chassis and is only supported by this hardware FIFO range target. After a search, I realized that the only way to transfer data from FPGA to the host by using user-defined variables. But these variables do not support the notion of FIFO. So which is the best practice to transfer data after measures (provable 10 Hz measurement of 15 values) to host VI?

    Thank you

    As mentioned, the 9144 only supports the analytical engine.

    In regards to what you do, it really depends on the entire application. For example, what is the master? Are there other systems at issue here? Etc. It's a good read, in general, although it might not help this second right: http://www.ni.com/white-paper/14151/en/

    A high level, you need to decide what you need. If you have need for deterministic communication, low-latency over long distances from a RT controller, the 9144 is probably the right choice. If you need low latency + streaming over short distances to a RT controller, you should look into the RIO MXI chassis. If you need mainly not deterministic low speed (10 hz) data mixed with low flow continuous over long distances to a windows or host RT, then ethernet expansion rio (9146,7,8,9) is probably the right choice. If you need high speed continuous with low control latency over long distances to a windows or RT host, you need a full cRIO controller. Based on what you've posted so far, its uncertain is the right person.

    Lets say you're stuck with the 9144 for now. As you can easily hit 1 kHz scanning cycles, it should be perfectly possible to data 'stream' to 10 Hz. If you run the scan at 1 kHz engine, then you are 100 x oversampling. Where it gets complicated is this requirement of sync. By default, acquisition input/output is synchronized to the clock of the scan (and you can see when the clock of scan is set by a knot of e/s FPGA). However, you can take complete control of a module in the FPGA and read inputs and outputs at any time if you please. In other words, you can set up so when DIO0 goes high you immediately enjoy all the values of AI 15. You can then transfer these values HAVE switched to the host using the user-defined variables.

Maybe you are looking for

  • Very slow very quick start

    Back once again, thanks for all the help you gave me! HP e9260f, win 7 pro 64 bit, also has xp mode. i5 - 750, 2.67 ghz. 8 GB of ram. Two questions... 1 machine went from a boot for about 20 seconds 2 minutes, without reason, nothing has been install

  • IAM having problems reading my email (hotmail)

    I've been looking at different sites on the net and when I go back to my hotmail site to read my mail it just won read the particular mail

  • How to stop others see that I send an email to. Non-reciepients?

    I have outlook express running on windows xp and I waqnted to prevent others to see that I'm sending emails rather than send them individually.

  • lock PC to login screen

    When I connect, the computer hangs, the cursor is able to move but ctrl alt del does nothing until the pc to 'wake up '.

  • Install HP Officejet 4630 Software &amp; Drivers, etc.

    Hello! I recently bought a new printer and went to install the software, but to my dismay, that he could not be installed because my version of Mac OS X 10.5.8 and it is must 10.6. So, how can I use my printer if I can't download the software & drive