LV fpga - wait express vi slows down the other loops?

Hi all

I have a question about the use of the vi wait Express in Labview FPGA. I use 2 loops, one that changes data, the other records it these data by sending it to a FIFO. In the first loop, I change the value of a variable named "CurrentWfmFast?" from true to false. After that, I use the vi wait Express to wait a few microseconds, so the program does not change this value to true immediately. In the second loop, I connect the data a FIFO to send to the host.

If I now draw the variable in the host.vi, it seems that the value of the "CurrentWfmFast"? has changed AFTER the vi wait Express instead of before (see attachment).  If I change the wait ' (we) Pos Stable ' to 60000, for example, the value of "CurrentWfmFast?" changes after 60000 US... How is that possible? What is the vi wait another Express while loops influence?

Thank you in advance,

Best regards
Dries

I finally thought to it myself. Before that the value of "CurrentWfmFast?" went from true to false, the waiting already executed only once. That's why the value has not changed immediately. Instead of 1 wait, there are 2, that was my mistake.

I know it has been difficult (if not impossible) for you to understand that without the whole project, but thanks for watching it. If I need more help, I'll post the VI or the entire project.

Best regards

Dries

Tags: NI Software

Similar Questions

  • "the db file sequential read" waiting for event slow down an application.

    "the db file sequential read" waiting for event slow down an application.

    It is a rather strange problem. There is an update statement that hangs on the wait event 'db file sequential read' and until you restart the database, the query works fine. It happens once a week, usually Monday or after several days of large amount of work.

    I checked the processor and is fine, memory is very good, although the SGA and PGA have taken maximum memory. Flow of the disc seems to be ok since each another session on the basis of data looks very good.

    I guess that there is a missing configuration to avoid having to restart the database each week.

    Any help is greatly appreciated.

    Hello

    If you want same order of the tables as plain exp after reboot just go with ordered hint

    UPDATE item_work_step
    SET user_name = :b1,
    terminal = SYS_CONTEXT ('USERENV', 'TERMINAL'),
    status_cd = 'IN PROCESS'
    WHERE item_work_step_route_id =
    (SELECT item_work_step_route_id
    FROM (SELECT /*+ORDERED */ iws.item_work_step_route_id
    FROM user_role ur,
    work_step_role wsr,
    work_step ws,
    app_step aps,
    item_work_step iws,
    item_work iw,
    item i
    WHERE wsr.role_cd = ur.role_cd
    AND ws.work_step_id = wsr.work_step_id
    AND aps.step_cd = ws.step_cd
    AND iws.work_step_id = ws.work_step_id
    AND iws.work_id = ws.work_id
    AND iws.step_cd = ws.step_cd
    AND iws.status_cd = 'READY'
    AND iw.item_work_id = iws.item_work_id
    AND iw.item_id = iws.item_id
    AND iw.work_id = iws.work_id
    AND i.item_id = iws.item_id
    AND i.item_id = iw.item_id
    AND i.deleted = 'N'
    AND i.item_type_master_cd = :b3
    AND ur.user_name = :b1
    AND aps.app_name = :b2
    AND ( iws.assignment_user_or_role IS NULL
    OR ( iws.assignment_user_or_role IN (
    SELECT ur.role_cd
    FROM user_role ur
    WHERE ur.user_name = :b1
    UNION ALL
    SELECT :b1
    FROM dual)
    AND iws.assignment_expiration_time > SYSDATE
    )
    OR ( iws.assignment_user_or_role IS NOT NULL
    AND iws.assignment_expiration_time <= SYSDATE
    )
    )
    AND (iws.pend_date IS NULL OR iws.pend_date <= SYSDATE
    )
    ORDER BY aps.priority,
    LEAST (NVL (iw.priority, 9999),
    NVL ((SELECT NVL (priority, 9999)
    FROM item_work
    WHERE item_id = i.parent_id
    AND work_id = 42),
    9999
    )
    ),
    DECODE (i.a3, NULL, 0, 1),
    NVL (iw.sla_deadline,
    (SELECT sla_deadline
    FROM item_work
    WHERE item_id = i.parent_id
    AND work_id = 42)
    ),
    i.parent_id,
    i.item_id) unclaimed_item_work_step
    WHERE ROWNUM <= 1)
    

    If you want to get rid of the nested loops use USE_HASH

    UPDATE item_work_step
    SET user_name = :b1,
    terminal = SYS_CONTEXT ('USERENV', 'TERMINAL'),
    status_cd = 'IN PROCESS'
    WHERE item_work_step_route_id =
    (SELECT item_work_step_route_id
    FROM (SELECT /*+ORDERED USE_HASH(ur wsr ws aps iws iw i) */ iws.item_work_step_route_id
    FROM user_role ur,
    work_step_role wsr,
    work_step ws,
    app_step aps,
    item_work_step iws,
    item_work iw,
    item i
    WHERE wsr.role_cd = ur.role_cd
    AND ws.work_step_id = wsr.work_step_id
    AND aps.step_cd = ws.step_cd
    AND iws.work_step_id = ws.work_step_id
    AND iws.work_id = ws.work_id
    AND iws.step_cd = ws.step_cd
    AND iws.status_cd = 'READY'
    AND iw.item_work_id = iws.item_work_id
    AND iw.item_id = iws.item_id
    AND iw.work_id = iws.work_id
    AND i.item_id = iws.item_id
    AND i.item_id = iw.item_id
    AND i.deleted = 'N'
    AND i.item_type_master_cd = :b3
    AND ur.user_name = :b1
    AND aps.app_name = :b2
    AND ( iws.assignment_user_or_role IS NULL
    OR ( iws.assignment_user_or_role IN (
    SELECT ur.role_cd
    FROM user_role ur
    WHERE ur.user_name = :b1
    UNION ALL
    SELECT :b1
    FROM dual)
    AND iws.assignment_expiration_time > SYSDATE
    )
    OR ( iws.assignment_user_or_role IS NOT NULL
    AND iws.assignment_expiration_time <= SYSDATE
    )
    )
    AND (iws.pend_date IS NULL OR iws.pend_date <= SYSDATE
    )
    ORDER BY aps.priority,
    LEAST (NVL (iw.priority, 9999),
    NVL ((SELECT NVL (priority, 9999)
    FROM item_work
    WHERE item_id = i.parent_id
    AND work_id = 42),
    9999
    )
    ),
    DECODE (i.a3, NULL, 0, 1),
    NVL (iw.sla_deadline,
    (SELECT sla_deadline
    FROM item_work
    WHERE item_id = i.parent_id
    AND work_id = 42)
    ),
    i.parent_id,
    i.item_id) unclaimed_item_work_step
    WHERE ROWNUM <= 1)
    

    and for small tables, you can try adding for example FULL (your) FULL (wsr)

    It can be rewritten in a different way, but it's the fastest way to try how query will be if you rewrite it. Check the explain plan command if certain partially ordered tables are not joined because you can get the Cartesian join, it seems that it will be ok.

    View query result in the em console.

    Concerning

  • Why FFx21, from the opening, thus creating three CACHE of INTERNET files duplicate (01, 02, 03 &amp; tot'ng 12 MB) slows down the site?

    On the 'OPENING' Firefox for the web, there is an initial use of 12 + MB of use via INTERNET CACHE files. These files show up, when using CCleaner, as... \_CACHE_001, 002, 003 each with a size of say 4 096 Ko. The browser seems to "lag" - particularly visible when I type in one of the available search bars... I tap and then wait for the letter or the word to display. In addition, Firefox crashed several times since the upgrade to the latest version (ffox 21). I have two images CCleaner printscreen to show files so useful, but not sure how to enter them here.

    Hello, these are the files where firefox stores its cache - you won't need CCleaner (in fact, it will be only slow down the things that you have already noticed, given that these files must be recreated after the next startup of the browser), you can also clear the cache with the mechanism built into firefox: How to clear the cache of Firefox

  • Prevent the Beep.vi slow down the VI

    Hello

    I'm working on a metronome that should run for a period of x with a frequency of x. The time is in seconds and rate.

    Whenever there is the beet, the VI must make a beep. This can be done easily by the beep.vi, but the standard for the beep.vi is to play one system.

    This is a fairly long tone (10 of Windows). And so, I want to put my own frequency and duration of the beep.

    But when I change this in the beep.vi, the VI will wait for the set time (msec) before it continues the vi. If it slows down the whole VI.

    Is there a way to make the beep.vi a sound signal with frequency and duration that I put, without that it slows down the VI?

    Thank you!

    Have the code "beep" performed asynchronously to your hand VI: have the VI in another loop and use a queue / notifier to notify the loop when playing the main loop.

  • Slow down the text to voice speech

    I use text-to-speech on Captivate 4.  Essentially, I like the text-to-speech feature; However, sometimes the voice is simply too fast.  I don't want to add unnecessary punctuation because I use the same text for captioning.  Anyone know how to slow down the voice (Paul), so people can actually follow what he says.

    Thank you!!

    Adobe has established VTML in Captivate 4, which is a language for the text to speech.

    It looks like this (the color added):

    Lorem ipsum dolor sit amet \pause, \speed=30 adipisicing elit computer of \speed=30 \speed=50 \pause, sed eiusmod tempor ut \pitch=20 storage

    The \pause, creates a second break half and and a \pause. creates a complete break seconds

    The \speed= changes the speed for all of the text that comes after the tag in this segment.  In this case, I took up to 30 and then brought back up to 50 before the break and then down again at the end.

    Thte \pitch= change the tone of the speech.  I did very deep at the end.

    Here is one more in the explanation the depth of some of these days, taken from the Adobe Captivate blog:

    "

    The following commands the output voice quality to be controlled in amending its rhythm, intonation, volume and timbre. Speech output is changed to the word that follows, until the end of the command prompt.

    Speed control: Allows the French rates to be changed, expressed in an abstract scale 0-100.

    \speed=

    Example:

    \speed=60 (scale of 0-100)

    \speed=60 that this text is read at a faster speed.


    Pitch Control: allows the fundamental frequency (tone or ground) to change, expressed in the abstract scale 0-100

    \pitch=

    Example:

    \pitch=60 (scale of 0-100)

    \pitch=60 this text is read on a frequency of 60 Hz rating.

    Volume control: allows the volume (volume) to change, expressed in the abstract scale 0-100 or in decibels (dB).

    \VOLUME=

    Example:

    \VOLUME=60 (scale of 0-100)

    \VOLUME=60 that this text should be read to a rating of 60 decibels.

    Control of the stamp: allows the timbre of the voice to be modified by a change of frequency, expressed in an abstract scale 0-100.

    \timbre =

    Example:

    \timbre=60 (scale of 0-100)

    \timbre=60 this text is read to a value of 60 stamp.

    "

    If you do not have the best voice, text, get them out of the folder 'Extras' on the Captivate installation CD, or download them here:

    http://www.Adobe.com/cfusion/TDRC/index.cfm?product=Captivate

    Look for links to installation for windows and mac below the link of the trial.

    / Benjamin

  • How do I disable Adobe Flash - too many sites have Flash ads that slow down the browser unless an analysis.

    Some pages contain 3, 4, 5 or more adobe flash ads running at the same time, which slows down the browser a lot. Then, if you happen to have several tabs open, the browser is dragging virtually interrupted and many times is not responding at all.

    I would like to be able to choose whether or not a page can run flash content - not it be something that works all the time for each page, with the only option being to kill the plugincontainer process in taskmanager - who kills even the Adobe Flash elements you can watch; like a youtube video.

    Why is there not a way to disable Adobe Flash in the browser? I have updated Firefox and Adobe Flash, but nowhere is there at - it an option to turn on or off according to your needs.

    A control can be added to the Internet Options that you can set to have a page request before it is allowed to run the Flash content? Having that kind of control would GREATLY increase the pleasure of sailing on several pages.

    Any information on how to do it, would be appreciated.

    Hello, this is already possible in firefox: go to firefox/tools > addons > plugins and shockwave flash to Activategame. then the plugin will be disabled by default but can be enabled on a site-by-site basis.

  • Can I use an SDXC (512MB) card as a drive hard primary (such as startup HD with El Capitan) on my iMac 5 K - end 2015? It will slow down the performance of the iMac?

    Can I use an SDXC (512MB) card as a drive hard primary (such as startup HD with El Capitan) on my iMac 5 K - end 2015? It will slow down the performance of the iMac?

    I did it with a 32GB SDHC UHS - I Transcend

    I do not recommend under OS X from such media, but it works very well. I was preparing for my review of the CPHA Yosemite and did not want to mess with the internal drive of OS X.

  • Slow down the automatic transition

    Hello!

    I'm working on an introductory presentation with automatic switching between slides. I want to slow down the presentation (I tried to put a 15 seconds delay) but it keeps on changing every second...

    Can someone help me?

    (I must say that my speech is in french... so I hope I used the right conditions...!)

    The procedure is:

    Select all of the slides in the Panel of the browser (click on a slide and then use: control)

    Inspector > Animation > add an effect of > select the effect in the list

    on the start menu, transition drop-down list box select automatically

    change the time of 15 seconds (double-click the entry, type in 15 and then on enter)

    This not work?

  • Slow down the Audio and keep beat related Sections

    Hello people,

    I have a song that I would like to remix and I all set beat matching.  When I go to slow down the audio I lose my bearings.  Is there anyway that I can keep the sections that I beat matched and slow down the audio so these sections remain?

    For example, that the song is 120bpm and I have this rhythm corresponded perfectly.  If I have a loop of 4 bars and slow down the audio I have more 4 perfect bars.  I want to be able to slow down the audio and still have my bars 4 faultless.

    I hope that makes sense.

    Logic Pro X: using Varispeed to change speed

  • Slow down the speed of FAR FAR AWAY in iMovie 10.1

    In iMovie 10.1 FAR FAR AWAY effect scrolls too fast and I don't think I should buy a market after effect fix a bug. How can I slow down the speed of the text please?  Roll the credits cost $20 and it will not work with updates so it is not an option, in addition to its construction in already, it is adjustable and now is not!  HELP PLEASE

    See that work around posted by Vanessa D 19 dec in this link

    Slow down the title Far Far Away in iMovie 10.1?

    I don't use version 10 so can't comment, but the link it seems to work.

  • is it possible to slow down the speed of scrolling text in the distance away from text generator?

    I'm trying to slow down the speed of text scrolling in the distance away from text generator.  Is it possible to make the text scrolls more slow?

    Stretch it to extend it.

  • Flex 2 network slows down the entire network

    I bought a Flex 2 a few weeks ago. Installed the software Office 365 and creative cloud by Adobe. Everything worked well on both networks, I connect to.

    Today, performance on the entire network is now gone to the dogs. At first, I suspected the provider or router so crossed all the routines of standard service (this disconnect, which reboot) again and again. Same face, deadly slow performance of several PC and Mac on the network.

    Then, I hit on the idea to close my Lenovo. Suddenly, network download speed of 2 MB/s and the ping from 2000 MS to more normal speeds returned.

    I restarted the Lenovo a couple of times, from 2, 4 GHz to 5 with the same result.

    At some point when I plugged the Lenovo directly into the modem (part of the diagnosis) direct speed seemed faster.

    Because the router works perfectly with all the other machines and I haven't changed a thing on it, and because the symptoms get carried away on the network when the Lenovo is cut, I can only assume that there is something to do with the Lenovo Flex 2 and how it communicates with the rest of the network.

    I should also add that I tried to plug an ethernet cable to make sure that it wasn't just a wireless thing. Still had the slow performance.

    I'm pulling my hair out over this, if I can't fix it, I can't work (no one in my office will be able to work) and will have to return the machine...

    Any ideas?

    Thank you...

    Thanks for the reply.

    After much pulling hair and analysis where the traffic was, it turns out it was a Microsoft cloud service a too aggressive drive that decided to download dozens of large files at the same time instead of in series. This excessive series of connections slowed down the rate of time and transfer of ping everything on the network. Disable updates for OneDrive during periods of work seems to have solved the problem.

    That said, working on this, I see that updates from Lenovo is continually a significant overhead. Do not understand why it takes so resources...

    Thanks again for the response...

  • How to slow down the audio Windows Player speed, for language learning purposes?

    How to slow down the audio Windows Player speed, for language learning purposes?

    I assume you mean videos with speeches.

    1. start playback of the video.

    2 right click on the video then go it to improvements then the playback speed settings.

    You can control the speed of this Panel.

  • My Vista crashed and I've switched back to XP. Now I have 1mil more old files compressed that I can't get rid of and it slows down the computer. How can I get rid of these files

    My Vista crashed and I've switched back to XP. Now I have 1mil more old files compressed that I can't get rid of and it slows down the computer. How can I get rid of these files.

    Hello

    1 are. what type of files?
    2. when they are stored?

    3. What is the size of these compressed files?

    Try to perform the clean boot on the computer and check if that helps.

    Reference:
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353

    See the bottom of the articles that might help you resolve this problem.
    How to make a computer faster: 6 ways to speed up your PC
    http://www.Microsoft.com/atwork/maintenance/speed.aspx
    Slow PC? Optimize your computer for peak performance
    http://www.Microsoft.com/athome/Setup/optimize.aspx

  • I have 2 accounts directors and 1 standard account on my computer, it will slow down the speed of the computer

    I have 2 accounts directors and 1 standard account on my computer, it will slow down the speed of the computer, or if I have just 1 Administrator account it will make computer run faster

    N °

    Unless you are logging in to each account and switching between them - have each user run a lot of things.  Now * that * could slow down the computer.

    Otherwise, it's just - unused accounts unless you connect to them.  Again, storage space and unil you get below a few GB of free it - not no more worries.

Maybe you are looking for