three loops in the same VI

Hello

I have three loops that run in the same VI. The first loop gain using fifo control data (we call it a loop of producer) and the other receive data from producer loop and save it to a TDMS file. While the last of them acquire loged the TDMS file data and display it on the graph

My data is backed up to the TDMS file, but this is not shown on the grahe.

I was wondering if the data are not displayed because the Labview does not turn three loops on the same time or cause I made a mistake in the third loop.

Thanks in advance for reply

My best regards

PS: Please find attached the VI

First, use a real queue to pass data from your Director to your consumption.  There is no need to put awaits your consumption.  The dequeue will limit the rate of the loop.

Then put the graph in your loop of producer.  It will save you so much headarches.

Tags: NI Software

Similar Questions

  • I have a VI that during three, while at the same not time but my computer no work everyone when run the program?

    My VI works with three loops while at the same time, but I use 100% of memory crashed the computer?

    Kaliman salvation,

    Whenever you are working with a While loop in LabVIEW, you must add a calendar to the loop, otherwise the CPU usage goes up to 100%.

    You have two functions of waiting: wait the next multiple ms or wait. The help of LabVIEW gives really good detail on the use of each of them. Then picture a wait until that following ms that shows several example.

  • Three blocks in the same way, belong to the same table

    Hi people,

    I am trying to find a way to make this work. I have currently 3 blocks on the form even where the first block is on the main canvas in blocks 2 and 3 will be on separate bunk canvases. According to a column value (Radio button group), I'll show stacked canvas 1 (block 2) or stacked canvas 2 (block 3). Unfortunately, all these elements must remain in the same table. I also keep them in separate blocks because some of the columns must be in two blocks.

    Landing up, which happens is that before INSERT trigger pulls the two blocks (since BLOCK_STATUS of the second block's NEW as well) and I'm landing by creating two records which is obviously a no-no situation.

    I tried the trigger for INSERTION WE with null, but then what's going on, it's that nothing is saved.

    For any idea or suggestion would be greatly appreciated.

    I use Forms 9i.

    Have a great weekend.

    Thank you!

    Perhaps this - make sure that a single database block, which has the "mirror elements' (use to synchronize it with the Item property).

    Kind regards

    Zlatko

  • can you use FaceTime with three devices at the same time.

    I need to be able to have a video conference with three people. A person will demonstrate a product whose other two will check to see that it is OK. Each person is in a different location. I can't find anywhere how to do this. Since it is an event of the time, I won't buy any conference high-end software. We will have a combination of iPhones and iPads.

    N ° but Skype should work.

  • How to get the items on a loop at the same time during the execution of the loop for

    Hello

    I am a student. I would like to know how to get the outside loop counter values For in parallel so that the loop runs rather than obtaining the value finally outside the loop for future prospects for the answers.

    Thank you

    Frederick

    You already said yes, and you have said some of the different ways (registrants, locals, reference, queue, etc.). Since the information was provided to your request, the thread can be considered closed? If you want details about how to implement something, you must provide the details on what you are doing.

  • Next button does not move come, but retains a loop on the same blade

    Hello

    I use 9 Captivate and am facing a problem with the next button. I did an image button and you want to move to the next slide. I have 15 slides in the project, but only the next button on slide 5 rather than navigate to slide 6, maintains a loop to slide 5. Ask for help from anyone who can help or was faced with a similar problem.

    Thank you!

    You can also check the actions of slide 6? More specific actions on the exit Enter / we on this slide? Maybe after a screenshot of the Interaction Panel advanced (F9)? Make sure that the actions for the slides and objects are completely visible by increasing the width of this column in the Panel.

    Have you ever tried to delete slides and recreate it? It is always useful to mention the exact version number, you use as well.

  • charged three times for the same thing

    They called to complain about bill twice to fix premium $99.00... fixed it by charging me the THIRD time

    Unfortunately, no one here can help you with this kind of problem.  Here we help other Windows users with questions about the users of Windows (not Microsoft employees) or problems of security on their Windows systems. You have to go back to anyone you first contacted for assistance.

  • I pressed two or three keys at the same time which resulted in rotation of my screen 90 degrees to the left. How to rotate my screen back!

    I was in the process of pressing control, alt, delete keys to open the the Task Manager and entered in another sequence of keys.  I don't know what keys I entered actually well.  I have what keys to press on to unrotate my screen?

    Rotation screen

    1. right click on your desktop
    2. click on screen resolution
    3. under Orientation change the setting
    4. click on OK

  • 2 while loops can work at the same time?

    I have two while loops in my program; We can read the data and the other does nothing until I hit stop on the first. I want the first and the second to run out of the time constraint, I have for it when I hit the Start button to always run. I use a DAQ and transfer data from one to another while loop. See the attached file.

    Main issues:

    How to tie the Start button?

    How to get the second loop to work with the first?

    Thank you

    Your problem is that the loops are dependent on the data.  If you want to run two loops at the same time, they cannot have wires linking one to the other.  Focus on the architecture of producer/consumer .  It uses queues to send data of a loop to the other.

  • Can we have three sets of Essbase on the same Linux box?

    We have three versions of HSS and planning on three different servers to Windows - one for the DEV, others for the stage and TEST.
    We have also three mounted 11.1.1.3 Essbase servers on a 64-bit Linux (one for DEV, others for the stage and TEST).
    Install DEV planning could be confused as to which Essbase is using the address because they all reside on the same 64-bit Linux box?
    Did someone correctly set schedule with three Essbases on the same LINUX box?
    I asked precisely because install DEV planning seems to work but REFRESH planning filters is not created in Essbase filters.
    In addition, CSSexport does not seem to recognize security Essbase.

    Do you mean that it does not all filters or the worst.
    Did you give the user access Essbase writing role?

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Parameters for the single instance of DCOM for multiple users on the same machine

    I have a DCOM on a Windows 2008 R2, Enterprise Edition machine. I would like to be able to open an instance of the DCOM and have it accessible by multiple users on the same machine, i.e. users connected to Windows accounts.

    What settings will do? In the tab 'identity' in dcomconfg for my DCOM object settings, I tried "interactive user", 'the user running' and 'this user', all three lead to the same result: start a new instance DCOM on easch Windows of the connected customer accounts, despite the existence of bodies being already running on other accounts. This baffles me, especially with the third alternative, 'this user', which should certainly lead to all proceedings being started by this specific account? This is not the case. Any help would be appreciated!

    This issue is beyond the scope of this site (for consumers) and to be sure, you get the best (and fastest) reply, we have to ask either on Technet (for IT Pro) or MSDN (for developers)
    *
  • All images need the same size

    Hi all

    Is it possible to correct all the images in a loop in the same size.

    i.e., width = 10mm; Height = 8mm;

    I am successful to resize the limits. But I'm not able to fix in the same size for the objects of research.

    Try the Code:

    var myDoc = app.activeDocument;
    myDoc.viewPreferences.horizontalMeasurementUnits = myDoc.viewPreferences.verticalMeasurementUnits = MeasurementUnits.MILLIMETERS;
    
    app.findObjectPreferences = NothingEnum.nothing;
    app.changeObjectPreferences = NothingEnum.nothing;
    
    app.findChangeObjectOptions.objectType = ObjectTypes.ALL_FRAMES_TYPE;
    app.findObjectPreferences.appliedObjectStyles ="aaa";
    
     var myFind = app.activeDocument.findObject();
    //~  alert(myFind.length)
    
     for(i=0; i<myFind.length; i++)
     {
         var myBounds = myFind[i].geometricBounds;
         myBounds[3]-myBounds[1] = "10mm"
         myBounds[2] - myBounds[0] = "8mm"
    
    //~      myBounds[2] = myBounds[2] + 10;
    //~     myBounds[3] = myBounds[3] + 10
    //~      myFind[i].geometricBounds = myBounds
         }
    

    Could someone help with my request.

    Thanks in advance

    Beginner

    BEGINNER_X wrote:

    ...for(i=0; i...
         }
    
    

    If someone asks you to set the y - x = 10 will you

    increase/decrease the 'y' or

    increase/decrease the 'x' or

    two of them?

    How does InDesign?

    myBounds = myFound[i].geometricBounds;
    myBound[2] = myBounds[0] + 8;
    myBound[3] = myBounds[1] + 10;
    myFound[i].geometricBounds = myBounds;
    

    It should work inside the loop

    Jarek

  • Do all the pages of the same width?

    I've seen several answers to this question, but they seem to all involved to use an external application such as PDF Creator, distilling or something like that.

    I have a PDF with three pages of different widths.  Of in Acrobat X, what is the best way to do all three pages of the same width, or is it still possible without using an external application?  If possible, please describe how to proceed step by step.

    Also, I know there are measures that can be taken to avoid ending with pdf files that use pages of different lengths, but this question is not on this topic.  It comes to existing pdf.  Thank you very much

    I use the version of Adobe Acrobat X 10.0.0.396 on Windows XP Pro SP3

    You can use the crop tool to set all pages on one size. However, you can choose the size of the page.

  • The mail is in a loop trying to send the same letter without success

    I have this problem, I can not send emails, any email account that I use. mail gets in a tent loop to send the same email over and over again.

    The window with the unsent mail keeps poping up and go without having me no press.

    Somoe...... Hotel details

    The goies of e-mail in the Outbox mailbox and it has not registered as sent. To stop I'm going to Outbox and delete the e-mail, then the email window appears a few times, and it stops.

    I need help!

    Somoe...... Hotel details

    I tried to restart the any and rebuild the mailboxes

  • I have House part for my iPhone and apple TV, but the iPhone libraries are not listed under computers on Apple TV.  I don't see libraries for my Mac.  I use the same ID across the three devices apple

    I have House part for my iPhone and apple TV, but the iPhone libraries are not listed under computers on Apple TV.  I don't see libraries for my Mac.  I use the same identifier apple through the three devices. I have an iPhone 6 more working 9.0. The devices are all on the same home network running.

    You can't share a library that is located on an iPhone, iPod or iPad with other devices. You can only share a library that is located on a Mac or a PC with other devices. On other devices, iPhone, iPod and iPad for example, you then activate home sharing to connect to the shared library.

Maybe you are looking for