Synchronization between two periods loops FPGA

First of all, I appreciate the forums here and have read a lot of interesting topics. This is the first time I can't solve it with research and I hope for your entry.

Information:

I'm using LabVIEW 2009 f3, PXI-1033 with the PXI-7813R.

Problem:
In my FPGA program, I have two loops, where you need to run as fast as possible (has) and the second just quickly (B). Has turns 20 MHz to 40 MHz and B . These are for the two loops limiting speeds. B cannot run faster and Has should not run more slowly.
Loop has captures the sensory information and integrates data as many loops as indicated by the user. When completed, please send a trigger to B, which calculates the new position information and sends it to the machine. Only at certain times, B must achieve something and said nothing to the rest of the time.

I thought of two ways, but doesn't work for me.

(i) with the help of a Boolean trigger. As in a loop, the Boolean value of A can become true and switches to the next loop to false, B is not capture all the triggers and a 50% chance of getting the triggers and isn't perfectly synchronized.

(II) using the occurrences. Sounds very interesting, but these are prohibited between the periods differently loops.

I played with many scenarios, but may not understand proper. Someone at - it suggestions?

This seems to be a fairly simple producer/consumer scenario.

I would like to use a device worn FIFO to transfer data from the loop of producer (top) to the loop of consumer (bottom).

Depending on how often the producer generates data (each cycle or every nth cycle?) the case around the write FIFO structure will allow him to write only when your requirements are met.

The consumer loop reads the FIFO with a timeout of '0 '. When the FIFO is to expire, the consumer runs to the case which does nothing. When the FIFO does not expire, who processes the data and sends it to the side of Windows runs.

In my example, I used 2 structures of cases to illustrate the two different modes. In your code, you must use a single structure of matter.

There is no advantage to set a loop "sleep", even if no data exists on the FPGA. Because you are running in hardware and the non-profit CPU cycles these loops can operate simultaneously at no increase in the latency of a

Tags: NI Software

Similar Questions

  • measurement of phase shift between two periodic signals acquired

    Hello

    I don't know how to explain my problem, but I'll give it my best shot. I'm two signals from sensors in tension. Two periodic signals have the same frequency, but a different amplitude. Normally they have a difference of phase of 0 or 180 degrees. The thing I have to let labview to check is if the signals are completely in phase or out of phase (180 degrees) completely. I am acquiring the wizard scene DAQ in a while loop. Does anyone have an idea how I can do this?

    To summarize: are the two things I need to know

    -l'amplitude (maybe just pick max max min distance)

    -If both signals are moving in the same direction (when the two signals are in phase) or if they move in the opposite direction (counter phase) - the exact phase angle value is not so important

    THX

    Thanks for the reply. After a night to think about the problem, I came up with a home-made solution. I used the point by point max and min vi to calculate the distance from crest to crest of my signals. Then, I used the time derivative of point by point to calculate the variation of the signal of the two signals. If the signals are in phase (both are increasing or decreasing at the same time with the other), then the two derivatives have the same sign (accept on the summits, of which I have excluded from the comparison). If the signals are out of phase (when one increases, the other is decreases and vice versa) then the two derivatives are opposite in sign. According to this, I can get all information that I need. If anybody should know a better way to achieve the same result, please say, but to know that it seems to work.

  • Help the records removed from synchronization between two databases

    Hi guys,.

    I am new SOA and process management, so please bear with me.

    I created composite simple synchronization using two Dbadapters. A DbAdapter to share records and others to insert and update data in another database. My question is how can I detect deletions and delete records in another database.

    One of my friends told me to use DB triggers, but I want to do with SOA application using preferably the BPEL components.

    Any help would be useful.

    Thank you

    You can query the database if records are soft deletion, survey in the soft deleted records and then update the database target.

    If these are harsh destruction then the only thing I can think is: -.

    Source database: select * from source

    Target database: delete all records

    Target database: insert the records from the source.

    Other triggers would be best.

  • Potential security breach: (Audio)? Relayed by the customer between two periods of external investigation of data

    I began to see the Skype to accept compatible streams recently and captured data using Wireshark. I see data sent to an IP address to my port 3619 and sent again to a different IP address. The packets have the same length inbound and outbound at about 16 Kbps. For example:

    96022 543. [removed for privacy] 223.176.238.160 192.168.2.105 SKYPE 242 Audio Unk: 4

    96023 543. [removed for privacy] 192.168.2.105 41.79.217.119 SKYPE 242 Audio Unk: 3

    543 96024. [removed for privacy] 223.176.238.160 192.168.2.105 SKYPE 79 Audio

    96025 543. [removed for privacy] 192.168.2.105 41.79.217.119 SKYPE 79 Unk Audio: 5

    This is the hex data for the first two images:

    0000 00 00 00 01 00 06 10 0d 7f 9B 00 08 00 08 00 a4...

    0010 45 00 00 e2 46 25 00 00 2 c 11 b6 83 df ee b0 e. a0... F%..,.......
    0020 c0 a8 02 69 05 77 0e 23 00 this f2 1 c fb 4 d f2... dc i.w. #... M.
    0030 58 1 a 25 1 d 53 0d 36 cf a8 d4 37 10 9 X.% b2 f1 e5. ART.6. 7...
    0040 ed a9 cb 8 9th e4 has e8 57 21 99 f6 9 b 83 71 7 c df... | W!... q
    {[0050 65 5 d 7 d ca bd 2 c fe d2 25 b2 73 f3 4 d 9 a 39 8] e}..,... %. s.M.9.
    0060 14 91 57 ca 35 of 8f 1f fc FC 29 34 2A e4 bc ba... W.5......). 4
    {0070 62 34 21 90 85 8 c 6 93 7 b8 61 07 7 d d d be 25 ff b4!... l.}. a.}. %.
    0080 73 d8 5A 07 73 70 b7 f7 f0 7 c 76 fd 9 d 1f 08 ee s.Z...s.p | v...
    0090 ae c6 55 78 30 f2 1A dd 6 62 22 8f 1e eb b1 3f... "Ux0... nb"...?
    00 a 0 2d 50 7f e1 dc 0e 4 c 13 31 df 89 7f 8f 1 d 5f 4F - P... L.. 1... _N
    [00b 0 a7 0d fb a7 d4 3 a 20 d9 5 d 07 fe 58 68 2d... f5 d9:.] ... X.h.-
    00C 0 ad 53 ef 6th 78 ea d1 d3 this 77 a7 1 d 29 4 9 c b2. S.n.x... w...) N
    0 79 53 eb 97 00D 4 c 13 19 69 48 06 88 21 95 c6 yS e9 8f... L... i.H.. !...
    84 24 9F 96 CBS 00e0 6th 1 d 41 69 3 c f7 46 fb 9 d e5 40. $... n... AI<>
    00f0 d1 c6...

    and

    0000 00 04 00 01 00 06 49 b3 3f e0 this 33 64 00 08 00... ? I have... 3D...
    0010 45 00 00 e2 1f b7 40 00 40 11 54 7 c c0 a8 02 69 E... @. @. T |...
    (29 0020 d9 of the 4f 77 0e 23 47 00 6f this 48 73 5f 3d f2 f8) O.w. #oG... HS. _ =.
    0030 58 1 a 25 1 d 53 0d 36 cf a8 d4 37 10 9 X.% b2 f1 e5. ART.6. 7...
    0040 ed a9 cb 8 9th e4 has e8 57 21 99 f6 9 b 83 71 7 c df... | W!... q
    {[0050 65 5 d 7 d ca bd 2 c fe d2 25 b2 73 f3 4 d 9 a 39 8] e}..,... %. s.M.9.
    0060 14 91 57 ca 35 of 8f 1f fc FC 29 34 2A e4 bc ba... W.5......). 4
    {0070 62 34 21 90 85 8 c 6 93 7 b8 61 07 7 d d d be 25 ff b4!... l.}. a.}. %.
    0080 73 d8 5A 07 73 70 b7 f7 f0 7 c 76 fd 9 d 1f 08 ee s.Z...s.p | v...
    0090 ae c6 55 78 30 f2 1A dd 6 62 22 8f 1e eb b1 3f... "Ux0... nb"...?
    00 a 0 2d 50 7f e1 dc 0e 4 c 13 31 df 89 7f 8f 1 d 5f 4F - P... L.. 1... _N
    [00b 0 a7 0d fb a7 d4 3 a 20 d9 5 d 07 fe 58 68 2d... f5 d9:.] ... X.h.-
    00C 0 ad 53 ef 6th 78 ea d1 d3 this 77 a7 1 d 29 4 9 c b2. S.n.x... w...) N
    0 79 53 eb 97 00D 4 c 13 19 69 48 06 88 21 95 c6 yS e9 8f... L... i.H.. !...
    84 24 9F 96 CBS 00e0 6th 1 d 41 69 3 c f7 46 fb 9 d e5 40. $... n... AI<>
    00f0 d1 c6...

    Here's Skype data only on these images:

    1 0000 c fb 4 d f2 58 1 a 25 1 d 53 0d 36 cf a8 f1 d4 e5... M.X.%. ART.6.
    0010 37 10 9th ed a9 b2 9th e4 cb 8 has df 7 57 21 99 7 c e8... | W!
    {[0020 9 b 83 71 and 5 d 65 f6 7 d ca bd 2 c fe d2 25 b2 73 f3... q] e}..,... per cent .s.
    0030 4 d 9 a 39 8 14 91 57 ca 35 of 8f 1f fc FC 29 M9 ba... W.5......)
    0040 bc 34 e4 2 a 62 34 21 90 85 8 c d 6 93 7 61 07 d b8. {* 4 b4!... l.}. one.
    {0050 7 d be 25 ff 73 5A f0 f7 07 73 70 76 fd 7 c b7 d8}. %. s.Z...s.p | v.
    0060 9 d 1f 08 ee ae 55 78 30 f2 1A dd 6 62 22 8f c6... "Ux0... nb.
    0070 1st eb b1 3f 2d 50 7f e1 4 c 13 31 df 7f, 8f 0e dc? -P.... L.. 1...
    0080 89 1 d 5f 4th a7 fb a7 d4 3 a 20 d9 5 d 07 fe 58 0d... _N.....: .].. X
    0090 d9 68 f5 2d 53 ef ad 6 78 ea d1 d3 this 77 b2 9 c .h.-. S.n.x... w...
    00 a 0 a7 1 d 29 4th 79 53 97 eb 13 19 69 48 e9 8f 4 c 06) NyS... L... i.H.
    00b 0 88 21 95 c6 84 24 9F 96 CBS 6th 1 d 41 69 3 c f7 fb. ! ...$...n.. AI<>
    0 46 40 d1 c6 F e5 9 d 00C... @..

    and

    0000 f8 5f 3d f2 58 1 a 25 1 d 53 0d 36 cf a8 f1 d4 e5. _ =. X.%. ART.6.
    0010 37 10 9th ed a9 b2 9th e4 cb 8 has df 7 57 21 99 7 c e8... | W!
    {[0020 9 b 83 71 and 5 d 65 f6 7 d ca bd 2 c fe d2 25 b2 73 f3... q] e}..,... per cent .s.
    0030 4 d 9 a 39 8 14 91 57 ca 35 of 8f 1f fc FC 29 M9 ba... W.5......)
    0040 bc 34 e4 2 a 62 34 21 90 85 8 c d 6 93 7 61 07 d b8. {* 4 b4!... l.}. one.
    {0050 7 d be 25 ff 73 5A f0 f7 07 73 70 76 fd 7 c b7 d8}. %. s.Z...s.p | v.
    0060 9 d 1f 08 ee ae 55 78 30 f2 1A dd 6 62 22 8f c6... "Ux0... nb.
    0070 1st eb b1 3f 2d 50 7f e1 4 c 13 31 df 7f, 8f 0e dc? -P.... L.. 1...
    0080 89 1 d 5f 4th a7 fb a7 d4 3 a 20 d9 5 d 07 fe 58 0d... _N.....: .].. X
    0090 d9 68 f5 2d 53 ef ad 6 78 ea d1 d3 this 77 b2 9 c .h.-. S.n.x... w...
    00 a 0 a7 1 d 29 4th 79 53 97 eb 13 19 69 48 e9 8f 4 c 06) NyS... L... i.H.
    00b 0 88 21 95 c6 84 24 9F 96 CBS 6th 1 d 41 69 3 c f7 fb. ! ...$...n.. AI<>
    0 46 40 d1 c6 F e5 9 d 00C... @..

    I checked that these packages had been sent by the process of Skype. The change of IP addresses from time to time and sometimes it there streaming in all. I was not on any Skype call during this period. I have a file pcapng I can provide private these packages with over 200 k. I checked many of the IP addresses and found that all the ones I checked were on blacklists of some sort, so it may be the zombie PCs using Skype on other PC to transmit information or calls.

    I use Skype 4.3.0.37 on Ubuntu 14.04 (updated). I checked the Skype updates, and he says I'm on the latest version. I tried to go through the process of reporting of security vulnerabilities and I had the choice to post here or wait for 20 minutes to chat with someone...

    Please contact me directly. I make sure that my contact information on my Skype profile is up-to-date.

    HTH

    -Leo

    I never said I could say what username was seen providing the past, I said that I could tell the IP addresses. That's all that is needed to find potentially vulnerable customers without the additional chore of scanning random IP.

    In any case, I have already recommended that we spend our communication elsewhere. Is not not be able to control how traffic passed to third parties unsecured is a deal breaker for us.

    Thank you very much for your answers. My question has been answered and my obviously concerns do not match that of Microsoft, so I end up in a dead end with this service.

  • Pouvez Muse synchronization between two separate computers?

    I have a desk top that stays at home and a laptop that travels with me. I will need to update the web site at the time that I'm traveling. Is it possible to synchronize two computers, so I can make changes on your laptop when you travel?

    Re: Can change you a Web of Muse site form several computers?

  • synchronization between two jsf master detail pages

    Hi guys,.

    I have two jsf pages, how do I synchronize the selected line (af:table) on the first page of a master detail (the secondary table) with the second page.

    In my case in the second page I can make changes in a Popup window, but the selected line (the secondary table) on the first page is displayed in the pop-up window

    I want the selected record from the table in detail in the second page will be displayed in the pop-up window


    Thanks for your help

    Published by: fakhri_tn on November 13, 2012 23:47

    Hello

    Always mention your JDev version.

    Watch this video. : http://www.youtube.com/watch?v=rv3NV4rz6Lo

    Arun-

  • Synchronization between two databases with only 2% of the data; Please help me

    Hi all

    I have two oracle databases in 2 different servers PROD and TEST instances. the two databases are in gr 10 2 in linux servers.

    My PROD database contains about 300 GB of data and is dedicated for production area.
    My Test database is dedicated to Spanish test for PROD database. (small server in terms of space and RAM comparing to PROD db)
    I would like to synchronize every week TEST db with PROD db with only 2% of the data and all the structures
    Could someone tell me, if you use a datapump export I can import only 2% of the amount of data and the structures ot theere is another way to do it?
    Thank you very much

    best regards,
    W

    I'm not really sure what you're talking about. There is no option, expdp and impdp x % of the data, is that? And if Oracle can sovle repositories inetegrity (PK, FK), it cannot be assumed which tables are lookup table (to be entirely exported) and can not assume the logical data integrity.

    Nicolas.

  • CC will not synchronize between two computers

    Trial version and CC files are seen on both but changes to one do not synchronize with CC through to the second mac.

    This link might help: Creative Cloud Desktop application FAQ

  • HAVE multiple AO-synchronization-2 multiple while loops

    Hi all

    I want to characterize my RF circuit by using an additional narcotics control and map PXI-6229. I wrote a simple VI in Labview, which is almost similar to the example, multiple-HAVE-AO-synchronization, seen in LABVIEW. According to my VI, 4 analog outputs with different offsets dc, amplitudes and phase values must be generated to my RF circuit and 2 analog inputs must be acquired by this circuit simultaneously and continuously. But the problem with my VI is that I try to observe two diagrams at the same time to see the changes in signals generated and acquired. However, I don't see the two signals simultaneously. The second while loop, which belongs to the acquisition of analog signals, does not start while the first loop generates analog signals continuously. How can I synchronize these two while loops in order to observe the two parties in the diagrams?

    I have attached my VI.

    Thanks in advance.

    T. Eray

    Hi Eray,

    I will be brief and I'll keep it simple. If I understand correctly, you have trouble with the data stream in LabVIEW. When you work in LabVIEW, you must understand the order in which the blocks (functions/nodes/structers) are run in LabVIEW - stream. Each block can be executed just at the moment where there values on each entry. This means that if the 2 blocks are connected with a wire, the 2nd block waits until the first ends its execution.

    In your case, that means, this 2nd loop does not execute before the first loop (with the DAQ Assistant) ends its execution, because the son comes from the inside of the first loop, then they go to some DAQmx features and then DAQmx features they go to the 2nd loop.

    In principle, what you could do is to put the content of the first loop, where you prepare the signal generated in the 2nd loop. Good course without the DAQ Assistant. Instead, you can use DAQmx writing in the 2nd loop.

    Kind regards

    Martin

  • Can I synchronize the activity of health between two watches from Apple?

    I have two Apple - one for work, one for out watches. If I change watches in the middle of the day, the follow-up of the first watch of activity is not synchronized with the second watch. Is it possible to enable this so that the follow-up activity is specific for the whole day?

    Thank you!

    N ° it is not possible to synchronize the activity of health between two watches from Apple.

  • Is it possible to synchronize a directory between two computers using ReadyCloud Desktop Client?

    Hi all

    Is it possible to use the ReadyCloud Desktop Client to synchronize a directory between two computers, i.e. of office and computer laptop?

    I use OS 6.4.2 and the latest version of the Desktop Client at ReadyCloud.

    In addition, both computers are running Windows 10 Pro.

    Thanks in advance

    Kevin

    Hello knocwans,

    Sorry, but ReadyCloud app is designed to allow you to synchronize folders computer device ReadyNAS and not from computer to computer. There is no option on the client where you select as the source computer and another computer as the destination.

    Kind regards

  • I use SyncToy 2.1 for syncing between two readers and I wonder if it is possible to synchronize three discs without causing confusion for SyncToy.

    Hi all, I use SyncToy 2.1 for syncing between two readers and I wonder if it is possible to synchronize three discs without causing confusion for SyncToy. In other words, I want to have a (portable) master and synchronize with a Home Office and a disc of office disc.

    Original title: SyncToy 2.1

    Hello

    Thanks for posting your question on Microsoft Community!

    After your description, it seems that you need more information about SyncToy 2.1.

    I would like the season help you post you question on the following link for better.
    http://social.Microsoft.com/forums/en-us/SyncToy/threads

    I hope this helps!

  • How to avoid synchronization of the settings between two computers

    I have two computers (a desktop computer all-in-one DELL and HP laptop).  Log-in at once is my Microsoft account.

    PROBLEM: When I 'customize' screen on one, the same changes are made on the other.   It is not desirable.  How to avoid that, far from making a second Microsoft account?

    To clarify - the ICONS are not duplicated, just any changes made to the themes of office such as colors or backgrounds.

    Thanks in advance!

    Hello Beckinista,

    Thanks for posting your question on the Microsoft community.

    Thank you for your query details.

    I also like the fact you want to avoid synchronization of the settings between two computers.

    I suggest you stop the synchronization of all of the settings between two computers and check if it helps.

    Please see this link:
    Sync between multiple PCs with OneDrive settings
    http://Windows.Microsoft.com/en-us/Windows-8/sync-settings-PCs

    Note: Please see section "to stop all sync settings" in the article above.

    I hope this information helps.

    Please let us know if you need more help.

    Thank you

  • Constantly synchronize metadata between two photos.

    I was wondering if there was a way to make the Lightroom to synchronize metadata between photos all the time. I am aware metadata synchronization and automatic synchronization, but they work only if you apply the changes so that you have two selected images.

    I am a user of Flickr, and use Flickr Resync (here) to synchronize my images on Flickr in Lightroom. I use this to maintain up-to-date description and tags if I change on Flickr.

    The problem I have is that, for each of my portfolio images, I have the original image and a watermark stored in different folders (the original in one that contains all the images from that day) and the watermark in a folder with all my images in delicate. It is the watermark ones I download on Flick, and which are synchronized with Flickr Resync.

    I want to be able to change the title, description, or tags on any of these images (delicate, original or on Flickr) and others (watermark or original) updated to match. I don't want to update other an each time, I would have preferred that Lightroom (or a plugin) he did for me, or for each image that was installed when I asked, or simply to do all the time.

    I'm under 4.4 Lightroom 64-bit on Windows 7.

    Essentially, I want metadata synchronized between two photos, stored in different locations, but I want it to happen automatically (or to press a few buttons).

    Thank you

    Alex

    My Flickr: http://www.flickr.com/photos/alex_robinson_photography/

    RelativeAntics will allow you to define which photos are associated with what other photos and metadata synchronization at the request, or with a little more work (@v3.0) via editing the advanced settings, you can configure automatic synchronization.

    Rob.

  • Can I synchronize Thunderbird between two computers? (The two Macs, same OS version)

    I want to (temporarily?) have two computers to have exactly the same Thunderbird environment, including the same local folders, all with the same content. The initial situation will be that I will migrate data Thunderbird to my iMac, settings, etc., for my MacBook Pro and iMac will go in stock. (Repairs/improvements, of the variety 'Out of the House for a few weeks'.) During this time, I'll use the MBP and want to access my folder "sent", as well as all records of archived messages. Then, I want to move all the news on the MBP to the iMac. My hope is that I can put things up to automatically synchronize the two sets of message files, keep the two machines in service for access to the electronic mail.

    Thanks, Wimsey

    The only way to do that sync constantly must have your saved somewhere Thunderbird profiles folder where computers will still have access to them. As a storage of access network for use in your home, or a cloud storage online.

    With the help of cloud online for this storage will theoretically what you want, but there will be problems with Thunderbird is able to access these files quickly, causing Thunderbird to freeze. So I do not recommend this.

    With respect to temporarily move to another computer, read this: move your profile folder

Maybe you are looking for

  • Stuck on Al Capitan Setup.

    Started the installation, after installation restart does not, but I cannot restart the mac without installing trying to fill again. I just want you boot the computer with the current operating system without directly continue the installation.

  • 15.04 Ubuntu brightness keys do not work on Toshiba Tecra

    Hello! I I m install the new version of Ubuntu 15.04 in my computer toshiba tecra laptop.In this version the brightness keys to work but do not to set the brightness of the screen. Possible I have ts to solve this problem?Thanks for all the ansvers!

  • Installation of XP can't step in copying files?

    While performing a clean install of XP Pro OEM 32 bits, that he finished the stages of loading files and copy files without problem and after restarting it again the process from the beginning?

  • should I trust to clean your hard drive with all the files listed?

    I'm working through Windows Vista, step by step manual. I have a question on system and maintenance > administrative tools > free space disk (also called "Disk Cleanup"). I want to clean my hard drive to free up space and improve performance by using

  • 1242AG help

    I am trying to set up a 1242AG with 2 VLANS, comments and Admin - there is a document of example by Cisco showing just this scenario but it doesn't seem to work - I was convinced of the configuration is correct, but PC users cannot see or SSID - Gues