How to make my waveform in control and design simulation run continuously?

Hi all, i m a begineer of Labview and have some question to ask.
I am using the Labview to design and implement a controller for FOPTD system, but i found that the waveform in the "control and simulation loop" is not running continuously. I mean it keep repeat in the same graph from 0 to 10second. Is there any approach to make it run continuously? 
Thankyou very much.
Solved!
Go to Solution.
Attachments:
Project 1.png ‏12 KB
Project 2.png ‏18 KB

Well, my suggestion then is to do the following: change final time from Inf back to 10 s (or whatever number that capture the whole simulation) and do a while loop around the Control and Simulation Loop with a "wait until next ms" function to give you time to react and change parameters, like this below. This would make LabVIEW to do the whole simulation, wait for 1000 ms and then, run the simulation again with new parameters. If you need more time, just need to change the constant wired to the "wait until next milisecond".
Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

Similar Messages

  • How to make a button to stop and run a for loop?

    How to make a button to stop and run a for loop?  and if it is stopped it shall start from where i t stopped.

    Your VI has some very fundamental flaws.
    The start/stop button is outside the FOR loop, thus it will NOT get read during execution of the FOR loop, but only before the FOR loop starts. Think dataflow!
    Thus the terminal of the start/stop button belongs inside the FOR loop.
    Your FOR loop iterates 20x, which probably takes about a nanosecond. You will NOT be fast enough to reliably press the start/stop button during a specific iteration of the FOR loop.
    Your code does not "stop and run" a FOR loop (sic). The loop always spins, but executes an empty case when "Stopped". I guess that's what you actually want?
    Once you solve (2), the x indicator will contain a random value whenever you "stop".
    As soon as the 20 iterations complete, the outer while loop spin an things start over, another nanosecond later.
    Place e.g. a 500ms wait inside the FOR loop to solve this.
    Don't place terminals of indicators on top of formula nodes.
    Your formula does not produce any output, so really has no purpose.
    Use a real "stop" button to terminate the while loop (mechanical action: latch when released). Right now you are using a plain switch, which does not reset to false before the next run. This means that you need to manually reset it before running the program again.
    It is oftern useful to operate the VI in execution highlighting mode. You will immediately see that your button does not get read during execution of the FOR loop. Try it!
    LabVIEW Champion . Do more with less code and in less time .

  • How to make it selected when clicked and open popup

    Hi,
    I 've a form in the parent page with many form elements.
    I've 2 radio buttons with values "Yes" and "No". I am opening a modal popup when clicked on "Yes" radio button. The modal popup is opening fine.
    But when I click "Yes", it' s not selected. After modal popup is closed, when I return to parent page, the option "Yes" is still not selected.
    How to make it selected when clicked and open popup?

    Perhaps try moving the application to your preferred desktop and then right-click it's dock icon > options > Assign to This Desktop.

  • Creating model with Control and Design LV2009

    Hello,
    I'm trying to make a PI control model with Control and Design in labview 2009. I'm tyring to create the following transferfunction:
    D(z)=Kp+((Kp*Ki)/(1-z^-1))
    But labview adds by itself an extra z^-1 in the Numerator
    See the attachment what I have tried. I first want to create 1+(1/(1-z^-1)). What I'm I doing wrong ?
    Greetz,
    Jeroen
    Attachments:
    model.jpg ‏50 KB

    Jeroen,
    The two expressions "1+(1/(1-z^-1))" and "(2-z^-1)/(1-z^-1)" are equivalent to one another.  They just have the terms rearranged.  Since LabVIEW expresses a transfer function as a numerator and denominator, it is drawing the function as "(2-z^-1)/(1-z^-1)".  You aren't doing anything wrong.
    Chris M 

  • How to make the size of VI and controls unchanged irrespecti​ve of the resolution​?

    Hi All,
    I have made the exe of my labview application and when i was trying to run it on the users PC the window was almost distorted in the sense the multicolumn list box on the front panel was alligned only to a portion of the screen instead of the full screen.I changed by setting The window size's maintain proportions of window for different monitor resolutions.But still the multicolumn list box was still having problem.
    Then i thought of including the next option"scale all the objects on the front panel as the window resizes" but that option was inactive.
    I read somewhere to select the control and then from the edit option select "scale object with panel".Unfortunately i could not find such an option in my edit menu even after i selected edit menu after selecting multi column list box which i want to scale according to the front panel.
    How do i go forward?
    Pls give me some help
    Thanks in advance

    You can size the area of a control or indicator programmatically using the Size property node. I believe in some cases you can increase the font size of the text in the object to achieve the same result. Here's an example of increasing the size of a system combo box by 100 in both width and height:
    Message Edited by Bill@NGC on 09-25-2007 07:04 PM
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx
    Attachments:
    sizecombo.png ‏3 KB

  • How do I use LabVIEW to control and vary the voltage on my Agilent Power Supply and simultaneously record temp from 1 DMM and voltage from another DMM?

    I am using an Agilent Power Supply  to apply a voltage to a
    thermistor to heat an Al chassis.  I want to use LabVIEW to tell
    the power supply to apply 5V for 10 minutes, then step to 7V for 10
    minutes, etc.  I am completely new to LabVIEW, so any help would be greatly appreciated!
    In addition to that, I want to place a type J thermocouple onto the Al
    surface and use a Keithley 2000 DMM to monitor the temperature (it has
    a built in conversion from V to Temp for type J).  I will also be
    using another Kelthley 2000 DMM to record the output voltage of a new
    uncalibrated thermocouple.  I would like to collect the output
    voltage for this uncalibrated thermocouple and the temperature reading
    from the type J simultaneously.  How should I go about doing this
    in LabVIEW?  I will be using version 6.1.  The power supply
    and DMMs will be connected to a PC using GPIB.
    Again any suggestions would be greatly appreciated- I have no idea
    where to begin on such a project.  I have taught myself how to
    make a basic VI- converting temp in oC to oF, but  that is as far
    as my knowledge goes.

    What you want to do should be fairly straightward and a good way to learn labview. 
    First off, if you haven't already, I would download the drivers for the Keithley and Agilent instruments.  I found the keithley drivers at the link below.  You will need to find the labview drivers for the Agilent PS at their website.  Drivers are the VI's you will use in your program to control the insturments.
    http://sine.ni.com/apps/we/niid_web_display.download_page?p_id_guid=E3B19B3E90B0659CE034080020E74861
    If you open Labview and go to the help menu and click on Labview bookshelf there is alot of information on getting you started coding labview.   This should get you started, if you have anymore questions just ask in this same thread and I am sure you will get all the help you need.
    Brian
    Message Edited by BrianPack on 09-14-2005 05:21 PM
    Message Edited by BrianPack on 09-14-2005 05:21 PM

  • How to make a valve in control editor?

    I want to make a control function in Labview5.0,but I don't know how to make it,for example I will make a valve that is a control funtion,how to make it properly

    If you were to go to Search Examples>Demonstrations>Process Control>Control Mixer Process, you'll find a VI with several custom controls including a valve. All it is is a boolean with custom images. To make your own, use a drawing program like Paint and make images of your valve in the open and closed state. Place a boolean control on a VI's front panel and choose Edit Control from the Edit menu. Once in the control editor go to customize mode. Choose Import Picture From File from the Edit menu. Right click the boolean control and choose Picture Item to Replace to determine which picture to replace with the one from file (a boolean actually uses 4 pictures but you only need to replace the first two which are the true and false states). Right click again and
    choose either Import Picture or Import at Same Size. Repeat for the other boolean state with a different picture. You should save your changes as a .ctl so that you can easily use it again.

  • How to make non-visibl​e Control on Front Panel Appear at Design Time?

    I have some Controls on the Front Panel whose visibility is changed (turned on or off) at Run Time. The problem is that if I stop the Run time, the Visibility of the Control remains in the runtime state in Design mode. So I may not be able to see or find the Control to make changes in Deisgn mode.
    How can I make all Controls on the Front Panel visible, or find and make visible a Control on the Front Panel whose Visibility has been made False?
    THANKS.
    Solved!
    Go to Solution.

    This is documented in the LabVIEW Help.
    Displaying Hidden Front Panel Objects
    Complete the following steps to display a hidden front panel control or indicator. You also can hide front panel controls and indicators.
    Find the block diagram terminal for the object. If you have several terminals with the same data type, right-click the terminals and select Visible Items»Label from the shortcut menu. Find the object with the label that matches the hidden front panel object.
    Right-click the terminal and select Show Control from the shortcut menu if the object is a control or Show Indicator if the object is an indicator.
    You also can use the Visible property to display controls and indicators programmatically.
    You also can display all hidden front panel controls and indicators.
    Path: Fundamentals -> Building the Front Panel -> How-To -> Configuring Front Panel Objects -> Displaying Hidden Front Panel Objects.

  • How to insert row in table control and save the data in tables

    Hi,
    I have one table control i am displaying data into table control ,
    my problem is : i want to display data into read mode in table control.
    but when i click on insert button on the same screen i want one blank line should inserted into table control , then i want to insert some data into table control on that row , when i click the save button . the new data inserted into the table control is insert that data into ztable ,
    please give me solution
    main problen is  how can know inserted line in table control and pass that data into ztable.

    Hi,
    Follow the below logic,
    PROCESS BEFORE OUTPUT.
      MODULE STATUS_0001.
      MODULE POPULATE_TABLE_CONTROL. --> Get the data from table store in 
                                                                          ITAB
      LOOP AT GT_CTRL_LP_D516 INTO GS_WA_CTRL_LP_D516
           WITH CONTROL CTRL_LP_D516
           CURSOR CTRL_LP_D516-CURRENT_LINE.
      The following module moves data to control
        MODULE MOVE_TO_CONTROL.--> Move data from ITAB to table control
      ENDLOOP.
    PROCESS AFTER INPUT.
      LOOP AT GT_CTRL_LP_D516.
      ENDLOOP.
      MODULE EXIT AT EXIT-COMMAND.
      MODULE USER_COMMAND_0001.  --> Here you have to take out the values from table control and update database table
    Reward points if helpful.
    Thanks and regards,
    Mallareddy Rayapureddy,
    Munich, Germany.

  • How ACR works with in-camera controls and ADR (Nikon D-lighting)

    After using Bridge for years, exploring more intense in-camera color and ADR controls in my D700 has revealed something I did not know and wonder if there is a solution:  Seen in the Bridge thumbnails, the photos show the effects of the in-camera settings, but when I click through to camera raw, the photos lose it, no color effects.  How can I retain the in-camera choices in Camera Raw and thus in the save files in tiff which I prefer for working files.  Thanks for answering what must be a very basic question.

    The answer is actually very simple, Gary:  What you are seeing is perfectly normal, expected behavior.  It is as designed, and you cannot change that.
    Those in-camera settings you reference apply exclusively to JPEG images, not to raw image captures.
    What Bridge is showing you is not a rendering (conversion) of the raw image data, but rather the JPEG preview that is embedded by the camera at the time of recording the image and to which the camera does apply the camera settings.  Depending on your Bridge preference settings, a new preview will be created once you apply your changes to the file.
    Adobe Camera Raw is not designed to emulate the conversion performed by the camera manufacturer's software, whether in-camera or otherwise, but to preserve the entire range of characteristics of the image and offer you absolute control over the entire rendering process as well as to give you certain canned camera profiles to automate and/or speed the process.
    Camera manufacturers design their raw conversion, in-camera  and otherwise, to compress the shadows in order to hide digital chroma noise, and to provide an over-contrasty, over-saturated and over-sharpened look that appeals to the majority of consumers.  Any savvy, experienced Adobe Camera Raw user can easily emulate said camera manufacturer's software and produce an identical result to the in-camera JPEG.
    If you want to "retain the in-camera choices in Camera Raw and thus in the save files in tiff which [you] prefer for working files" you can either (a) shoot straight JPEGs, or (b) come up with your own Camera Raw presets that mimic the conversion of the camera manufacturer.
    Raw means raw, uncooked, unsalted and unseasoned.  The in-camera JPEG has already been cooked, salted and seasoned with pepper according to the camera manufacturer's criteria of what constitutes a good rendering of the image.  A good, experienced cook can produce a much better, finer, more sophisticated cooked, salted and seasoned with a myriad herbs image from the raw capture with Adobe Camera Raw, in accordance with the skill, intention of the artist that produced the shot.
    Adobe Camera raw gives you complete control, and it allows you to mimic or reproduce whatever look you want including the above described over-contrasty, over-saturated and over-sharpened look that appeals to the majority of consumers, once you learn how to use Adobe Camera Raw to its full extent.  Here's an excellent place to start:
    Real World Camera Raw with Adobe Photoshop CS5
    Wo Tai Lao Le
    我太老了     (   No connection to Adobe or to guru Schewe, author of THE book.  )
    EDITED formatting only.
    Message was edited by: Tai Lao

  • How to make a photo half black and white with select colours

    Hey,
    Can anyone give me step by step instructions on how to make a photo black and white with abit of colour like the one attached... on CS4?
    Cheers

    Haven't seen you attached file as it takes a long time for attachments to load on this forum.  Try little camera icon instead.
    EASIEST way to have B&W in areas is to add Hue and Saturation adjustment layer.  Use sliders to make B&W.  Next paint on layer MASK, with black, to restore color in areas you want to show color.

  • [as2]How to make function to save screenshot and save moment

    im using Adobe flash and action script 2 to make my final project application (my project is game).
    on last step i have a problem.
    i make 2 button..
    first button : i want to use first button to save screenshot in certain parts  , like (x, y, w ,h)
    second button : i want to use second button as button to save game moment.. how to make this..

    1. google:  as2 jpegencoder
    2. google: sharedobject as2

  • How to make powermac G4 400GHz faster and run smoother.

    I really want to make my Power Mac G4 much faster and run smoother, can someone help me do this.
    P.S. I'm running mac OS X 10.4.11 and I'm trying to install mac OS X 10.6 snow leopard will upgrading my OS help improve performance.

    dragon,
    First thing to do, and the cheapest, is more RAM. It's not cool to recommend retailers, etc....but you really want to get the right stuff. Macs can be finicky about RAM. You can get the right stuff in many places...IF you know what you're doing. That being said, most 'pros' here in Discussions recommend macsales.com (OWC) and crucial.com because you'll get the right stuff at decent prices. Both have memory 'advisors', where you type in your machine type and get recommendations for the correct memory. Do that yourself, even if you're not ready to buy today.
    macsales.com has 512mb for about $30. Crucial wants $60; dunno why; they used to be comparable. One plan, on your limited budge, would be to get one 512mb stick; then save up and buy THE SAME product when you've saved up $30 more. I wouldn't mix. It can be done but you'll save yourself some grief just buying the same sticks from the same place. You'll see a pretty good improvement if you go to 1GB+.
    You'll also see pretty good performance if you limit the number of apps you install, particularly "third party plugins". Keep your Mac lean and mean and it'll perform well for years. Be sure to run Permissions Repair EVERY TIME you install an app. I say this because that 60GB HD will fill up pretty fast. Maybe it'd be better just to get the one 512MB stick, giving you 1.5GB RAM. Then, save up for a bigger HDD. You'll need those two upgrades before even thinking of a CPU upgrade.
    Get the free utility Macaroni and let it run daily, weekly, monthly tasks. Read thru other posts here in the 'Using ur PMac G4' and "Exanding ur PMac G4".
    Please come back if you have any more questions. HTH

  • HT1551 the signal from my iPad 2 stutters and doesn't run continuously.

    the signal with AirPlay breaks up and stops.  how do I get it to run continuously without freezing?

    http://support.apple.com/kb/HT1212

  • How to make my waveform from excel file perodic in labview graph

    Hi guys,
    Previously I've made a vi which integrates the excel file, to plot the graph values in labview using the values in the excel file to give the me a better flexibility to decide what waveform i want it to be. Can i know how to actually make the graph periodic, as in the waveform repeats,  because currently it can just plot out the waveform accordingly to the values i inserted in the excel. I've attached my vi and aso my csv file together. Thanks guy.
    Attachments:
    12.csv ‏1 KB
    graph.vi ‏18 KB

    So do you want to read the same values over again?
    If that is what you wish to achieve then use waveform chart as opposed to waveform graph. I editted your code slightly so that you can see the different.
    I hope this helps!
    Mehak D.
    Attachments:
    graph.vi ‏18 KB

Maybe you are looking for

  • ITunes 6.0.1.3 downloads a video 100%, then fails with "An Unknown Error"

    I've downloaded several videos from ITMS but the most recent one I've purchased will complete the download process and then fail. I've tried "check for purchases" several times and always get the same result - download the ~200 MB file, then fail whe

  • Problem with outer join/insert

    I created a test case in scott schema that describes my problem. I use emp table, and I want to have one more table - emp_info - that will store some additional info about employees. Not every employee will have additional info. I can't add a field t

  • Built-in iSight cam randomly stopped working. All I get is a green screen!

    I used it just yesterday with both Photobooth and iChat with no problems what so ever. Now all it shows is a green screen! Anybody know what the problem may be and how to fix it??? Thanks! -Jonathon

  • Cover in ipod fifth generation

    why appears on my ipod a cover for a song, different from the original one in my itunes ?

  • HELP: creating an Icon-only Button

    Hello! I've got the following problem: I would like to create a Button that has the appearance of a 23x20 pixel icon that I've stored on the hard disk, i.e. no regular button body around the icon. I've reached some progress myself by extending the ne