When i dont press the button i want the value start to decrease by itself

Dear all,
I am controlling a numeric control value in the front panel : I am pressing increase button to increase the value, but what I want is that when i stop pressing the increment button the numeric value should decrease by itseft (automatically) Please, I need your help. 
Kind Regards from Turkey.
Have a nice day.

Salander wrote:
Firstly thank you for your reply, actually i couldnt try any of these,
Why not?
Salander wrote:
I have something in my mind but I am sure it wont work.
Then put something else in your mind! Don't spend thoughts on things that won't work.
Salander wrote:
I am not very good at programming, I want it to decrease Linearly to Zero.
What have you tried so far? Nobody is good at programming until they program for a while and learn new skills.
A car does not decrease the speed linearly to zero.
If you are controlling a real car with real hardware, it will decrease to zero automatically due to friction and wind resistance, so why would you need to program it?
If you are trying to simulate a car in software, create a software model that simulates a car based on parameters (current speed, mass, inertia, slope, wind resistance, drag coefficients, rolling resistance, friction, engine power, etc.).
I would recommend to open the example finder an look at some examples. have a look at the "tank simulation.vi", and substitute tank level with speed, or look at "vibration analysis.vi". See how the rotation speed decreases slowly if the velocity is set to zero.  
Attached is a simplified version, hopefully it can give you some ideas. If this is for school, you need to make sure that you fully understand the reason for every little detail in the program and can explain it to you teacher if needed. Try to expand the functionality by adding a brake pedal, for example.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Car Simulation.vi ‏15 KB

Similar Messages

  • I have a button in JSP page inside an UIWebView by pressing the button i want to run another existing iPhone native application in background only.Do anyone have a solution for this.

    I have a button in JSP page inside an UIWebView by pressing the button i want to run another
    existing iPhone native application in background only.Do anyone have a solution for this.

    Sounds like a virus.... I hope it's not...
    Launching Other Apps within an iPhone

  • I want my desire url while opening the new tab.. ie when i press ctrl+t i want the google page to be displayed..?

    First i get the blank page while opening the new tab.. but after installing the new add on it was changed to the search engine called "searchq".. so i want to change that to google.. the thing i need is when i open he new tab i want the google page to be displayed.. pls help me ..

    See:
    *[/questions/816181]
    *[/questions/790833]

  • When "Enter" is pressed, all buttons loose highlight

    I have a simple menu with two buttons. Each button is set for the Shape of "SimpleButton". There is a normal, select, and press color state for each button. Each button has it's own asset. When a button is "pressed", ie Enter is hit on the remote, the button goes into press state for a moment, but then both buttons revert to normal state before my track starts. This does not show up when I preview the menu on my computer, only on a set top DVD player (I've tried 3 different ones). I cannot find any info related to this, help would be much appreciated.

    Thanks for the reply. I believe that a yes in correct for your question. The button goes from selected to active, and then for a split second before the track plays, ALL of the buttons go from normal to selected, basically flashing on the screen. Is this normal behavior, it looks very odd?
    Also, this may play a role in this problem, all of the buttons react to the same normal state color setting, whether I've chosen highlight set 1, 2, or 3.
    Is there a problem with me relying on the "SimpleButton" state for all of my buttons?
    The final DVD plays just fine on my computer, just like the preview looks just fine within DVDSP. Put it on a set top and the highlights are bad. Thanks again for any input.

  • HT5312 I am trying to reset my security questions, I cannot locate the option for a rescue email address with My Apple Id. When I click on the button to reset the security questions, it states it is sending an email to the primay email address, but it doe

    I am trying to reset the Security Questions as I have forgotten them, when I have logged into My Apple Id, and click on the button to reset the Security Questions, it states it is sending an email to the Primary Email address. I do not have the option to input a Rescue Email address, the only option I have is to input an Alternate Email address, which I have done so.
    Also when I have tried to book an appointment throuth Online Support, I have not successful, I have rung a telephone number provided by the Mac Store in Perth, Australia and the reply provided is that we are closed. I was given to understand that Apple provided 24/7 Support to their users.

    Hot N Spicy wrote:
    I am trying to reset the Security Questions as I have forgotten them,
    Forgotten Security Questions / Answers...
    See Here > Apple ID: Contacting Apple for help with Apple ID account security
              Ask to speak with the Account Security Team...
    Or Email Here  >  Apple  Support  iTunes Store  Contact
    More Info >  Apple ID: All about Apple ID security questions
    Note:
    You can only set up and/or change a Rescue Email Before you forget the questions/answers

  • When I sync music to iPod how ca I get it to sync in the order I want the playlist verse the radom rder it keeps putting it in?

    When syncing music why will it not sync in the order I want the playlist instead of this random way it puts it on the ipod?

    this worked for me on my iphone and ipad
    make sure that all your software is up to date
    turn phone on airplane mode
    uncheck all music
    sync
    this will erase all music on your phone
    recheck music you want from your libary
    apply

  • When I click on the button to download the new IOS software, I get a message saying that all the items on my iTouch will be removed.  Will I have to reload everything after updating the software?

    When I click on the button to download the new IOS software, I get a message saying that all the items on my iTouch will be removed.  Will I have to reload everything after updating the software?  Because I had to have my hard drive wiped a while back, I have items on my iTouch that are not in my iTunes.  Is there a way to copy everything on the iTouch into iTunes, if necessary, before I load the new software?

    It is possible to transfer purchases from your iPod back into iTunes before updating the OS. If you had any CDs from your personal collection, these you have to put back into iTunes manually. Hope this helps you & good luck!

  • When I click on a link, I want the tab to open at the far right. How can I do this?

    When I click on a link, I want the tab to open at the far right. How can I do this?

    hello kipurr, you can enter '''about:config''' into the firefox location bar (confirm the info message in case it shows up), search for the preference named '''browser.tabs.insertRelatedAfterCurrent''' and double-click & change its value to '''false'''.

  • G4 power mac PCI, cuda / pmu button (s),  what is the button next to the cuda / pmu button for ??

    In this photo from Apple on resetting the "cuda" or "pmu", there is the proper button circled for the reset. My question maybe silly, but WHAT is the button just to the right of it for ??   .....  It must be important enough to HAVE a BUTTON ??  ..... shown in this photo.
    OK, here it is, just outside the red circle, to the right.  It must be Important enough to HAVE a BUTTON, yet I have not seen , or heard of it being mentioned anywhere ???   .....   I have this very machine and I am expierencing some problems with it, and I find myself so tempted and wanting to push it !!, ... But not knowing what it's for has the wheels inside my head spinning (like mad).  ....  It and other things maybe driving me crazy (ier) !!
    ANYONE KNOW WHAT IT'S FOR ?????  .............  Thank You, and Have a Nice Day !!,  wayne146

    japamac, thanks for the fast reply,
    I have done the cuda reset with some success, still not working correctly though, machine only responds to power button on the front, not to the k/b button, (it did before) even used another k/b, both known to be good. Since this problem started, cuda reset has been done a few times, with some time intervals between them, battery tested, new battery, etc., etc.
    On my screen here, near the top, is a column titled, "more like this", in it is a "green checked" answer that reads; After resetting cuda / pmu, doesn't power up, 400mhz imac (<not my machine, I know) what next" answered by "Spudnuty", IN his reply's he mentions a list called "Symptoms / Cures Tables", related to pmu / cuda problems as I read it. Yet I have not found any such list by doing searches varying how I word it.
    Would You know of this list ?, or if it is still available ? ..... I had no luck looking for it, ..... wayne146 ....    

  • The buttons in main the vi get locked after opening a vi reference in a subpanel and using buttons within the subpanel.

    I am trying to open a reference to a vi in the subpanel of the main vi. However after the vi opens in the subpanel and after pressing a few buttons in the subpanel the buttons in the main vi get locked, i.e. I can't even close the main vi or control anything else. Is there any way how I can avoid this happening?

    > The buttons in main the vi get locked after opening a vi reference in
    > a subpanel and using buttons within the subpanel.
    >
    > I am trying to open a reference to a vi in the subpanel of the main
    > vi. However after the vi opens in the subpanel and after pressing a
    > few buttons in the subpanel the buttons in the main vi get locked,
    > i.e. I can't even close the main vi or control anything else. Is there
    > any way how I can avoid this happening?
    This is most likely happening because in either the top or sub panel,
    there is an event structure that is queuing events, and is set to lock
    the panel until the events are handled, and because of the logic in the
    diagram, the events aren't being pulled from the queue.
    So, you have a deadlock. You are waiting
    on the panel. The panel is
    waiting on the diagram. And the diagram is waiting on something else.
    So, if there are indeed event structures involved, determine where in
    the diagram things are delaying. Also, if you do not need the panel to
    lock until the event is handled, you can change the setting in the
    events dialog on the structure. But the events will still be queued
    until the diagram starts executing.
    Greg McKaskle

  • HT4623 My husband just did the update for his iPhone 4, his phone is frozen with the iTunes page and a usb cable across the homescreen. He's tried holding down all the buttons all at the same time. can't shut it off. popped out the sim card, won't charge

    We just did the iPhone update ios 6. The screen is frozen with the iTunes logo and a picture of a USB cale across the screen. none of the buttons respond.The phone does not recognize the apple USB when connected. We tried holding all the buttons down at the same time and also removed the SIM card and reinserted.

    If it's not being recognized while it's in recovery mode in your itunes, try this
    plug the phone into the usb attached to the computer
    hold down the home and sleep/wake button on top simultaneously until the phone's screen goes black
    When the screen goes black, release your finger from the sleep/week button on top but continue holding the home button until you see a dialog on the itunes screen on your computer that says 'itunes has detected a device in recovery mode'
    then say 'ok,' select 'restore,' and say 'restore and update'

  • How do I enable the button to use the tree list in excel? (Enable the list type: Tree enabled in Office 2013 - VSTF 2013)

    Hi, I was looking to see if anyone knows how I can troubleshoot my connection problem with TFS view in excel. I'm trying to  produce a tree view in Office 2013 as described in the following KB -
    https://msdn.microsoft.com/en-us/library/dd286627.aspx
    I have followed the instructions on the KB all the way up to : 'Add backlog items and tasks and their parent-child links using a tree list' and at this point I can't seem to get it to work as the button is greyed out.
    Note that I have completed steps 1-6 for the previous procedure... all 6 steps work just fine. However on step 2 of the second procedure - the instructions state I should be able to 'Add Tree Level' - However the button is greyed out.
    Anyone know what I need to do to enable the button to use the tree list in excel? 
    Frank

    Frank,
    I believe your issue is that you have opened a Flat query and are trying to add tree levels. A flat query is just that and you cannot change the query type from Excel.
    The second process is managing a backlog (which is a tree). TFS web access has a link on the backlog view to create a query. That query will be a "tree of work items" query that returns the items in the backlog including their parent-child relationships.
    This type of query supports the Add Tree Level and Add Child functionality as does a new Input List (not bound to an existing query).
    "You will find a fortune, though it will not be the one you seek." -
    Blind Seer, O Brother Where Art Thou
    Please Mark posts as answers or helpful so that others may find the fortune they seek.

  • Why are the buttons not visible at program start?

    Can anybody tell me why the buttons are invisible at Program start? They are only then visible, if the client are is invalidated, in other words, if i resize/minimize the window etc.
    public class Calculator extends Frame
    private Button[] button;
    private Panel p_button;
    public Calculator()
    super();
    SetWindowProperties();
    button = new Button[10];
    p_button = new Panel();
    CreateButtons();
    AddPanels();
    AddButtons();
    SetButtonProperties();
    addWindowListener(new WindowHandler());
    private void SetWindowProperties()
    setTitle("Calculator");
    setBackground(Color.white);
    setLayout(new BorderLayout());
    setSize(400,400);
    setLocation(250,200);
    setVisible(true);
    private void CreateButtons()
    for (int i=0; i<=9; i++)
    button = new Button(String.valueOf(i));
    private void SetButtonProperties()
    for (int i=0; i<=9; i++)
    button.setSize(50, 50);
    button.setBackground(Color.gray);
    private void AddButtons()
    p_button.setLayout(new GridLayout(5, 3, 5, 5));
    for (int i=1; i<=9; i++)
    p_button.add(button);
    for (int i=1; i<=9; i++)
    button.addActionListener(new ButtonHandler());
    private void AddPanels()
    add(p_button, BorderLayout.CENTER);
    }

    First, use code tags.
    Second, your code doesn't even compile. Please create a Short,Self Contained, Compilable and Executable, Example Program

  • I'm on a prepaid plan for the 4s, i want the hotspot option which isn't offered on the prepaid plan.  heard the connection is too slow on the 4s only worth it on the 5 or 5s. would you agree? not sure how much the hotspot would increase my monthly bill...

    i'm on a prepaid plan for the 4s, i want the hotspot option which isn't offered on the prepaid plan.  heard the connection is too slow on the 4s only worth it on the 5 or 5s. would you agree? not sure how much the hotspot would increase my monthly bill....

    To use the hotspot for any of those devices, I believe you have to switch to a postpaid account and plan. You can see the pricing for the available postpaid plans under the "Shop" area of the website.

  • Can I change the Caption (name) of the button Go for the dashboard prompt

    Hi,
    Can I change the Caption (name) of the button Go for the dashboard prompt
    I need to change the name of the button to Set Prompt Values.
    i did not see an option to do this
    Thanks

    Hello Yusuf,
    First follow the forum Etiquette, see this http://forums.oracle.com/forums/ann.jspa?annID=939
    You have to close the answered threads...
    And regarding your question
    Go to *{OracleBIDir}:\oraclebi\web\msgdb\l_en\messages*
    Open globalfiltermessages.xml file.
    Find this text
    <WebMessage name="kmsgGFPGo"><TEXT>Go</TEXT></WebMessage>Now edit the Go which is there between the TEXT tags..
    Ex: i am editing Go to Confirm
    <WebMessage name="kmsgGFPGo"><TEXT>Confirm</TEXT></WebMessage>Save this file and just restart your presentation service.
    Check your dashboard prompt now...
    (Editing this post from here)
    As per your requirement edit should be:
    <WebMessage name="kmsgGFPGo"><TEXT>Set Prompt Values</TEXT></WebMessage>Edited by: Kishore Guggilla on Jul 18, 2009 2:45 AM

Maybe you are looking for

  • What is difference between  Service map iview and Workset Map iview

    Hi Experts,                     Can anyone tell me the difference between  service map iView and Workset Map iView. When I am creating these iViews, its seams both are same. I canu2019t find difference still, can anyone help me out of this Thanks in

  • Agent Commission Payment via Rebate settlement or any other

    Hi Gurus, In our scenario: My client business is 90% through Agents (i.e both Domestic and Exports). Client wants to settle the commission 1. immediately after the invoice 2. monthly 3. quarterly. Could you please throw light immediately to address t

  • Blank sender/subject spam - how to get mail to rec as junk?

    I'm getting hammered again in every mailbox with these blank sender/subject/body spam emails. I asked about a year ago and the word was to buy a spam filter software program. I'd rather get a script to do this. I recall I had one which I can't find.

  • Renamed and lost pictures without a program can i get them back?

    is there a way to get a picture back  lost after I renamed in the folder (not with a program) after they disappeared i looked up what to do and came across Photoshop elements and dl the program, imported the file and tired to reconnect. but it said n

  • Interaction with Flash files

    Hi, Whats the easiest way to interact with a flash file from flash builder? I wish to change the speed of a tween in a flash file based on a value set in flash builder. Do you have to do make my flash file a component? .. Could someone point me in th