Display color array then 1 second later display same array with color change

Hi there, I'm new to LabVIEW and this is my first post. I'm using LabVIEW 9.0.1
Please have a look at this simple program attached below; when I've worked out this part of the program, it will be the starting up sequence of a game
the lights need to be set to white before running the program.. When the program runs the hexadecimal 'array 2' is projected as colors on 'array'. Then 1 second later, a green light is added to the centre and displayed in 'array 4'...
I am attempting to have the green light go on on the same array after 1 second. As opposed to on array 4...
When I've figured out how to do this I'll add many more time iterations, whereby a color is changed on each one. Thus making a nice startup sequence.
any help is appreciated, thanks in advance for your help!
p.s. add 00FF0000 to the last box in 'array 2' before you hit play.
Attachments:
attempt 1.vi ‏10 KB

I think you should learn about shift registers.
Your larger program will probably work better and be easier to modify and maintain if you use a state machine in place of the sequence structure.
Lynn

Similar Messages

  • How do I switch a relay then one second later switch it back?

    I am currently doing an experiment where I need to send a digital output signal to a relay, the relay switches, then one second later switches back. I have connected the relay to the CB68-LP board and I can get it to manually switch when I click, but I need this to be an automatic response.
    I just need to click a switch so the relay changes and 1s later changes back again. Any ideas?

    So you already did most of the job !
    I suppose that you built some kind of a VI, where you can switch the relay upon switching a boolean control. Let's call it "Relay.vi".
    One very simple solution :
    Build a new VI, with a sequence structure with 4 frames :
    in the first frame, put a waiting loop, which will wait until a switch button is pressed;
    in the second frame, wire a True boolean constant to your Relay.vi
    in the third, place a wait node, and wire a 1000 ms constant to the input
    in the forth, place another instance of your Relay.vi, this time connected to a False constant.
    It's bot very elegant, but that's the simplest thing that you can achieve.
    May that could do to start with ?
    More help ?
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    relay.tif ‏11 KB

  • I have a white iPhone 4S. For some reason I cannot MMS only one of my contacts. I'll send a picture or video and it will go through, say delivered underneath the picture, then 30 seconds later it will say not delivered and I have to send it as a text.why!

    I have a white iPhone 4S. For some reason I cannot send media (picture,video,etc.) with one of my contacts. I'll send a picture or video and it will go through, say delivered underneath the picture, then 30 seconds later it will say not delivered and I have to send it as a text message. Why is this happening!? It happens connected to wifi and not connected to wifi.
    I appreciate the help, thank you!

    If it says "Delivered" under it to begin with, then you're not sending it as an MMS, you're sending it as an iMessage. It's entirely possible the problem is on the receiving end.

  • Receiving iMessage then seconds later receiving same message in ams

    I live in Brazil and imessaging has been a great tool to get in touch with my friends in the USA. About a week ago I staretd receiving some texts as sms then a second later I would receive the same text as an imessage. All my friends and I have iPhones. I dont have an issue when sending a text its only when I receive them. It happens both on wifi and 3g. I have tried shutting off my phone. I also reset imessaging and I'm still having this issue.

    Settings>Notifications>Messages>Repeat Alert...adjust here.

  • HT4991 When I try to import word files from email it says importing then few seconds later shuts pages app

    When I try to import word files from email it says importing then few seconds later shuts pages app

    Peggy, thanks for the try. I think you are on to something about the multitude of sections in the sample document.
    I think the many many sections are a result of the formating to make the word document look just like the legal case book (multiple columns of text, special sections, graphical headnotes summaries etc). The doc opens just fine in Word for windows 2000, XP and 2003. Maybe I can request a NON columnar flowing word doc that will be possible to open with Pages 3.
    In the meantime, the other good options for these legal document downloads, PDF and HTML are not good options for processing the files with Pages. I sure hope the interoperability of Pages 3 is enhanced soon. I would rather not buy the Office 2008 for the Mac if I could stick with Apple's products.
    By the way, do you know...... is there a business, marketing, or technical reason (maybe all 3)) why Text Editor seems to have greater capabilities than Pages 3 (like HTML and similar functions)?
    Thanks, Brian

  • My 3 week old printer is printing the page and then 10 seconds later spitting out a blank page.

    My 3 week old printer is printing the page and then 10 seconds later spitting out a blank page.  I have tried printing current page, current selection.  It does this on envelopes.  I have HP paper.....taken paper out....moved the guides.  Cannot print a test page from the panel....I have press the x it just cancels the selection. 

    Sorry forgot the link http://support.apple.com/kb/ht1341

  • As soon as I send my messages they say unable to deliver but then 2 seconds later it delivers. Idk what to do

    wwhen i send a message to someone it says that it was unable to deliver but then 2 seconds latee it delivers. It's really bothering me and I don't know what to do about it . Help......

    Hey there gentiana1,
    It sounds like your phone is not sending messages until a couple of seconds after you tap Send. Since they are going through it seems like your network and (for iMessage) Apple ID information is correct. I would start by quitting the Messages app:
    iOS: Force an app to close
    Double-click the Home button.
    Swipe left or right until you have located the app you wish to close.
    Swipe the app up to close it.
    When you have done that restart the device and test the issue again:
    iOS: Turning off and on (restarting) and resetting
    Thank you for using Apple Support Communities.
    Regards,
    Sterling

  • TS1398 I am logged on to the wifi at home, and every now and again my ipad says that there is no wifi connection, even though it is in the same spot it was when I had wifi connection & then 5 seconds later it picks the connection up again. Is this due to

    I am also having numerous other problems with my ipad, apps just close randomly (they worked perfectly fine before) as well as my hipstamatic doesn't want to save photos to the photos.  Is there a way to go back to IOS 5?

    Hey Saanasaana, Have you tried going into Settings>General>Reset and tapping Reset All Settings. If still no joy... Reset Network Settings and rebooting the router. If that doesn't do it, try Settings then tap the offending Wi-Fi Network, then tap Forget this Network and re-load it, as if it was a new network.
    Your next options are to Restore. Connect to your iPod with your computer with the cable, and make new backups / copies of all your stuff to your computer first, then Restore from Backup. If that does not solve, Restore to New, a full restore. Note restore to new will wipe you iPod put it back to factory specs, that's why your need to make backups of everything on your iPod before you do it so you can reload your stuff back to your iPod. If the full restore does not solve you may have a hardware issue, contact your Apple store or Apple Genius Bar and set up an appointment to have your iPod evaluated. Good luck. Cheers.

  • How to display same screen with two different options!!

    Hi All,
    I have created a new entry form where user can enter a new record by selecting from combo select list or manua entry text fields. The same screen has to be used in two ways.
    New entry screen. and once user enetr data clik on sumbit it will insert into database.
    But when the user click on "View" button i need to display the same screen but with existing data insted of empty fields.
    How to achieve this in teh same screen, insated of creating duplicate screen.
    Thanks,
    Anoo..

    Hi,
    Try to use form on a report with report on page 1 and form on page 2.
    When the user clicks edit icons he will be directed to page to to see the values that are entered, make sure form is not updatable.
    If the user clicks create from page 1 then he will be directed to page 2 where he can enter data to insert new record.
    If you need in more detail, explain the scenario how you want, so that I can create an example for you.
    Thanks,
    Ramesh P.

  • Displaying same field with two different selection criteria.

    Post Author: spulkundwar
    CA Forum: Crystal Reports
    Hi All,  i want to display list of product in two different table having life counter field less than 0 and life counter field greater than 0. The product list is grouped by product category. The report should look like as shown belowProduct Category1                                             Soon expired (Life 0-25)                                                        Expired Products (Life < 0 )                            Product Name  Product Life                                                        Product Name    Product Life                                     Coke                            24                                                                        Pepsi                    -2                                    Beer                           12                                                                          Vodka            -34 Product Category2                                  Soon
    expired (Life 0-25)                                          Expired
    Products (Life < 0 )
                                Product Name  Product Life       
                                     Product Name   Product Life
                                 Pepsi                    14             
                                           Coke              -2  
                             Beer                     2                
                                          Vodka            -34
    Is this possible to show two tables in each report row? When i set selection formula to product name, it sets the same selection formula to all the fields in the report.

    Post Author: pvierheilig
    CA Forum: Crystal Reports
    Hello -
    Can't you set the group to be on the category?  Selecting the product name in the record selection formula will present only those product (as opposed to categories).
    A subreport, as suggested, will work as well, but your stated record selection will continue to produce the same results - check that, too.  Additionally, you could group on the category and add a group 'b' section (Section Expert; see the Help file).

  • Since I restored my iPod, it displays an icon with an AC charger and an electrical outlet and there is no handling possible.

    Since I restored my iPod, it displays an icon with an adapter charger and an electrical outlet. So I connected with an AC charger as the demand for more than 48 hours but no change. My iPod no longer recognized in itunes or my computer and functions no longer work. I tried to reset it, Apple appears to leave room for a few seconds later the same icon with an electrical outlet and impossible to put it into disk mode. Help me please I don't know what to do. And forgive me my bad English I speak only French.

    Read the article that you linked

  • Hi All.  My iPad 4 just started having issues with the volume.  On either Bluetooth or the iPad Speaker, anything I'm watching or listening to drops the sound to just barely hearing it and then, about 2 seconds later, it comes back.

    Hi All,
    I tried to search through the community, but with the sheer volume of posts, I didn't find anything that seemed like the same issue.
    My iPad 4 just started having issues with the volume.  On either Bluetooth or the iPad Speaker, anything I'm watching or listening to drops the sound to just barely hearing it and then, about 2 seconds later, it comes back.
    I haven't tried wired ear phones, but I am sure they'll be the same way.
    It's very random, but consistent enough to happen several times per day.
    Thanks for any help that anyone can provide.
    I have restarted it and also did a Hard Reboot and it didn't help.
    Thanks Again,
    Scott P.

    Well there you go, when you advertise it just be sure to say that you can't even see the scratches at half brightness and see how it goes.
    Of course you are saying you want $500 for one with many scratches on the screen, has been dropped, but the scratches aren't visible at half brightness, and has no warranty. Or I can buy a refurbished iPad 4 WiFi 32 GB directly from Apple with no scratches and a one year warranty for $499. http://store.apple.com/us/product/FD514LL/A/refurbished-ipad-with-retina-display -wi-fi-32gb-white-4th-generation
    Why would I buy yours?
    I wouldn't pay more than $300 for a used model with your specs in perfect condition. But yours is far from perfect. I think your high point is $250 which is why I said 50%.

  • Is there a way to digitize audio using the headphone input on the 15-inch (late 2013) Macbook Pro with Retina display?

    I'd like to digitize audio from a minidisc player into my 15-inch (late 2013) Macbook Pro with retina display, but can't see a way to change the internal mic input.  I understand that previous MacBooks allowed the headphone jack to double as a mic input, but mine doesn't seem capable of switching.  I've tried using a mini to mini cable, with no luck, and also tried using a headset splitter adapter (3.5 mm 4-pin to 2x3-pin 3.5 mm headset splitter adapter from Amazon) because I read that that would allow me to plug in headphones and input audio.  But in both cases, the only "input" available in my sound preferences is the built-in internal microphone.  Am I missing something?  Is there a way to digitize audio through the headphone jack? 

    Not likely. headphone jacks are usually output only devices unless specifically stated to support input, and even then, it may not be audio input that they support, but merely control input for volume and such.
    You can get a USB audio input instead. i.e:
    http://www.amazon.com/Griffin-Technology-iMic-Audio-Device/dp/B000BVV2IC

  • I'm trying to set up a dual monitor for my new iMac. I'm using a second display I used with my old G5. My iMac recognizes the second monitor but the monitor won't turn on. Power button doesn't do anything on the monitor itself.

    I'm trying to set up a dual monitor for my new iMac. I'm using a second display I used with my old G5. My iMac recognizes the second monitor but the monitor won't turn on. Power button doesn't do anything on the monitor itself.

    If it won't turn on then the monitor is dead (power supply?, video circuits?).  Not worth repairing.
    If you have a new iMac then it has thunderbolt.  So exactly what is that monitor you are trying to connect?  For TB you can connect a mini-displayport monitor.   Probably (not 100% sure with TB) can use dvi or vga too if you have the appropriate adapter.

  • My MacBook Pro starts then shuts down on its own 4 seconds later. An idea on what I should do? Thanks!

    My MacBook Pro starts then shuts down on its own 4 seconds later. An idea on what I should do? Thanks!

    Is the little LED on your adapter's MagSafe plug glowing when it's connected? What color?
    It sounds as though your battery is drained and the adapter isn't charging it. Try resetting the SMC:
    http://support.apple.com/kb/HT3964
    That may start the battery charging again.

Maybe you are looking for