Case structure back and forth from LED

Hello, I'm trying to make a case structure switch back and forth everytime a boolean LED indicator goes off. I want case one to start when a button is pushed, switch to case two when an LED indicator goes on, then switch back to case one when that same LED goes on again, then case two the next time the light goes on, and so on. The LED is set to go on every ten seconds. So far i have the case structure in a while loop but im not sure how to get them to switch back and forth using this one LED. Any suggestions?

Then you have two asynchronous parallel loops, and you want one of them to receive information (Boolean) from the other in order to determine its state.
If the loop with the elapsed time contains nothing but elapsed time, then consider moving it to the first loop.
Otherwise, you should use a form of synchronization communication, such as a Notifier or User Event, to send data from your loop with the elapsed time to your loop with the case structure.

Similar Messages

  • I use my ipod for audible books downloads. In the past I have been able to move books back and forth from library to ipod according to what I was listening to.  I can no longer retreive books in the library. Any suggestions?

    I use  my 6th generation Ipod strictly for Audible downloads.  In the past, I have been able to move titles back and forth from the Ipod and my Itunes library, to control the amount books on the ipod. Recently, an exclamation mark has appeared next to the titles as I try to transfer to the ipod, and the book does not transfer.  Any suggestions on how to regain access to my purchased library? 

    1. You did not get an error message telling you that your iPhoto library was getting full. You got a message telling you that your HD was getting full, right?
    OS X needs about 10 gigs of hard drive space for normal OS operations - things like virtual memory, temporary files and so on.
    Without this space your Mac will slow down as the OS hunts for space on the disk, files will be fragmented, also slowing things down, apps will crash and the risk of data corruption - that is damage to your files, photos, music - increases exponentially.
    Your first priority is to make more space on that HD. Nothing else can be done until you do.
    Purchase an external HD and move your Photos and Music to it. Both iPhoto and iTunes can run perfectly well with the Library on an external disk.
    Your Library has been damaged from being run on an overfull disk.
    How much free space on it now?

  • I have an IPod 2nd generation I bought from a pawn shop.  It worked for a day but now when I try to charge it, it keeps switching back and forth from the large full screen icon of a low battery and a lighting bolt below to the blue screen with the apple s

    I have an IPod 2nd generation I bought from a pawn shop.  It worked for a day but now when I try to charge it, it keeps switching back and forth from the large full screen icon of a low battery and a lighting bolt below to the blue screen with the apple symbol in the middle.  I had it on charge all night but still dead.

    Try here.
    iPod touch: Hardware troubleshooting
    You may have a hardware problem.

  • Can photos be transferred back and forth from/to iPhoto and an external drive? If so, how?

    Can photos be transferred back and forth from/to iPhoto and an external drive? If so, how?

    When in iPhoto for iOS you can share your photo to iTunes and then connect your iPad to your computer and use the file sharing window to move the photo to any connected hard disk. Sharing to iTunes is the only way to maintain original file size when sharing a photo in iPhoto for iOS.

  • Once bootcamp is installed on my Mac, how easy is it to go back and forth from windows to Mac? Just a press of button or do I have to completely log off of one to go to the other?

    Once bootcamp is installed on my Mac, how easy is it to go back and forth from windows to Mac? Just a press of button or do I have to completely log off of one to go to the other?

    Using vitual machine programs (VirtualBox, Parallels, VMWare Fusion) you can run both at the same time.
    Load Windows under BootCamp.  Then load the VM software and select the existing BootCamp partition as the "virtualized space".
    But ... BootCamp first, following Csound1's advice about backups.  And you will wantto boost RAM most likely because you need to allocate certain amount of system RAM to each "virtual machine", as well as leaving some for OSX.
    But ... BootCamp first.

  • Switch back and forth from Chinese and English in Forms and Reports 6i

    How do you switch back and forth from Chinese and english in forms and reports 6i? Tried changing regional settings in the control panel. Tried changing registry entry for nls_lang from american and chinese, none of them work! Can anyone help?
    Chinese version of forms and reports 6i is installed. Only way I can change between english and chinese is to keep installing the version I want. Is there any other way?

    Check Forms Help for National Language Support.
    Monica

  • How do I toggle back and forth from the live site in the tutorial to the working site?

    How do I toggle back and forth from the live site in the tutorial to the working site?

    I think that if you scroll down the page to the third video, you will find what you're looking for.
    Best regards,
    Randy Nielsen
    Product Integration Manager, Creative Cloud Learning
    Adobe

  • How can I switch back and forth from Classic to Tiger

    How can I switch back and forth from OS9.2.2 to Tiger without restarting? I want Classic as my startup system.

    I think that the number of clicks to open a file is a rather shortsighted way to compare two operating systems.<<</div>
    Well excuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuse ME!
    I happen to think it's a pain to click twice on files when I'm used to clicking just once.
    But Tiger is a nice operating system. I enjoy that it has much more capabilities than the OS9. I mean, Tiger keeps up with the advancing internet. My beef is really against OS9. I can open OS9 in Tiger but not Tiger in OS9.

  • Why does Quicktime tell me it can't play certain videos created with my Phantom 2 v3 drone ? I fly it and switch back and forth from video to still pics and while I may have filmed four videos sometimes Quicktime tells me that one of them can't be pl

    Why does Quicktime tell me it can't play certain videos created with my Phantom 2 v3 drone ? I fly the drone and switch back and forth from video to still pics and while I may have filmed four videos , sometimes Quicktime tells me that one of them can't be played . Checking the info shows that each of the unplayed videos was saved in the same mp4 format as the playable ones yet some of my most important videos won't play . It's getting very frustrating .

    first; I use Perian, that helps even though it is no longer supported, (must have for avi files)
    the apple-cores at apple have gotten very sloppy -- quicktime is a bit finicky and flakey. 
      example,   occasionally (when copy file from quad's card to hard drive)  the avi will show up as a 'mov' file and qt plays it no problem and no conversion.
    but that is very occasionally,  most of the time qt won't convert the file,   -- iMovie won't open an avi without Perian installed  ,  I don't know how that effects qt.
    qt 7"pro" is no good either, (qt 10 does everything it does and for NOT the extra $35)  
    I have gone to VLC  and MPlayerX  for direct playback for drones and cameras.  

  • How to switch back and forth from mac to windows????

    for some reason, i'm unable to switch back and forth from windows to mac right now. i rarely shut down my mac, but did today and when it restarted, it naturally restarted in windows. i then held down the keys i thought i was supposed to and restarted it, but don't have the option of getting back into my mac side. what keys am i supposed to hold down while restarting the computer?? i feel like the mac side is being held hostage! i thought it was ctrl & the apple key that i was to hold down at the same time. anyone? anyone??

    Hi and welcome to Discussion,
    to 'release the hostage' you have to hold down the 'Option/Alt'-key during restart and are then greeted by a Boot-Menu from which you can choose which one to boot.
    Once in OSX you might want to go to System Preferences - Startup Volume and choose OSX as the default.
    After the needed restart OSX boots up automatically unless you again use the Option-key to choose Windows.
    Regards
    Stefan

  • My iphone 4s is rapidly switching back and forth from wifi to 4g

    Hey! My iPhone 4S is rapidly switching back and forth from wifi to 4G. It will remain connected to wifi for about 10 seconds and switch to 4G for half a second. Then the cycle repeats. It's definitely been a drain on my battery. I've already switched wifi off and on, reset network connections on the phone, and rebooted my wifi and router. None of these have helped. When wifi is off, the 4G works fine. The wifi works in other locations, but my home network is not working. However, all other wireless devices in my home are working fine. Seems like a problem between my phone and the wifi. 

    Everything you've mentioned points to an issue with the home Wi-Fi.
    Try forgetting the connection in Settings > Wi-Fi.
    Restart the device and then connect to the Wi-Fi.

  • Can I message back and forth from ipad2 to Macbook air?

    Can I message back and forth from ipad2 to mabook air?

    I think that the number of clicks to open a file is a rather shortsighted way to compare two operating systems.<<</div>
    Well excuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuse ME!
    I happen to think it's a pain to click twice on files when I'm used to clicking just once.
    But Tiger is a nice operating system. I enjoy that it has much more capabilities than the OS9. I mean, Tiger keeps up with the advancing internet. My beef is really against OS9. I can open OS9 in Tiger but not Tiger in OS9.

  • How do I keep my iPad from switching back and forth from my Apple ID to my husbands Apple ID?

    How do I keep my iPad from switching back and forth from my Apple ID to my husbands Apple ID?

    Your question confuses me because there is no way that the iPad can switch Apple ID's without user input. Where are you seeing evidence of this?
    If you are seeing app updates that require your husbands ID, that's because those apps were purchased with his ID and will always require his ID and password for updates.
    If you are seeing his ID elsewhere, explain....

  • How do you attach multiple pictures to an email? I use yahoo, presently I copy and paste each pic separately , having to go back and forth from my pics and email. I know there's an easier way. I currently use an iPad 2 and this is my first apple product.

    I currently use an iPad 2,how does one go about attaching multiple pictures to a yahoo email? Presently I am having to copy then paste each picture
    Separately , going back and forth from my picture roll to my email. I tried to copy and paste multiple pictures but it would only paste the last picture
    I copied. I am new to apple, so any help would be appreciated .

    If you use the Mail App and configure a Yahoo account you can then select up to 5 pictures from the Photo App and mail them as a single e-mail.

  • Transferring back-and-forth from home and work

    I need to transfer my Mail and Address book back-and-forth from home to work.
    1. Which files do I export from home?
    2. Where is it imported into work?
    3. Are there any known issues with the database files becoming corrupt from going back-and-forth like this?
    Thanks.

    what os are both macs running on?
    i would suggest you look at www.mac.com, the .mac service, if you want to sync various data between two macs - works with tiger and leopard os, but not panther.
    manually moving folders may be cumbersome and end up with unintended consequences, as in human error or other glitches.
    nonethless the folders that contain data for both mail and ab are respectively homefolder/library/mail and homefolder/library/mail downloads for mail and homefolder/library/application support/address book for ab.
    you will also have to copy the com.apple.mail.plist and com.apple.mail.searchhistory.plist - for mail - and the com.apple.addressbook.abd.plist and the com.apple.addressbook.plist files - for ab - all four located in homefolder/library/preferences.
    hope this helps

Maybe you are looking for

  • Help needed in getting clob

    Hi all iam using oracle9i and i changing our applications from mysql to oracle . this is my java for mysql ObjectInputStream in =                               new ObjectInputStream(                               rs.getBinaryStream("filterObject"));

  • Safari Blue Question Mark on Pictures

    Every time that try to view something on Craigslist, I receive the blue question mark box instead of a photo. How can I change this so that I can view the photo instead? I am having this issue with other web sites too. Thanks and have a wonderful day

  • Fastest way to get overset textframes

    What is the fastest way to get overset Textframes?

  • Files corrupt during copy & save

    I have been experiencing an intermittent problem with files becoming corrupt when copied from a CD to my hard drive. Tests on the hard drive show no problems. Problem also occurs (intermittently) when attempting to open or save attachments from email

  • ODI converts my numbers that are less than one to ZERO

    hi all, somehow ODI is rounding down/ up my number values. a field in my source table has 0.0435 as it value, when I check the same record in the target table, the value is to 0 a field in my source table with 3.356 is set to 3 in the target table I