FIFO of DMA beteen switching channels after sends FPGA

Dear community,

I read 8 AI with the CRIO high frequency corresponding to 8 sine waves of resolvers. Also, I do operations in the FPGA and passing to the RT host 2 FIFOs. One is called resolvers with these 8 channels and the other is called speed and accel. who has 12 channels with 4 angular positions, 4 speeds and accelerations 4 in that order. When I read the two FIFO with the host I wait for the PEPS have enough elements. I also put the time-out of the FPGA-1 to avoid problems altought I know very well what to select. The problem is that when I read with the host, the channels do not keep the original order I used to assemble in the FPGA and also it is possible to appreciate swithings between channels every few seconds so that the information is not uniform and robust. It is not possible to use the information if the channels do not change their relative position.

I have ideas to solve this and incrementing the RT frequency because it goes to the maximum of 60 Hz, where I expected much more.

Thank you very much.

Concerning

Enrique

EnrikDS wrote:

Hello

attached are two images to explain what settings I use to configure FIFO. We can concentrate on speed FIFO:

-Depth confgured to: 120000

-Number of items in a read statement: 1200

The FIFO can also be configured in the Project Explorer, in fact, I'm not sure if the depth setting configured in the block diagram means the same as the parameter

"Asked number of items" that appears when you double-click in the FIFO to the Project Explorer, the value is 4095. Other values are:

-Target to the host

-Data type: FXP (64-bit, 32-bit)

I hope this helps. Thank you very much for your support.

Enrique

When you configure the FIFO since the project you define how much space FPGA to be used for the FIFO for buffering before data are duplicated in the FIFO of RAM defined by the property node.

Have you tried to set the expiration time of the FPGA FIFO entry to 0, that would be a FIFO with loss.  You can use the FIFO. GetNumberofElementstoWrite to ask how much space is in the FIFO and write only when you have 8 to 12 free items.

Tags: NI Software

Similar Questions

  • Firefox 4 does not save form data after sending form and pressing the previous button

    Firefox 4 does not save form data after sending form and pressing the back button... It's very annoying that it erases all data. It worked fine on FF3.

    See:

    • Firefox or tools > Options > privacy > History: "don't forget to search and form history."
  • BUG? Out of multi channel analog Flips which channel it sends

    I a program that channels acquires 4 analog inputs, 2 analog output channels to send and acquires 2 input channels of the counter (on a separate card)

    My problem is that the analog output flips which channel it outputs. I built a table and my waveform desired ao0 at the top of the table build entry, then I drag the table of construction down to make entry as a second entry and I plug my second wave this entry. I noticed strange things on the scope. The program worked correctly, but repeatbly.

    The analog output channels the following steps

    channel 0 is sent to a level of zero, then for 1 data point a level 5. It comes to trigger a signal generator to the output of a wave of fishing 1 Hz, 1Vpp, 2cyc

    1 channel is sent with a square wave to trigger a camera to take a picture for each pulse.

    Step 1: Open SLOSHTABLEV4.vi

    Step 2: run.

    Note: the channel impulse is sent the trigger generator waveform causing the waveform to generate each pulse
    the trigger channel ends as high. to 5 volts.
    Step 3: Run simpleao.vi and set both channels to zero

    Step 4: See Re running SLOSHTABLEV4.vi that flips out what channel it is sent!

    There are three forms of production,

    the right one
    one where the waveform relaxation is camerapulse
    one where the waveform trigger is activated from the beginning.

    The solution was to update the drivers. Ugh!

  • Outlook Express keeps coming out of the emails in the Outbox even after sending e-mails to friends.

    Outlook Express keeps coming out of the emails in the Outbox even after sending emails to friendsthen continues to send emails over and over again.

    This occurs even after the email was deleated from Outbox. So that the people that I send to obtain email 20 - 30 times instead of only once.

    Can someone help me solve this problem? I have Microsoft XP Professional on my computer.  Thank you.

    A common cause of this is to have your program configured antivirus to analyze the messages, including outgoing mail.  If you can completely uninstall the AV program, and then reinstall it without the analysis feature mail.  If you can't do that, turn off scanning messages.  You will be just as safe.

  • HP Photo smart 7520: how to switch color after setting the black HP7520 only

    How to switch color after setting printer black HP7520 only

    Hi junosa,

    I'm glad to hear that you finally found the color prints you need.

    When you change the printer setting with the method, you suggested that he change the parameters by default for the printer all of a work are printed with these settings unless you make changes just before printing. If you what to adjust the setting before each print job uses the method that I provided in my first post answer. That's all what you find easiest.

    With regard to the button apply grayed, apply the button becomes clickable when there was only a modified setting that needs to be saved.

    Please click the "accept as Solution" and the "thumbs up" button up on top of my first response above and other similar issues may find the easiest solution.
  • Direct mail disconnects after sending an e-mail and then connect without a restar the computer what is the problem

    Direct mail disconnects after sending an e-mail and then will reconnect until the computer is restared why?

    Hello

    ·        Is it limited only to live mail?

    ·        It's a Windows Live Mail client?

    You did changes to the computer before the show?

    Check the status of the question in the clean boot:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: after a repair, be sure to configure the computer to start as usual as mentioned in step 7 in the above article.

    You can also post your question in the forum of Live Mail for assistance:

    Windows Live Mail Forum

    http://www.windowslivehelp.com/forums.aspx?ProductID=15

  • always check for all messages after sending a message

    Windows Mail is always check for all messages after sending a message - what is long because I have several folders subscribed, etc.

    Is it possible to set up Windows Mail is not to do an audit of all accounts mail when sending a message?
    Thank you

    Its not supposed to do.  If you just send the message, it must go in your Outbox and leave.  Try to compact and repair the database and see if that has an effect (see www.oehelp.com/WMUTil/).

    Steve

  • I can receive, but not send. Error (0 x 80004003) occurred after sending photos from Picasa.

    I get the following error in WLM: 0 x 80004003 while trying to send messages.  I can receive, but not send.  Error occurred after sending photos from Picasa.

    Delete the emails in your Outbox and close Windows Live Mail. Open Windows Live Mail and send a test message to yourself. Is the problem solved?

  • After sending an efax, how can I get a hard copy that the fax has been sent? cc = us

    1. product name: Photosmart 7510

    2. operating system: Windows 7 Home Premium

    3 Error Message: No.

    4. the changes made to the system before the problem has occurred: no

    After sending an efax, please submit instructions on how to copy a paper reflecting the date and time that the fax was sent. Thank you.

    What you can do after wearing the efax menu on the printer display panel, press the icon

    "Settings". From there you can turn on delivery confirmation. This function will display a page that contains information such as the completion date and time for the number of attempts to send the fax, the fax and the number it was sent to. It should look like this:

  • How can I switch to after the effect of the Italian language English?

    How can I switch to after the effect of the Italian language English?

    Hello

    Please see change the language setting of the Adobe Creative cloud applications if it a CC license.

    Otherwise follow an Adobe product for another language or version of trading platform

    Hope that helps!

    Kind regards

    Sheena

  • Change of color after sending. File RAW of LR4.1 change in SP6?

    I have worked with LR to PS changes for some time - beginning LR3/PS4 etc etc - and never a problem with the display in LR color changes and posting in PS. I recently installed SP6 Master Collection (just before had been editing files .raw LR4 in PS5)- and after sending the .raw (.orf) in PS6 image file looks like someone had moved a cursor "Tint" on ten units to green. I looked in every issue of space recalibrated, color, check a number of forums and tutorials of LuLa LR4 and LuLa colorspace tuts as well - and can not find a solution. If I export the file as an original .raw - and then open in PS ACR, for example, through the same color shift is displayed. I can send the LR4 TIFFs for edit in PS6 without problem. I can export the .raw to TIFF file - and it looks good in PS. I updated all the relevant software this afternoon. I use a Windows 7 machine/12 GB of ram/Core i7. Help/comments/suggestions/guidance would be much appreciated.

    For me, are the three communities, this file is located:

    Based on this, I found the file I needed was at the location of LR4.1, but NOT in the program data / Camera Raw loc. (seemed to have only one tenth of the profiles in the loc. LR4 records) - then I copied the file from the first in the latter - there's now "camera Standard" as a camera in ACR7.1 profile option.  Therefore, it seems to work now. Thanks for your help on this a lot. I don't know what's your OS, but I do not have a situation of "all users".

  • Is _ there a way to adjust orders key for switching channels in curves?

    Is _ there a way to adjust orders key for switching channels in curves?

    By that I mean < command > + 1 for cyan, < command > 3 for etc. cyan + magenta etc as Photoshop CS3 rather than < option > 2.

    It's got to be a way under Edit-> keyboard shortcuts - but I can't!

    Thank you

    Hugh

    Hi Hugh,.

    You are in the right place for CS5. For CS4, you will need a plugin option (let me know if you need the location).

    Kind regards

    Steve

  • Number of DMA FIFO of items to read mismatch in the FPGA and RT

    Hi all

    I use myRIO, LV14 to run my application.

    Request: I have to continuously acquire data via FPGA and host RT process once every 2000 samples are taken. I use DMA FIFO (size 8191) to acquire data, use timeout property in the FPGA to eliminate the buffer overflow. I had followed cRIOdevguide to implement this part. An excerpt of what I put in place is attached. All code runs in the SCTL at 50 MHz.

    Question: Two or three times I met with this strange behavior, the FPGA FIFO gives continous timeout and the RT is unable to read the FIFO. The number of elements to set the property in the FPGA VI gives 0 showing that FIFO is full and no more can be written, but the RT, remaining items gives 0, so it is reading 0 (none) elements.

    Solution: I put a case where I'll write to FIFO (under the code) and if the number of elements to write is different from zero. It seems to work fine, from now.

    What confuses me, is that my FPGA VI said that FIFO is full (number of items to write 0 = FIFO) and gives a timeout error, but RT VI said that number of items remaining in the FIFO is 0 and therefore no data is read. No idea why this is so? My RT and FPGA VIs continues to run, but with no gains or to read data.

    A few minutes after you run the code, I've seen this behavior. No idea why this happens? I try to reproduce the behavior, and will update if I meet with her again. Sorry, I can't post my code here, but I guess the code snippets to explain some extend.

    Thank you

    Arya

    Edit: Even with the mentioned workaround solution, the problem persists, now that the FPGA written any of FIFO. And the RT VI is not able to read all the elements he sees 0 items in the FIFO. The FIFO continues to be in a State of timeout. So I guess that the problem is on the side of RT.

    Why it looks like you read from the FIFO even in two different places in the same VI, at the same time? If the lower reading throws the FIFO, it will never trigger the reset, which could lead to the situation you describe, I think (it's hard to tell from a few screenshots).

    Also, your logic seems too complicated. I immediately noticed that there is no reason to select the entry, the output of = 0 - simply use the 'equal to zero' output directly. On the side of FPGA, why you need check the number of items that you want to write? There's nothing wrong with writing in a FIFO that is already full. just the data won't get written.

  • Toggle Boolean / Switch successfully after VI runs

    I use a stepper motor that changes direction during execution.  I currently have a Boolean control that sends a digital output to the correct port on the controller to reverse the direction.  I do have, however, the Boolean value of the 'real' to 'false' or vice versa after each race, so the engine knows to reverse.  Is it possible to code this in my VI?  Basically I want my VI just to understand what the Boolean value is set to the "and" at the end of the switch of execution the value of the Boolean value to the opposite value.  If my code is needed it can be provided.

    Emily

    Sorry I don't have LV8.2, you could post a version recorded for this or my guess is that with the posted code there are a lot of people who could help you very quickly.

    Here is an example of the two methods I described.  The while loop with shift register is a bit more general, I use it when I want a value "remember" when I run VI again.

  • iPhone 7 weird noise ticking after sending message sound

    Hello

    I use an iPhone 7 for 4 days now and yesterday, I, after I send a message (using iMessager, Wechat or Whatsup), I started noticing a sound weird/click tick immediately after application. That weird noise resembles a small distortion in the enclosure which happens after some noise is played.

    Did anyone encounter the same problem?

    Thank you in advance.

    Best regards

    Ricardo

    Same here, but also after taking a screenshot. Shortly after the sound of the camera.

Maybe you are looking for