I want to create a counter for every time my completed loop

Hi my program works for a time given and writes the data to a file. When the time is reached, the program goes into a loop of 'pause', where nothing happens and then begins to run. I want to be able to decide have several times, he runs the program. I know that I can use a loop for, but I want to try to use some sort of counter as you can see in the file attachment below. After the counter reaches the value of data, then the whole of the program stops.

Thank you!

Why not do what you are already showing with a registry to offset, increment, and comparison in the while loop?

(You should do these integers values rather than double because you just count.  You can run into problems when when comparing floating point numbers (double) for equality.)

Tags: NI Software

Similar Questions

  • I want to create the function for the function create for ODD or EVEN (NUMBER)

    I want to create the function for the function create for ODD or EVEN (NUMBER) also
    If number is odd, multiply by 5
    If there is an even number, multiply it by 10;

    Not tested,

    create or replace function fnc_env_odd(p_number in number)
    return number as
    begin
     if p_number>0  -- Remove if you want to consider negative numbers also
       if mod(p_number,2)=0 --Means even
          return p_number*10;
       else                 --Means odd
          return p_number*5
       end if;
     end if;
    end;
    /
    

    G.

  • There is a second question on the same subject. I want to create several drags in every drop. Trolling, I give group names. Step 3: run the line drops. Step 4: click object actions step 5: uncheck everything except the name of a group. It works for groups

    I hope that someone will answer this. I want to create a drag and drop.  Each drop contains several answers of drag. I drag the Group and give them a Type name. I initial drops. I go to the actions of the object. I uncheck "accept all the ' I uncheck everything except the group I want to go to this decline.  When I preview, two drops accept three choices that they are supposed to accept. But firstly whatever I try, accepts only one possibility and allows others to bounce.  I also have a reset button that I can't find.  I spent hours and hours of work on this.

    !@

    I have it.  When you go to uncheck all choices except the group you want, you must also change the number. Even if the train is in a group, the County still consider them individually

  • recently, yahoo mail want to visit my home page every time I connect

    Recently, yahoo mail wants to make me my homepage I see not my email until I close or agree. This happens every time, I made my home page and the message disappeared changed it back to my old home page and the message appears. It's firefox or yahoo the problem? and how it stop without my Yahoo home page or change my email.

    Windows 7 latest firefox and yahoo.co.uk
    Concerning

    Hello

    To better help you with your question, please provide us with a screenshot. If you need help to create a screenshot, please see How to make a screenshot of my problem?

    Once you have done so, attach the file to screen shot saved to your post on the forum by clicking on the button Browse... under the box to post your reply . This will help us to visualize the problem.

    Thank you!

  • I want to save as PDF has every time, no options in a drop down

    Recently got a new computer and now when I save a PDF file under a different name (Protocol reasons) when I click on save as it gives me a list of options in a menu drop-down: PDF, certified PDF, Reader extended PDF, optimized, Image, Word, etc. of size reduced.

    Is it possible to set a default value in the preferences or somewhere so it will record every time in PDF format? I'd rather spend the time looking for a way to save my PDF as another type of file and then pass the time by selecting PDF whenever I have save a PDF file under a different name.

    Even just hitting A, then P is getting to be a pain.

    Adobe Acrobat Pro

    I assumed you have Acrobat XI, but it comes to X... So why not use Shift + Ctrl + S?

  • Photos wants to import the same photos every time.

    Whenever I have connect the iPhone 6, most to the iMac, Photos opens and lists the pictures that have not yet been imported. However, many photos in the list are old photos that supposedly already have been imported. These same pictures appear in the import list every time. Their import * one-more-time * does not help. They reappear next time, too.

    How can I get pictures to stop posting the photos already imported? Or are these pictures this importing Photos cannot but is too shy to say it?

    report this Apple

    http://www.Apple.com/feedback/photos.html

    LN

  • I created a banner for my site. On this banner, I want to create a preference for animating text in flash

    CS4. I need the text to appear in the side left one in the middle of the banner and disappear. I also need an animated text to come by the right side and do the same thing.

    Can someone give me some ideas of somne or links to videos where I RTC how do you?

    Tyou Thnak

    Click on the symbol of the text and create static text that you want to animate.  When you are finished, right-click on the text and click on convert to symbol/movieclip.  Then use the timeline for the motion tween and tween alpha your movieclip.

  • want to create end-user for applicationa and allow them to log in application

    Hi friends
    In my application, I want end users can register and after registering themselves, they will be able to log in application with their user name and password... at this moment I am developing application developer apex... any ideas for that...

    any help, you will enjoy
    Rommy

    Published by: rommy on April 13, 2009 14:07

    The user have certain additional rights granted in order to create new apex users? I'd be VERY suspicious of allowing the right to be granted and again suggest using a custom table to hold user information...

    Thank you

    Tony Miller
    Webster, TX

  • I want my home page to open every time I open a new tab. Where is the setting for that?

    When I open a new tab, it is always empty. I want it opens automatically to my homepage everytime I open a new tab.
    I thought I found a framework for this, but I can't find it now.

    There is no setting for this, but you can do this by using an add-on such as:

    Another way to open the home page in a new tab is in the Middle, click the home button in the navigation toolbar.

  • Write the measurement data in text file every 10 seconds for a duration of 2 seconds, creating a new file every time.

    Greetings,

    I'm working on an application for the acquisition of data that runs constantly and need to record data at intervals of 10 seconds for a duration of 2 seconds.

    On each interval recording, I have to create a new file that contains a number of journal in the name of the file (Test_1.txt, Test_2.txt,...);

    and add to the current time and date on the header of the file.

    My question is how can I do this with what I have so far?

    The attached vi is a notion of what I am trying to accomplish. The application also has the DAQmx read functions in the vicinity while loop.

    and a few manipulations of data. Apart from the main loop, I create and launch tasks DAQmx.

    Thank you for your help.

    Best regards

    Matej

    Hello

    Thought this one myself.

    Here is the solution, if anyone needs something similar.

    Best regards

    Matej

  • I already have InDesign and Bridge scripts start and you want to create a plugin for them using Extension Builder?

    Startup files are Javascript in the InDesign file, but file Bridge is converted to JavaScript binary file.

    I have installed Eclipse and Extension Builder. Then what?

    And this requires rewriting the code or just a short process of conversion?

    Thanks in advance.

    "The supported applications

    The following office applications Adobe supports the CEP and IPC e-mail monitor-based extensions. Versions of Creative Suite of products are supported only Flash-based extensions. Creative cloud releases are supported by HTML5/JavaScript extensions; the model Flash/ActionScript is

    disapproved, and support is removed:

    Host name for InDesign: IDSN

    Host of InCopy name: Clement POUPARD

    Hostname Illustrator: ILST

    Host name of Photoshop: PHXS

    Host name of prelude: LTIP

    Hostname first: Agency

    Host name of Dreamweaver: DRWV (for Flash extensions only)

    Name of the host Pro Flash: FLPR (HTML extensions only)

    "Hostname afterEffects: AEFT.

    Info:

    http://wwwimages.Adobe.com/content/dam/Adobe/en/DevNet/creativesuite/PDFs/CC14_Extension_S DK.pdf

  • I want to create recovery DVDs for my g6-1228so pavilion

    When I try to use HP Recovery Manager it asks 4 x DVD... When I try to use DVD + R or DVD + RW type he denied these type of DVD... Strange, so what type of DVD do I use?

    Hello

    You're welcome and Merry Christmas to you too

    All the best,

    DP - K

  • Create new session opens every time web app

    I created an application ADF consisting of one page, that runs on a Server WebLogic 12.1.3.

    The application must receive a few arguments on the url, like this:

    https://weblogic_server.com/application/pageflow?arg0=value0 & Arg1 = value1

    To read the parameters I use this code reads get them from the FacesContext

    HttpServletRequest request =  (HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest();
    String arg1 = request.getParameter("parameter1");

    It works fine, the problem is that when I call the link a second time with other values as arguments, the page still load by using the old values.

    How can I avoid to re-use the old session and always load the FacesContext with new values?

    This isn't the right design for your use case.

    I suggest create a stubborn workflow and place your page inside this workflow and make your settings as parameters to the workflow.

    Define your workflow ' 'Invoke URLS' to 'url-invoke-permitted ". Run your Jdeveloper workflow task to determine the URL for him.

    You can access the parameters of task flow in Java by calling

    AdfFacesContext.getCurrentInstance () .getPageFlowScope () .get ("param1");

  • The best words can't be removed permanently. He must have installed a hidden file that creates the add on every time the computer is started.

    I inadvertently allowed the best words to add to install for Firefox. It's annoying adds and sometimes links to malware. It can be disabled or removed from a session and become non-functional after you restart Firefox, but whenever the computer is started, it reappears. I guess it must be a file hidden somewhere that re - installs the add-in on each time the computer is started. Does anyone know how to permanently delete it?

    Hello HLT44, try to run a full scan of your system with security tools like the free version of malwarebytes and adwcleaner.

    Fix Firefox problems caused by malicious software

  • My new addition of Firefox does not have an address bar. How to install this. I don't want to use a search engine every time that I know the address.

    I would also have my old favorite tool and have not lined up on the side of the opening page.

    First of all, make sure that you are not in mode "full screen". The F11 function key toggles between the normal modes and full screen.

    Then, you can enable/disable the various toolbars using the Classic View menu. If you use the Firefox orange (abbreviated menus) button, press the ALT key, or press the F10 key to display the classic menu bar.

    If you are already showing the "Navigation toolbar", but the part of the address box is missing, you can reset your toolbars to their default values. Here's how:

    (1) the folder settings personal (AKA Firefox profile)

    Help (or Alt + h) > troubleshooting information > "view file" button.

    (2) switch back to Firefox and quit the program (for example, file > exit)

    (3) wait a few moments for Firefox complete update of the files in the settings folder, then rename localstore.rdf to something else, like localstore - bad.rdf or localstore.old. Alternatively, you can delete the file.

    (4) you are finished with your profile folder and you can restart Firefox now.

    A little luck?

Maybe you are looking for

  • drain battery MacBook or normal?

    I bought a macbook 12 "retina display earlier this year. I use it only once every three weeks or more. I usually load completely before I have unplug the unit and it is sitting for three weeks and when I turn it on it has lost about 30% of its power,

  • Firefox redirects to the page wyciwyg

    For the last two days, Firefox always redirects to a blank page when I try to visit any page on www.kongregate.com. When I use IE tab on the blank page, it comes up with the url "wyciwyg: / / #/www.kongregate.com" where # is a number that changes fro

  • How to remove the contrast to appear on the screen

    My monitor shows a contrast, and the screen is disrupted. This computer is not connected to a Web server.  This may correct or I have to buy or replace the monitor? (Dell)

  • the system idle process

    I can't believe how many people is blowing this issue, including MS MVP!  This search site and search the Web, there are tons of people with this same problem and the same exact symptoms: 1 response time slows to a CRAWL, sometimes stopping for up to

  • Need advice from WildCard RegEx

    I have a delicate situation where over a large body of code, spaces have been deleted inadvertently, so I need to find some words which must have a space after them, but now doesn't. In other words, I find errors.So let's say I need to find all occur