How do I create a start/stop button for each separate while loop within my program, when each of them does a different task?

I have a multimeter VI with separate while loops to accomplish the different tasks of reading  voltage, current, etc. Each while loop has a stop button, but I need a button that will have to be pressed in order for the while loop to even start. I tried putting another while loop around the present one, but it still has to run once before it will stop. I want the user to have to press the button before it runs, because they interfere with each other.
I am just learning so patience and your kind assistance is greatly appreciated!
ElectroKate

iZACHdx wrote:
Hello,
I'm not entirely clear with everything you have going on and what you want your final functionality to be, but you can use sequence structures to prevent a loop from starting until the user presses a button like this:
-Zach
I have to ask, why is an NI employee using examples using sequence frames? The same thing could be accomplished using data flow by simply wiring the value of the first stop button out of teh first while loop and connecting it to the second loop. This would then use data flow to control the sequence. Why show new users bad programming methods?
As to the original question I would concur with altenbach on using an event structure.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • How can I create a start up disk for a old intel core duo running 10.5.8.. Computer works fine, but can't find install disk.

    How can I create a start up disk for a old intel core duo running 10.5.8.. Computer works fine, but can't find install disk. Want to use internal disk drive or USD flash drive.

    Try calling 1-800-676-2775.  Give the serial number and thy *may* still burn you new install disks designed just for the hrdware in your system (for a fee, something like $160 per disk).  *May* is only because they may not burn disks for Leopard anymore.
    If they do not burn them for you, you can buy Leopard disks off Amazon or eBay for about $200.
    Have you considered Snow Leopard?.  Those disks only cost $19 (single user) or $29 (5-user license) through Apple by calling 1-800-MY-APPLE.

  • How do I change the start/stop time for multiple songs not just one song at a time?

    How do I chnage the start/stop time for multiple songs not just one song at a time?

    I don't think you can in iTunes.
    Multiple editing in Get Info does not offer an option to change start/stop times.

  • How can i create the blue "I"-Button for the Documentation in a view

    How can i create the blue "I"-Button for the documentation in a view?
    I want to prepare the button with user specified Information...
    and where must be create the documentation?
    thanks
    Edited by: DDC-TD on Apr 24, 2008 10:22 PM

    you have not mentioned where do u want the " I " information button ,
    1. If u want for a report , u can get the information button on selection-screen only .
       if u goto se38 on the mail screen u will find a radio button for documentaion ,
    when u select it and click 'create' or 'change' , an editor will open and u can document anything there ....
    2. Or specify where u want  info button .
    thanks ,
    reward points if usefull.

  • How to turn of "Automatic Start/Stop Detection for HDV Caputre

    Hello,
    I'm pulling my hair out trying to capture HDV 1080i-50 without getting separate clips created by the metadata at the start and stop of each shot. It's that feature called "Automatic Start/Stop Detection." I'm not talking about "Make new clip on timecode break."
    How can I turn this Start/Stop thing off. I don't want all these **** clips everytime the cameraman hit the record button.
    Anyone know how to turn it off so it stops making separate clips?
    Thanks!
    Kirk

    Yeah, Andy. It helps to have the manual!! THANKS. It says... Select or deselect "+Create new clip on Start/Stop+ checkbox in the Clip Settings Tab of the Log and Capture window."
    It's strange that I was looking for that kind of a box in all the various settings but not in the log/capture window.
    Kirk out.

  • HELP! How do I create a vertical scroll button for online banners?

    Hi, I am creating Flash online banners and the disclaimer needs to open as a vertical scroll banner once the mouse touches the 'x close' button where the words 'Disclaimer' is stated.
    How do I create a vertical scroll button including text?
    I am using Flash CS6.

    Hi Babaa,
    sry for the lateness of my reply.
    I would simply make a button that when clicked, displays a layer containing your disclaimer text. The discliamer text would be inside a Movie Clip (MC) for ease of controlling.
    the MC then contains a text field which has a scrollable field. as the user scrolls through you can then display a "close" button to close out the disclaimer MC.
    If you still need the work done feel free to email or PM me here and we can discuss the job further.
    Regards
    Russ

  • How do I create a start-up disk for Lion

    I would like to resize the Boot Camp partition on my new iMac running Lion 10.7.2.  To do that, using iPartition, I need to boot the system from another drive.  Ideally I'd like to use a USB flash drive or a DVD as the alternative boot drive. 
    Obviously I can't boot from the Recovery HD partition on the iMac's boot drive, so I used Recovery Disk Assistant to build a Recovery HD on a flash drive.  When I boot the system up from that flash drive I can see the icons for all of my files on the iMac, including those on the secondary hard drive, where iPartition lives, but I can't seem to launch any applications, including iPartition, because they are all grayed out.  Best I can tell, the Recovery HD is designed to provide installation and repair services, but doesn't give you a fully functioning OS.
    So my question is: How do I create a disk that will allow me to start-up a fully functioning copy of Mac OS X Lion from a drive other than my normal boot drive?  My second question is: Do I need to move iPartition to that drive or will it run from the secondary drive built in to the iMac.
    I'm a newbie to the Apple world, so if the answer is completely obvious, please forgive me for asking.
    Bob

    I used SuperDuper to create a bootable clone on an external drive where I installed my maintenance programs. Now whenever I need then I just boot from it.
    Allan

  • Single start/stop button for looping movie

    Dear Friends,
    I apologize if this has been addressed already in the forum, as I have had no luck searching here or the web in general for a solution.
    I currently have a 23-frame multilayered single-scene animation designed to loop continuously which I would like to add to my portfolio. As such, I am adding a Play button, which I would like to toggle to a Stop (or Pause) button. I currently have an instance of the Play button ("playButton") created.
    (You can find this at pineboxmovingco.com/gear_redux.swf)
    Besides imploring your assistance in providing the code, I must also ask if this requires (and best practice for) inserting an additional frame at the beginning for the ActionScript, as well as where/what layer to add an instance of the Stop button. I would like the movie to be stopped by default, presenting the Play button, toggling to the Stop button, and back to the Play button, each upon release.
    Thank you so much in advance!
    Michael T
    Phila, PA

    So, Ned, insert the stop(); command - with no other code - on each keyframe of the MC like so:
    Then, return to Scene 1 and select the MC, inserting the code:
    With an additional "stop" command in the first frame:
    I must be missing something as it is continues to loop. Any further assistance would be greatly appreciated...
    Michael
    (UPDATE: Replaced second image with AS reflecting replacement of XXX with "1".)
    Message was edited by: turnerator

  • How can i create forward and back buttons for a dreamweaver slideshow?

    Hi
    I am an illustrator attempting to create a website in dreamweaver (basically it will be an online portfolio). I would like to have a box/slideshow with images of my work that someone can browse through by clicking 'next' and 'back' buttons. Does anyone know how to do this? I have been trying to find out how to do this for ages - i dont want to use flash if possible as i am worried about making the site too complicated. I know how to make swap image thumbnails, but i think my site would be more user friendly (and look more professional) if i could have next and back buttons. Would this involve complicated css code (which scares the life out of me!) or is there a relatively easy way to do it? I have got two 'dreamweaver for idiots' books, but neither of them cover this topic. Can anyone help?

    If you are using CS4, there is a Command to create a Web Album... this does it automatically for you.
    Otherwise, you can create this manually.  Say you have 3 pages,
    page1.html  (is the index page of the album)
    page2.html
    page3.html
    Therefore, using ordinary text links
    Home would link to page1.html
    Previous would link to page3.html
    Next would link to page2.html
    You would need to make adjustments naturally to each page as you move along with the gallery pages, changing the previous and the next links as needed.  Below is a a basic example of setting up the links in a simple table structure.  You would also then style the table layout as you see fit - yes, using css preferably  :-)
    <table>
    <tr>
    <td><h2>MY GALLERY OF PHOTOS</h2>
    <a href="page3.html">Previous</a> | <a href="index.html">Home</a> | <a href="page2.html">Next</a>
    </td>
    </tr>
    <tr>
    <td>
    <br>
    <a href="../images/img_2401_jpg.jpg"><img src="../images/img_2401_jpg.jpg" border=0></a><br>
    </td>
    </tr>
    </table>
    Here's an article on creating an album using the DW Command I mentioned earlier. You could create the album and then copy and paste the code into a current page if you've already designed on.,... not too difficult, I just tested it.  You do however, need to have Fireworks to process the images.
    http://livedocs.adobe.com/en_US/Dreamweaver/9.0/help.html?content=WSc78c5058ca073340dcda91 10b1f693f21-7ad1.html
    You could also check out the Lightbox effect which is very popular:
    http://www.lokeshdhakar.com/projects/lightbox2/
    Or do a google search for 'jquery'.  There are different album effects using that framework as well.
    Hope some of this helps  :-)
    Nadia
    Adobe® Community Expert : Dreamweaver
    Unique CSS Templates |Tutorials |SEO Articles
    http://www.DreamweaverResources.com
    Book: Ultimate CSS Reference
    http://www.sitepoint.com/launch/005dfd4/3/133
    http://twitter.com/nadiap

  • How do I create a quick tool button for a specific preflight profile to flatten the document?

    Hi all,
    I'm using Acrobat XI on a Mac.
    So I've done my googling and searching of the forum, and figured out how to flatten a document (I apply my signature with a stamp) using preflight. However, I'd like to create a simple, quick tool (or otherwise) button to click and flatten a document. How do I go about doing that?

    I don't think you can create a button to run a Preflight Profile. But you can create a Preflight Droplet from the Preflight Options menu. This lets you drag and drop PDF files onto the droplet (essentially an alias to run the profile). You choose a Success folder and Failure folder location to direct files which pass or fail the preflight. (Read more in Acrobat Help.)

  • Separate Start/Stop times for a single song file

    I am trying to create some playlists for different moods e.g. calm, happy, upbeat etc.
    Now, my problem is this. I have some songs that have more than one mood within them, and I would like to set different start/stop times for the one song file.
    I would like to be able to set different start/stop times in each playlist and not affect the start/stop times for the file in the music library.
    Thanks in advance to anyone who can help!

    The only way to do this is to make a duplicate copy of the song for your playlist and adjust the times for the duplicate.

  • Create Run And Stop Buttons on Front Panel, rather than using the toolbar run/stop

    I would like to make my vi more user friendly by creating start and stop buttons on the front panel. I havent found much info on how to create them. I have created a boolean stop button to stop my FOR LOOP.
    -Chris

    Creating the buttons is easy - just select the style you want from the Boolean palette. What you need to do is change your diagram and the VI properties. To have a VI automatically start running when opened, open VI Properties by selecting that under the File menu or right clicking the VI's icon. Select Execution and check the Run when opened box. If you need the user to enter some data or change parameters before running the program, there's a couple of ways to go about it with a front panel Start button. You could have a separate while loop with just the start button in it and connect an output of that to a main while loop. This creates data flow and ensures that the start while loop executes before the main. You could create a simple state machine. T
    here's a couple of shipping examples. Just open the Example Finder and enter state for the keyword. You could also use the Event structure. Again, there are several shipping examples. Instead of doing a search, you could also browse the Example Finder and look at what's underneath the Building User Interfaces topic.
    p.s. I don't think you created a stop button for a for loop as there is no way to stop a for loop. What you can stop is a while loop.

  • How do i change what the stop button does

    Is it possible to change the behavior of the 'STOP' button depending on the state of the 'PLAY' button? What I would like is this; When Logic is playing the 'STOP' button stops play leaving the playhead where it is. If the stop button is pressed again (while logic is stopped) the playhead returns to it's previous position.
    This is how I've always used the transport in cubase and it works really well when tracking.
    Thanks in advance!

    Right-click, or click-hold on the stop button to bring up a list of possible behaviors. 

  • How to make a common RUN/STOP Button

    Hi,
    Does anyone has an example to make common START/STOP Button in main VI.
    Thanks,
    Kishor
    [email protected]

    I'm not sure what you are trying to achieve; do you want the start/stop button to pause the sequence and then commence where it was if start is pressed again?
    Using the state machine you can still force the execution order but have more control; you can stop the sequence whenever you want, skip frames based on user input or other...and you can have a single start/stop button.
    Attached is an example.
    MTO
    Attachments:
    Stoppable_sequence.vi ‏70 KB

  • URGENT! How do I create a vertical scroll button in Flash CS6 for online banners?

    Hi, I am creating Flash online banners and the disclaimer needs to open as a vertical scroll banner once the mouse touches the 'x close' button where the words 'Disclaimer' is stated.
    How do I create a vertical scroll button including text?
    I am using Flash CS6.

    Hi Babaa,
    sry for the lateness of my reply.
    I would simply make a button that when clicked, displays a layer containing your disclaimer text. The discliamer text would be inside a Movie Clip (MC) for ease of controlling.
    the MC then contains a text field which has a scrollable field. as the user scrolls through you can then display a "close" button to close out the disclaimer MC.
    If you still need the work done feel free to email or PM me here and we can discuss the job further.
    Regards
    Russ

Maybe you are looking for

  • Error in locating entity bean

    Hi when i tested my first session bean by IBM websphere Universal Test Client , i got the following error when execute getBookForPlatform(String workPlatform) saying error in locating entity bean Book_catalog and i tried to test Book_catalog entity b

  • Win XP problem (i think)

    I just installed a new mobo and processor and I have issues getting to windows.  according to the diagnostic leds the comp is fine up until the OS boots.  At that point I get an error message saying that windows has detected a virus.  It then immedia

  • Case sensitivity select statement without using native sql

    please help me , i have a selection screen as select-options : s_vbeln, s_kunnr(mandt),s_matnr and p_name as a parameter (type name1) which is case sensitive in sap abap database and i want to get output  from these fields in an alv.[vbeln,kunnr,name

  • Color Correct Keyframing

    I have footage shot under flourescent lights with an old camera. The white balance drifts considerably. I've been trying like heck to "catch the drift" and am making good progress with keyframes on cc 3-way. However, if I have to move across the zero

  • Revert from Mountain Lion to 10.6.2 without losing files and applications?

    I upgraded from 10.6.2 to 10.8.3 (Mountain Lion) on my iMac, but now I cannot use most of my software, nor my scanner (even with Image Capture) because they're mostly PowerPC based. I cannot afford to replace everything at this point. Can I revert to