Integer from push the button inside of a counting loop

Hi all

I am currently working on a gui training. I am fairly new with labview and would appreciate any comments.

My main problem is in the lower left corner of the main loop. I hope to spend a whole in one number for each press of the button "Logging_EDACS".

I have problems with the main loop stuck. I did experiment with the condition of the loop to stop (I realize that the way it is Setup will not work now)

Again, I think that the main problem is with the loops.

Any help would be greatly appreciated.

Thank you very much

Kevin

First, you must read some tutorials. That said, I see what your problem is. Whenever your big loop performs an iteration, the smaller its shift register is reset to 0. If you still have 0 + 1 = 1. In fact, you don't even have this 'small' while loop, you just registers to offset a large.

Run with highest point running and you will be able to see what is happening.

Tags: NI Software

Similar Questions

  • My Mac Pro is not turn on; There is power at the output, light or sound when I push the button 'on '. Any suggestions? Thank you

    My Mac Pro is not turn on; There is power at the output, light or sound when I push the button 'on '. Any suggestions? Thank you

    It was AC off recently?

  • HP Pavilion g7-2270us: the drawer won't open when I push the button!

    Hello world! I've had my laptop for a couple days now, and I love it! Today, however, I tried to burn a disc and realized that when I push the button on the drawer to open it, it will not open.

    It opens, however, however; I can go to computer > right click on the disk driver > Eject and the drawer opens fine. The button is faulty?

    I mean, it's not that bad, and if that's the only problem, I can deal with it. It will not worsen, is it? I should myself with replacement?

    Thank you in advance!

    Also, I apologize if this is in the wrong section...

    Hello

    It looks like a mechanical fault with the mechanism of the optical drive.  While this may very well not cause other problems, because it is a whole new machine, my best advice would be to just return the phone to the retailer, it was purchased at and get a replacement.

    Best regards

    DP - K

  • AS3 putting the buttons inside the Movie Clip

    I'm practicing AS3 (after years of AS2) and can't have a button inside of a clip speaks to another clip on the main timeline. Here is the code:

    OneButton.addEventListener (MouseEvent.CLICK, OneButtonClicked);

    function OneButtonClicked(event:MouseEvent):void

    {

    MovieTarget.gotoAndStop (1);

    MovieDescription.gotoAndStop ("One");

    }

    TwoButton.addEventListener (MouseEvent.CLICK, TwoButtonClicked);

    function TwoButtonClicked(event:MouseEvent):void

    {

    MovieTarget.gotoAndStop (2);

    MovieDescription.gotoAndStop ("Two");

    }

    The code above works, but if I put OneButton and channels within a clip, I know can target the MovieTarget and MovieDescription. The reason that I want to put OneButton and strings inside it's own MC is so I can dim each hit after top by switching the playhead within this MC help. ? Thank you!

    Start from the beginning

    Press f8 and choose movieClip, then draw your button movie untoggled call then create another movie and create your button toggled or grayed button and call it greyedButton.  Go to the main stage add 2 instances of button and 2 greyedButton (just drag the library).  you have 4 instances on stage.  give the name of the instances of appeal and place them one over the other so you can see 2 buttons on the stage.  put the button greyed under the button.

    now with action script

    Button1.addEventListener (MouseEvent.CLICK, OneButtonClicked);

    function OneButtonClicked(event:MouseEvent):void

    {

    MovieTarget.gotoAndStop (1);

    MovieDescription.gotoAndStop ("One");

    Button1.visible = false; Here the button greyed will show

    }

    Button2.addEventListener (MouseEvent.CLICK, TwoButtonClicked);

    function TwoButtonClicked(event:MouseEvent):void

    {

    MovieTarget.gotoAndStop (2);

    MovieDescription.gotoAndStop ("Two");

    Button1.Visible = true; Here button1 will return to its orignal State

    Button2.visible = false / / here will show the button greyed

    }

  • Satellite A350 - 12j PSAL6E: Win 8.1 start-up without pushing the button works / stop

    Hello

    is there a way to boot the OS (WIN8.1) [system status: closed]
    without first pulling the screen upward and push the power button?

    FYI: I use an external connected HDMI screen/monitor!

    I know the typical rest on keyboard through BIOS, but use that requires a laptop in hibernation/standby mode.
    It bothers me a little every time up the screen and pushing
    Wake on Lan is not an alteranative as its connected via W - LAN

    Any ideas or suspicion appreciated!
    Thanks in advance.

    See you soon,.
    dirtyheizer

    Unfortunately, there is no other method to put the laptop, if the device has been turned off.

    You have to press the button to power ON the laptop.

  • My cat crossed the andf keyboard now I can't shut down my computer, I tried to push the button and also by clicking the close button

    My cat walked across keyboard and may have pushed some buttons. I can't turn off my computer, I tried the rinse button and also by clicking on the icon. How can I cancel it?

    Hello

    Press and hold the power button in until it stops.

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How empy and replace the buttons inside the Manager of horizontal management.

    Hello! So basically, I have 2 buttons at the top of the screen and a set of buttons inside a HorizontalFieldManager (let's call is Set 1 and 2). Now, when I click on the first button it should appear a Set 1 and then appear Set 2 and remove the Set1 on screen. How can I do this? Thank you!

    -Ryan

    The details in the referenced thread, you should get going.

    Basically, you add and remove fields.

    I suggest that you have a Manager to Set 1 and a Manager for value 2.  Add the two managers to the screen, with nothing in it,

    Make sure that Manager 2 is empty (deleteAll) and add fields associated with the value 1 to the Manager for the value 1, when they should be displayed - i.e. trigger it by pressing button 1.

    Remove the fields in Manager 1 and add the fields associated with the value 2 to the Manager for Set 2, when they should be displayed - i.e. trigger this by pressing button 2.

    I hope this helps.

  • Chronology of the buttons inside the ScrollPane

    Hey Adobe-ers.

    I created a scrollpane that contains different buttons.  Each button is a simple timeline of navigation, but won't function inside the scrollpane.  I just need to each button to "gotoframeandstop".  How can I make these buttons work in a scrollpane?

    Thank you!

    You can assign the code to the buttons on the main timeline so that the main scenario for gotoAndStop() targeting orders is direct (sp is the scrollpane instance name in this example)...

    MovieClip (sp.content).wesley.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_93);

    function fl_ClickToGoToAndStopAtFrame_93(event:MouseEvent):void
    {
    gotoAndStop (17);
    }

    ------------------------

    Or you could try to target the main timeline, hence the code is now...

    wesley.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_93);

    function fl_ClickToGoToAndStopAtFrame_93(event:MouseEvent):void

    {

    MovieClip (root). gotoAndStop (17);

    }

  • Define the actions of the buttons inside a loop for

    Hi, me again ^^
    This round is:

    I got a set of buttons and a text field where they load the content.

    I try to take a zillion functions and keep the neat code so I guessed I'd try set the actions to the buttons in the loop too. First of all, I had a few problems to the I counter inside the function onRelease (in fact I don't think I've ever had how do). But I tried this and it worked:
    Stop();
    var comprarXML = new XML();
    comprarXML.ignoreWhite = true;
    comprarXML.load('flash/comprar.xml');
    comprarXML.onLoad = checkLoading;
    function checkLoading (success) {}
    rootNode = comprarXML.firstChild;
    ButtonReleaseAndContent ();
    }
    function ButtonReleaseAndContent () {}
    for (i = 0; I < 12; i ++) {/ / my buttons are not dynamically generated, which is why the County.}
    btTemp = eval ('content.test.bt' + i);
    btTemp.txt.htmlText = rootNode.childNodes [i + 1].firstChild.firstChild.nodeValue;
    btTemp.temp = rootNode.childNodes [i + 1] Sublst.ChildNodes(1).ChildNodes(0) [1].firstChild.nodeValue;
    btTemp.onRelease = function () {}
    this.temp = content.test.test.htmlText;  the problematic line
    }
    }
    }
    On line where I put the text, I had one if "uh Yes, I may be refer to in the mc button, because the generated code goes in! So, I tried the this.temp, guessing it would be equal to the level of the key. A few seconds later I noticed that my SEO for the text field was not coming in the button, but the root. So I have no idea why this works. Anyone know what I did?

    If btTemp is a movieclip to assign dynamic properties (such as temp).  You can then retrieve this property when the button is released.

  • How to keep the buttons inside a DataGrid

    Is it possible to have buttons inside a DatGrid?

    For example, I want to Add, Delete, Update buttons inside a DataGrid control.

    Please tell me how to do this?

    For global buttons as you describe, I place them in a container as well as the data grid.

  • Access to the button inside Movieclip/ScrollPane

    Hi all

    I'm trying to understand how to create a button inside a movieclip.  I have a model that has movieclips in movieclips, and when I create a button (while using AS2) the button works if I test the stage, but in the whole flash movie it does not work.  I have also a few buttons inside a ScrollPane who also do not call correctly.

    I use this code for my button:

    facebookbtn.on (release) {}

    getURL ("http://www.facebook.com/", "_blank", "GET");

    }

    ↑ This is placed on the button "facebookbtn". I also tried to use: _root.bgPages.pg1.facebookbtn.on (release), does not.

    For the one inside a ScrollPane I try to call a javascript function:

    {We (Release)}

    to import flash.external.ExternalInterface;

    ExternalInterface.call("saveglobalscore",score) ("GroupDelegate", "dayone1");

    }

    ↑ This does not work, with or without the name of the button before it (release).

    I put the FLA here so that if someone has the time, could help me with this problem quickly. Thank you!

    FLA: download FLA

    Different code depending on how you assign it. what you show seems to be mixing up both ways...

    If you place this code on the button, use:

    on (release) {}

    getURL ("http://www.facebook.com/", "_blank", "GET");

    }

    If you place this code in the script that contains the button, do not forget that you gave this name of the instance to the button (in the properties, not the library panel), and then copy the following code:

    facebookbtn.onRelease = function() {}

    getURL ("http://www.facebook.com/", "_blank", "GET");

    }

  • With the help of the buttons inside the Scrollpane

    I have the following code to my (not in a scrollpane) buttons, but when I try to add additional channels (addEventListener) to correspond with the buttons in a scrollpane I get these error messages (1120: access of undefined property smith. 1120: access of undefined property thomas.). I tried using the script in a layer actions within the MC inside the scrollpane does not. Is someone can you please tell me what is wrong and (a simple code example) how to correct? Thank you.

    home.addEventListener (MouseEvent.CLICK, clickSection);
    about.addEventListener (MouseEvent.CLICK, clickSection);
    staff.addEventListener (MouseEvent.CLICK, clickSection);
    whyus.addEventListener (MouseEvent.CLICK, clickSection);
    services.addEventListener (MouseEvent.CLICK, clickSection);

    function clickSection(evtObj:MouseEvent) {}
    gotoAndPlay (evtObj.target.name);

    }

    and once again, in answer to your question.  attached is a file that shows exactly what I have been explained - how to add headphones borders on objects in a scrollpane.

  • Need help to connect the buttons inside a movieclip

    Hello

    I have five mcButtons inside a movieclip. I want to, so if the user clicks on the 1 mcButton it won't Stop on frame 2. I want then the other four mcButtons that were not clicked to stop on frame 2. Can't do the second part of this work. my code is below. Any help would be greatly appreciated.

    Thanks in advance

    prev08.Btn1.ID = 0;

    prev08.btn2.id = 1;

    prev08.btn3.id = 2;

    prev08.btn4.id = 3;

    prev08.btn5.id = 4;

    prev08.btn1.addEventListener (MouseEvent.CLICK, getXML08)

    prev08.btn2.addEventListener (MouseEvent.CLICK, getXML08)

    prev08.btn3.addEventListener (MouseEvent.CLICK, getXML08)

    prev08.btn4.addEventListener (MouseEvent.CLICK, getXML08)

    prev08.btn5.addEventListener (MouseEvent.CLICK, getXML08)

    function getXML08(event:MouseEvent):void

    {

    for (var i: int = 0; i < 18; i ++)

    {

    if(i == Event.Target.ID)

    {

    event.target.gotoAndStop (2)

    }

    on the other

    {

    prev08.getChildAt [i] .gotoAndStop (1)

    }

    }

    they all go to the same frame?  that makes no sense.

    If you want to run each in their own framework 1, except just clicked the button that should go to its Framework 2, direct all frame them 1 followed by the evt.currentTarget goes to frame 2:

    function getXML08(e:MouseEvent) {}

    for (var i: int = 1; i<>

    prev08 ["BNT" + i] .gotoAndStop (1);

    }

    MovieClip (e.currentTarget) .gotoAndStop (2);

    }

  • Satellite L40 'pass' without pushing the button enter

    My daughter had a computer failure with its Satellite L40 and I had to reinstall windows with the additions of the disk (s?) of product recovery.

    Curiously, there are two discs, no. 1 and no. 2, but installation is complete without use of DVD nr. 2.

    But after re-installation, I have the following problem: fine on Windows startup, everything works, but when I move the cursor with the mouse and it crosses a hyperlink, it in time (not all the time) opens the link as if I had used the button enter or the left button of the mouse. This makes working with the laptop barely possible.

    Does anyone know what causes this problem and how it can be fixed?

    Thank you!

    Arend
    (Netherlands)

    Hello

    Please check follow her. Press the WIN + E key combination to open Windows Explorer. Click TOOLS > folder options.
    As a general rule, tab check the last option, called click items as follows. Make sure that the option to double click... is chosen.

    Yet something in the mouse properties check the sensitivity of the mouse. May is set to touch light. Play around with these options.

  • How to use Vcle with the ENTER key on the keyboard rather than push the button

    Salvation or engineers,

    Instead of using the button send, after I order in a chain of key control I want to just press enter on the keyboard.

    I remove the button send, just use a binding string raises the event Vcle, can it work?

    can any body give me a hint?

    Thank you 1 million.

    It can work. You have problems with? Have you tried simply to create a structure of event and event management 'touch Down'?

Maybe you are looking for

  • HP mini 110 computer: enter the current password

    Hello! I have a problem with my computer hp mini 110. It asks me to enter the current password and I entered all the possible passwords that I could remember... The p/n is:-VA714UA #ABA. Model number: HP mini 110-1030NR. What should I do?

  • Upgrading RAM on Satellite L670D-106

    Hello world I want to ask about upgrading RAM for laptops, I have the Toshiba Satellite L670D-106 want a change from 4 GB to 8 GB. In fact, I have 2 x 2 GB 1066 MHZ Ram inside. What Type of RAM can itake max? 1066 or 1300 or 1600 DDR 3? THX for your

  • Bluetooth - cannot find tools

    Hello When I bought the laptop, it shows that there is an avalaibilty of bluetooth function. But when I use and you try to find and use it, it cannot connet. I found there is software in the laptop which is Broadcom 2070 Bluetooth 3.0. Is this laptop

  • Visual memory settings

    I get an occasional "visual low setting.Can you please advise action I need to takeThank you1477

  • Vista Sidebar uses 56% of the CPU.

    I have 4 GB of RAM and Vista sidebar is with 56% of it... Other problems: clock is stuck. Gadgets calendar & different weather, have purple underscoreDoes anyone have a simple solution to these problems