Lv fpga - wait express vi slows down other loops?

Hello all, 
I have a question about using the Wait Express vi in Labview FPGA. I use 2 loops, one that changes data, the other one logs this data by sending it to a FIFO. In the first loop, I change the value of a variable called 'CurrentWfmFast?' from true to false. After this, I use the Wait Express vi to wait a couple of microseconds so the program does not change this value back to true immediately. In the second loop, I log the data to a FIFO to send it to the host.
If I now plot the variable in the host.vi, it seems that the value of the 'CurrentWfmFast?' has changed AFTER the Wait Express vi instead of before (see attachment).  If I change the 'Wait (us) Pos Stable' to for example 60000, the value of 'CurrentWfmFast?' changes after 60000 us... How is this possible? Does the Wait Express vi influence other while loops? 
Thank you in advance,
Best regards,
Dries
Solved!
Go to Solution.

Thanks for the feedback!
Good luck with the further programming!
If you're relatively new to programming in LabVIEW FPGA, then it can also be a good idea to go through these slides:
http://zone.ni.com/devzone/cda/tut/p/id/3555
Kind Regards,
Thierry C - Applications Engineering Specialist Northern European Region - National Instruments
CLD, CTA
If someone helped you, let them know. Mark as solved and/or give a kudo.

Similar Messages

  • Safari is slow to open and close. It also slows down other apps while running. Should I reload safari and if so, how do I do so?

    Safari is slow to open and close. It also slows down other apps while it is running. How can I resolve this issue?

    From the Safari menu bar, select
    Safari ▹ Preferences ▹ Extensions
    Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit.
    If you wish, you may be able to salvage the malfunctioning extension by uninstalling and reinstalling it. That will revert its settings to the defaults.
    If there's no improvement, continue as follows.
    From the Safari menu bar, select
    Safari ▹ Preferences... ▹ Privacy ▹ Remove All Website Data
    and confirm. Test.

  • Extreme: does it slow down other users?

    Does another computer, plugged into the Extreme base station and not wireless, get slowed down any? Or does the flow from pc to Internet pass through the base station without hindrance? My husband tells me it slows down his computer with we use the Extreme as a wireless and a regular router? Anyone know the answer... I'd love to hook it back up, even though it is very slow with the wireless connection.
    Thanks.

    if user has B/G and N devices then yes the network will slow to the slowest device used at the time. A way around this is to use two routers. The secondary router must be placed in bridge mode(use Airport Utility "manual" to set it. Set the main router for 5 GHZ N speed and the secondary for 2.4 GHZ N+B/G speed. Tell your husband to use the appropriate router set for his speed device. You use the other.

  • My internet has slowed down, other macs in the household seem to be fine.

    I have had no problems with my macbook air but for the last few days the internet has slowed right down but this does not seem to be a problem for other members of the household using the same wireless internet. They mostly have Macbook Pro's.Any thoughts?

    Troubleshooting Wi-Fi issues

  • Does Airport Express 'g' slow down an 'n' Base Station network?

    I've got a network of 2 computers and a printer on an Airport Extreme 'n' Base Station. I've recently added the original Airport Express ('g') to that network to take advantage of AirTunes. Do I compromise the speed of the network by introducing a slower device into it?
    If so, is there different behavior for wired vs. wireless connections? My laptop is wireless, my MacPro does not have Airport and is hardwired to the network.
    I want to buy another Airport Extreme for another room. The new one will be 'n' so there would be two AE's connected, each different. Will everything run to it's maximum potential?

    And I take it all this does not affect the speed for the Ethernet connected components?
    Assuming there's no intervening wireless connection, yes.
    PS - Lazarus describes nicely how a b/g/n base station should work, ideally, but as he implies, "dual-band" doesn't mean "two transceivers" necessarily ("two antennas", yes). As I understand it, the 802.11n spec requires that the device also be capable of b/g operation, so it would have to be able to transceive at 2.4 and 5 GHz -- but perhaps not at the same time, so maybe one transceiver is enough.
    In any case, I've seen posts that agree with Chris Brown's description of how the AEBSn behaves.

  • Need to slow down POLL loop rate

    I find that when I configure a device for polling and a connection is opened, the poll rate appears to run as fast as the computer will allow. I need to control the poll loop rate or "scan rate" so it scans once every 100ms. Some devices cannot handle a fast scan rate, must be slower than 10ms. How do I change my scan rate?

    Hello,
    Thanks for contacting National Instruments.
    I think you can accomplish what you are trying to do by using a different mode instead of Automatic. For example, if you use the Scanned mode, then you should be able to set the ExpPacketRate to the value you are interested in using as the poll rate. This information is documented on page 2-59 of the following manual.
    http://digital.ni.com/manuals.nsf/webAdvsearch/659F311DE89061978625680F0059DCF7?OpenDocument&vid=niwc&node=132100_US
    Hope this helps!
    Regards,
    Steven B.
    Applications Engineering
    National Instruments

  • Consumer loop slowing down producer loop

    Hi All,
    I'm currently using a PXI to send commands to a chip, then retrieve the results with a DAQ. This process loops to populate a 256x50 array of values.
    Each time the loop is fully populated, I want to display the result onto a 3D plot, using 3d plot lvclass and plot helper. I noticed through the profiler and using timing functions in the loop that the 3D plot would take ~200 ms to update. The array would fully populate in about 100ms, so tripling the time to update was kind of nasty.
    I put the 3d plot into a consumer loop and everything else in a producer loop. It works fine, I don't mind about dropped frames, but it was running at the same speed. Apparently whenever the consumer loop executed, it would freeze completely the producer loop.
    Why is this? It seems like this fellow had the same problem:
    http://forums.ni.com/t5/LabVIEW/Producer-Consumer-Loops-not-independent/td-p/1115665
    But he "solved" it by removing the graph altogether. As showing the graph updating in real time is critically important, I can't just chuck it.

    No, an action engine is sometimes called a LabVIEW 2 Style global. They are basically a VI with a while loop and an unitialized shift register. They are useful when passing large amounts of data since it does not get copied. Also if you have transformations that are made on the data it is a single self contained VI that has data and actions which can be performed on it. Today a LVOOP implementation would be prefered. At any rate, this is a non-reentrant VI which will cause blocking to occur if called from two or more loops at the same time.
    Out of curiosity, what type of graphics card do you have in the PC? Would a better graphics card help?
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Slowing Down Music / Recordings

    I am trying to figure out the best way to slow down my ipod collection and also the CD's I have. I am kind of a guitarist and would like to be able to slow down and loop specifc sections of music to figure out how to play them. I know there are some programs available, like riffster (which doesn't seem to support Apple & Amazing Slow Downer, another Win program), but I am loking for an Apple solution. I have a feeling Garageband might be able to do this, but so far, it's beyond my abilities to figure out. Any ideas / recommendations? Thanks!
    MacBook Pro   Mac OS X (10.4.7)  

    Amazing Slow Downer is available for OS X
    http://www.versiontracker.com/dyn/moreinfo/macosx/12457

  • Slowing Down a CFHTTP request

    i have a chunk of code that loops over a CFHTTP request to
    download files off a server. I do not get all the files I am
    supposed to, and I'm guessing it's because the loop runs too fast.
    if i run the code one at a time, i get what i expect. is there
    anyway to slow down the loop or to fix my problem?
    <CFLOOP...>
    <CFHTTP....
    </CFLOOP>

    Your comment, as usual, totally out of topic. The code provided
    shows an approach to slowdown the sequence of CFHTTP requests, by
    imposing timeouts between them, sInce this was identified as the
    initial problem/question. Has nothing to do with your "smart"
    comments and suggestions. If this works, the scope attribute can be
    replaced with an arbitrary name.
    Mr Black, it is unwise, very unwise, to apply a server-scoped
    lock the way you do.
    Definitely, not session-dependent. Guess why?
    Why not? In other words, why may I not store the name of a
    query in the session scope?
    If you wish to argue, then argue on those technical points.
    You're quite capable of that. The forum will benefit more from it
    than from you slinging cheap adjectives about.

  • I am running OSX10.9.1 on an iMac, and its slowing down. MacKeeper and others are offering me procedures to fix this. Do they work?

    Is MacKeeper or some other product useful on vleaaning up myiMac, which is slowing down

    Things You Can Do To Resolve Slow Downs
    If your computer seems to be running slower here are some things you can do:
    Start with visits to:     OS X Maintenance - MacAttorney;
                                      The X Lab: The X-FAQs;
                                      The Safe Mac » Mac Performance Guide;
                                      The Safe Mac » The myth of the dirty Mac;
                                      Mac maintenance Quick Assist.
    Boot into Safe Mode then repair your hard drive and permissions:
    Repair the Hard Drive and Permissions Pre-Lion
    Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
    Repair the Hard Drive - Lion/Mountain Lion/Mavericks
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites Menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD disk icon and click on the arrow button below.
    When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list.  In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive.  If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
    Restart your computer normally and see if this has helped any. Next do some maintenance:
    For situations Disk Utility cannot handle the best third-party utility is Disk Warrior;  DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
    Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
    Suggestions for OS X Maintenance
    OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep.  Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger.  These utilities have limited or no functionality with Snow Leopard or later and should not be installed.
    OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive.
    Helpful Links Regarding Malware Protection
    An excellent link to read is Tom Reed's Mac Malware Guide.
    Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
    See these Apple articles:
              Mac OS X Snow Leopard and malware detection
              OS X Lion- Protect your Mac from malware
              OS X Mountain Lion- Protect your Mac from malware
              About file quarantine in OS X
    If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
    Troubleshooting Applications
    I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
    If you have Snow Leopard or Leopard, then for similar repairs install the freeware utility Applejack.  If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line.  Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later.
    Basic Backup
    For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
    1. A Time Machine preferences panel as part of System Preferences;
    2. A Time Machine application located in the Applications folder. It is
        used to manage backups and to restore backups. Time Machine
        requires a backup drive that is at least twice the capacity of the
        drive being backed up.
    Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
      1. Carbon Copy Cloner
      2. Get Backup
      3. Deja Vu
      4. SuperDuper!
      5. Synk Pro
      6. Tri-Backup
    Visit The XLab FAQs and read the FAQ on backup and restore.  Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
    Referenced software can be found at MacUpdate.
    Additional Hints
    Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
    Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
    Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
    Check for applications that may be hogging the CPU:
    Pre-Mavericks
    Open Activity Monitor in the Utilities folder.  Select All Processes from the Processes dropdown menu.  Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Mavericks and later
    Open Activity Monitor in the Utilities folder.  Select All Processes from the View menu.  Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order.  If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar.  Click on the Force Quit button to kill the process.  See if that helps.  Be sure to note the name of the runaway process so you can track down the cause of the problem.
    Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file.

  • My screen load times have slowed down to a crawl. I have to wait and wait for a page to load. (I know --dial -up) It used to be much faster a month ago before 5.0. Is it FireFox or do I look to Yahoo for the problem? I don't know how to sort it out.

    I use dial-up, FireFox 5.0, Yahoo addition 1.8. My screen load times have slowed down to a crawl. I have to wait and wait for a page to load. (I know --dial -up) It used to be much faster a month ago before 5.0. Is it FireFox or do I look to Yahoo for the problem? I don't know how to sort it out. Using Vista

    I'm having the same problem. Dreamweaver is supper slow. Uploading and downloads from the server... any server I use two different servers. It times out all the time. Menus are slow too.
    I'm on a MAC Pro, 6 gigs of ram no issues with anything else. I have talked to Apple they have checked everything for me. They say it's Dreamweaver. I've noticed the Dreamweaver is talking to the FTP even when I'm not doing anything.
    I've tried cleaning out my MAC caches, turning off file check and check out. Still really slow. I've worked with Dreamweaver for 6 years never any issues like this before. 18 seconds to upload a 4 kb file. 11 seconds to download the same file.

  • What is this all about? "The "QuickTime Plug-in 7.6.6" plug-in is slowing down your Mac. You can wait for it to recover or stop it now."  I'm running Mavericks 6.8.

    I regularly get a prompt reading as follows: "The "QuickTime Plug-in 7.6.6" plug-in is slowing down your Mac. You can wait for it to recover or stop it now."  I've tried waiting, but nothing happens.  I "stop it now" and lose the page I'm reading.

    GJD
    You haven't provided quite enough info for anyone to be able to help. Please follow these tips:
    Quoted from Apple's "How to write a good question"
       To help other members answer your question, give as many details as you can.
    Include your product name and specs such as processor speed, memory, and storage capacity. Please do not include your Serial Number, IMEI, MEID, or other personal information.
    Provide the version numbers of your operating system and relevant applications, for example "iOS 6.0.3" or "iPhoto 9.1.2".
    Describe the problem, and include any details about what seems to cause it.
    List any troubleshooting steps you've already tried, or temporary fixes you've discovered.
    CCC

  • I made eight radio buttons exclusive by each other.But It made the orignal program slow down.

    I made eight radio buttons exclusive by each other. But It made the
    original program slow down. I insert them parallel to the original
    program, ie, they are excuted at the same time, I think. But I found
    that the speed before I insert it is faster than after. I think If I
    use the exclusive radio buttons made by ni , the program will execute
    faster. but there aren't eight radio buttons I can choose. How can I
    do ? Or How can I make some changes to the slide that I will get the
    result like NI does?

    You'll have to give the processor some time. In the parallel loop, put a
    'Wait (ms)' from the Time & Diaglog pallete. Wire e.g. 10 to it, and the
    computer has some time to do other processes (like the other loop, and
    updating the user interface).
    When you have something like this, you can open the task manager (win nt,
    win 2000). If it it this problem, the processor uses 100% processor time.
    Regards,
    Wiebe.
    "Rosa" wrote in message
    news:[email protected]..
    > I made eight radio buttons exclusive by each other. But It made the
    > original program slow down. I insert them parallel to the original
    > program, ie, they are excuted at the same time, I think. But I found
    > that the speed before I insert it is fa
    ster than after. I think If I
    > use the exclusive radio buttons made by ni , the program will execute
    > faster. but there aren't eight radio buttons I can choose. How can I
    > do ? Or How can I make some changes to the slide that I will get the
    > result like NI does?

  • Can logic express slow down or change the key from playbacks like the program "Amazing slowdowner"?r

    Hello,
    I'm a new member and I'm actually trying to work with garage band to record voice and playback. Can "logic express" Vs. 8.0 slow down or change the key from playbacks like the program "Amazing slowdowner"? This is a programm wich costs 50 US Dollar and I want to decide if i buy it or not.
    What is the hgreatest different between "garage band" and logic express 8.0? Who can hepl me, which is the right thing for me. I find it difficult to find out which effects are the best only to record my voice with playback.
    Thanks for your advices.

    If you want to slow down the audio why not download a program from ABRSM called Speedshifter- its free and is very good.  you could export the audio from Logic and open the MP3 file with speed shifter. I think speedshifter  may also  have the ability to alter the pitch as well. I use it for Flute practice- its very useful !

  • Internet speed slows down when connected via airport express

    Internet speed slows down when connecting via airport express. When connecting directly via the timecapsulethe internet speed is ok, when connecting via the airport express the speed slows down.What can I do to change that? Any suggestions?

    Turn off the AirPort Express completely as a test, and move your computer very close to the location of the Express.
    As I said before, the Express can only extend the bandwidth (speed) that it receives from the Time Capsule, so the speed that you see there with the Express powered off will be the fastest speed of which the Express is capable.
    The Express will make the signal go further when it extends....but it will not make the signal go faster.
    A good location for a device that extends wirelessly is a point that is about half the distance from the Time Capsule and the general area that needs more wireless coverage.
    If you locate the AirPort Express too far from the Time Capsule or there are more than a couple of walls in the signal path, the signal will be very slow by the time that it reaches the Express....and the Express simply extends a signal that has already slowed down significantly.
    If you already have the Express located about half the distance between the Time Capsule and general area that needs more wireless coverage, how many walls, ceilings or other obstructions are there in the signal path between the Time Capsule, the AirPort Express and the area that needs more coverage?
    Often, due to obstructions, it is just not possible to achieve good performance when you try to extend a network wirelessly. The solution is connect the AirPort Express to the Time Capsule using a wired Ethernet connection.
    There is virtually no signal loss with this type of connection, so the Express can be located exactly where it is needed and it will produce a much faster wireless signal in this type of setup.

Maybe you are looking for