Flashing stacked sequence auto start and stop

Seems like this should be so easy but I'm stumped.
 I want to use some flashing leds while some of my data is plotted but can’t figure out a way to programmatically start and stop a simple flashing stacked sequence.
thanks for any help.
Attachments:
flashing LEDs.vi ‏33 KB
flashing LEDs.png ‏12 KB

OK. Then put the flashing in the loop with Stuff 2, which I presume is the one for which you want to show activity. I modified your program to do this. I also eliminated the sequence structure by using dataflow. You can probably get down to one loop by changing to a state machine structure.
If the flashing rate needs to be a different rate than the Stuff 2 logic, put the slower part into a case structure which only executes one time for every n iterations.
Lynn
Attachments:
flashing LEDs.2.vi ‏16 KB

Similar Messages

  • Script to auto start and stop an application

    Ok, I'm looking for an easy solution, maybe someone can point me in the right direction:
    I have a security camera program that runs on a Mac Mini that I would like to start and stop at a specific time of day. Is there an easy way to create an Applescript to do that?
    Thanks much in advance.

    Two scripts and iCal can do this for you. However, it assumes that your workstation is always logged into the Finder and that your app can be scripted beyond start and stop.
    --Script 1, launch application
    tell application "name of security app"
    activate
    -- do more stuff here like start capture
    end tell
    --Script 2, quit the application
    tell application "name of security app"
    quit
    end tell
    Save them both as scripts and then use iCal to make two repeating events. One to start the app and the other to stop it. Attach your scripts as event actions. Then sit back and let the iCal schedular the rest.

  • Dbora auto start and stop

    Hi all:
    This is on HP-UX 11.11 .I have created the dbora script under /sbin/init.d/ and linked as below.
    /sbin/rc2.d/S900oracle -> /sbin/init.d/dbora
    /sbin/rc1.d/K100oracle -> /sbin/init.d/dbora
    I tested the script manually as ./dbora start and ./dbora stop it worked perfect.
    The script is listed below
    ORACLE=oracle; export ORACLE
    ORACLE_HOME=/dba00/app/oracle/product/10.2.0/db_1; export ORACLE_HOME
    #PATH=${PATH}:$ORACLE_HOME/bin; export PATH
    case $1 in
    'start')
    su - $ORACLE -c "$ORACLE_HOME/bin/dbstart"
    'stop')
    su - $ORACLE -c "$ORACLE_HOME/bin/dbshut"
    su - $ORACLE -c "$ORACLE_HOME/bin/lsnrctl stop abcdwlist"
    echo "usage: $0 {start|stop}"
    exit
    esac
    exit
    When the server is rebooted the script fails with the following message.
    usage: /sbin/rc1.d/K100oracle start ................... FAIL *
    The permission on dbora is root:dba 750.
    Can anyone let me know what i am missing.
    Thanks,
    Ganesh

    According to the document
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b15658/strt_stp.htm#sthref249
    It recommend to link to rc3.d
    HP-UX
    # ln -s /sbin/init.d/dbora /sbin/rc3.d/S990dbora
    # ln -s /sbin/init.d/dbora /sbin/rc3.d/K001dbora
    And dbora is somewhat different
    BTW, why the PATH is comment out in your script?
    #! /bin/sh -x
    # Change the value of ORACLE_HOME to specify the correct Oracle home
    # directory for your installation.
    ORACLE_HOME=/u01/app/oracle/product/10.2.0/db_1
    # Change the value of ORACLE to the login name of the
    # oracle owner at your site.
    ORACLE=oracle
    PATH=${PATH}:$ORACLE_HOME/bin
    HOST=`hostname`
    PLATFORM=`uname`
    export ORACLE_HOME PATH
    if [ ! "$2" = "ORA_DB" ] ; then
    if [ "$PLATFORM" = "HP-UX" ] ; then
    remsh $HOST -l $ORACLE -n "$0 $1 ORA_DB"
    exit
    else
    rsh $HOST -l $ORACLE $0 $1 ORA_DB
    exit
    fi
    fi
    case $1 in
    'start')
    $ORACLE_HOME/bin/dbstart $ORACLE_HOME &
    'stop')
    $ORACLE_HOME/bin/dbshut $ORACLE_HOME &
    echo "usage: $0 {start|stop}"
    exit
    esac
    exit

  • How to create services start and stop automation script for diff servers

    Hi All,
    i want to create a bat file for automation purpose to start and stop services
    i have some services in 1st server aand some in 2nd server and some in 3rd servers.
    has you all know i have to follow sequences to start and stop services can any help me in creating .bat by linking 3 servers fo starting and stoping services.
    Thanks in advance
    Regards
    SM

    Hi,
    this is the list of start oder for services in 11.1.2.1 from the Installation and Configuration Guide
    1. Databases for repositories.
    2. Any corporate user directories that you plan to configure for use with Shared Services.
    3. Foundation Services Managed Server application server, which includes Shared Services,
    and EPM Workspace.
    4. Reporting and Analysis Framework — Agent Service (if required for your environment)
    5. Reporting and Analysis Framework Application Server (if required for your environment)
    6. Web server
    The remaining services and processes can be started in any order:
    1. Performance Management Architect Services
    2. Performance Management Architect application server
    3. Performance Management Architect Data Synchronizer application server
    4. Essbase Server
    5. Administration Services application server
    284 Starting and Stopping EPM System Products
    6. Integration Services Server
    7. Essbase Studio Server
    8. Provider Services application server
    9. Financial Reporting Services
    10. Financial Reporting application server
    11. Web Analysis application server
    12. Calculation Manager application server
    13. Planning application server and the Hyperion RMI Registry
    14. Financial Management service
    15. Financial Management Web application server
    16. Strategic Finance service
    17. Performance Scorecard application server
    18. Performance Scorecard Alerter application server
    19. Profitability and Cost Management application server
    to start services on different servers you can use the sc command in your batch file
    for eg
    sc \\10.121.201.21 start HypS9FrameworkAgent

  • Flash media player starts and stops

    I have Flash 9,0,115,0 and it works according to the test on
    the adobe website. However, when I try to play google videos, they
    start and stop and and freeze. What am I doing wrong?

    Is there a way to get a hold of this tool or any similar
    "before" I install FMS 3.0. I'm glad I didn't install it last
    weekend. I didn't know there were some risks of not playing my
    current flv's. Now, I want to check all of my flv's before I make
    the move...
    Also, is there any chance at all, that the
    start/stop/start/stop condition in all my videos (under FMS 2)
    after 2 connections could be blamed on the player? I have a custom
    made player. Can you point me to the right resources?
    I'm fairly new to this technology and really appreciate your
    time in answering my questions.
    Thanks,
    -Mario

  • Flash player starts and stops in IE8 Vista

    The clip starts and stops when running in IE8 on vista platform
    It keeps re-buffering
    how do i fx it

    Is the video starting and stopping or just the audio?  What OS, browser, and Flash Player Version are you using?  Can you also provide us with a URL to try out?
    Thanks,
    Chris

  • Flash player starts and stops

    When I try to listen to a online video my flash player keeps starting and stopping.  It sure is anoying.

    Is the video starting and stopping or just the audio?  What OS, browser, and Flash Player Version are you using?  Can you also provide us with a URL to try out?
    Thanks,
    Chris

  • Flash video is just awful - starts and stops

    10.6.8 iMac 4Gb ram.  Main browser Firefox.
    Flash video has gotten progressively worse with Adobe updates over last 3 months.  Used to run youtube smooth as glass.
    Now yt video runs for a 30 sec then stops, restarts after 5seconds, runs for 15, stops for 5.  If you rerun the same video (see wrchd.com for Argentine Rally preview video), it stops and starts at the same spots.
    I have Little snitch running a you can see a nice buffer load of data come in to start the video, then there is a period when there's no activity until it stops.  It sort of like Flash gets carried away watching its own display and forgets to get more info.
    Same results watching dailyshow.
    I've tried turning hardware acceleration in Flash off and on with no change in performance.
    So why does Flash fail now?
    Thanks for any advice.

    Is the video starting and stopping or just the audio?  What OS, browser, and Flash Player Version are you using?  Can you also provide us with a URL to try out?
    Thanks,
    Chris

  • Stinking up the iPhone: auto-start and/or auto-stop iTunes playback

    The feature to auto-start and/or auto-stop iTunes playback is a disaster. A good idea poorly implemented perhaps, or maybe not possible to implement well. PLEASE PLEASE PLEASE give us a setting to turn this off! MANY MANY ENTRIES ACROSS MANY FORUMS! (e.g. Apple Discussions messageID=9937311) I will consider switching to another smartphone for this reason alone, it's that big a nuisance.

    Welcome to the discussions,
    you are not addressing Apple in these forums, we are all users here. Use this link to talk to Apple: http://www.apple.com/feedback/iphone.html

  • Start and stop a loop automatica​lly subtractin​g at each iteration

    Hi there,
    I know that there are some topics about it, but I could not find any solution, especially because I use the version 7.1 and cannot open new version files.
    My problem is as follows:
    I need to charge a tank from 6 to 10 in the morning, every day during 3 days. The process must start and stop automatically, which means, no bottoms to start or stop. The start and stop conditions come from the hour.
    I start with a big loop of 72 iterations, which corresponds to 72 hours.
    The tank must start at level 6 every time it starts.
    After the start, 1 unit must be subtracted in each iteration. Which means, that at 6 am the tank has level 10, at 7 am level 9 and so on. In the end, at 10 am the tank level is equal to 2.
    In the next day, the process must start again and the tank must start at level 6.
    Any suggestions? Thanks in advance.
    Solved!
    Go to Solution.

    While this may work it can be improved significantly. This really isn't a state machine. This is basically the same as your flat sequence with the exception of using a While loop with a Case statement to implement each frame.
    You should define what your actions are and create a typedefed ENUM naming them. State names of 1 through 24 are meaningless. Not to mention in your code many of the cases are duplicates of others. That would mean that all of those can be one state with logic to determine what action/state comes next. A properly defined state machine would not need the outside For loop. Without knowing your specific needs some examples of reason state names would be the following: Start, Stop, Exit, Error, Initialize, Get Tank Level, Fill Tank, Drain Tank, Idle, etc. Can you see how these are easier to understand than 1 through 24.
    There are lots of examples of state machines here. Try a search and take a look at some of them.
    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

  • How to start and stop the BI Services in Solaris 10

    Hello All,
    Can anyone guide me on how to start and stop the BI Services in Solaris 10. In windows there are options set in Start->Programs->Middleware_Home->Start/Stop BI Services.
    Primarily after doing changes to the scheduler configuration, I need to restart the services to get it implemented? If yes how can I do it?
    Any help will be appreciated
    Thank you
    Ash
    Edited by: 902739 on Jan 11, 2012 12:17 PM

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

  • How to create a .exe script to start and stop Oracle EBS R12 in Linux

    Hello,
    I have installed Oracle EBS R12 in Linux enterprise through Virtual box on windows 7 professional. It takes a long time to start and stop EBS as I have to start and stop the scripts manually - can someone please help me with the following (I have tried searching the web and Oracle for help but have had no joy);
    Q1. I want to create a executable file in Linux so I can double click the file in Linux to start EBS automatically instead of going through each script manually
    Q2. I want to create a executable file in Linux so I can double click the file in Linux to stop EBS automatically instead of going through each script manually
    you help will be appreciated.
    Ali

    I have installed Oracle EBS R12 in Linux enterprise through Virtual box on windows 7 professional. It takes a long time to start and stop EBS as I have to start and stop the scripts manually - can someone please help me with the following (I have tried searching the web and Oracle for help but have had no joy);
    Q1. I want to create a executable file in Linux so I can double click the file in Linux to start EBS automatically instead of going through each script manually
    Q2. I want to create a executable file in Linux so I can double click the file in Linux to stop EBS automatically instead of going through each script manually
    you help will be appreciated.Please see these links.
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Autostart+AND+Services&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    https://forums.oracle.com/forums/search.jspa?threadID=&q=Auto+AND+Start+AND+Services&objID=c3&dateRange=all&userID=&numResults=15&rankBy=10001
    Managing Server Processes
    http://docs.oracle.com/cd/E18727_01/doc.121/e13675/T530130T530133.htm#5274555
    Thanks,
    Hussein

  • How to start and stop looping

    I'm very new to Flash / action script, so I just need to know where to put both the start loop, and the end loop code (below) in my Flash file to make the waving effect on this flag (link below) start and stop when I need it to, because I'm adding a small amount of flash both before and after it. thanks.....
    loopI = setInterval(loopF,40);
    to start the waving and use:
    clearInterval(loopI);
    to stop the waving.
    function loopF(){
        // move the matrix by speed along x to shift the noise
        shift.translate(speed, 0);
        // drawing in the perlin movie clip,
        // create a rectangle with the perlin noise
        // drawn in it with an offset supplied by the
        // shift matrix
        with (displace_mc.perlin){
            clear();
            beginBitmapFill(noiseBitmap, shift);
            moveTo(0,0);
            lineTo(ramp._width, 0);
            lineTo(ramp._width, ramp._height);
            lineTo(0, ramp._height);
            lineTo(0, 0);
            endFill();
        // draw the displacement movie clip in the
        // displaceBitmap (used in displaceFilter)
        displaceBitmap.draw(displace_mc);
        // apply displaceFilter to the flag
        flag_mc.filters = [displaceFilter];
    updateAfterEvent();
    http://www.senocular.com/flash/source.php?id=0.188

    i told you and it's in your message:
    use:
    loopI = setInterval(loopF,40);
    to start the waving.
    use:
    clearInterval(loopI);
    to stop the waving.
    // do not edit the below code:
    function loopF(){
        // move the matrix by speed along x to shift the noise
        shift.translate(speed, 0);
        // drawing in the perlin movie clip,
        // create a rectangle with the perlin noise
        // drawn in it with an offset supplied by the
        // shift matrix
        with (displace_mc.perlin){
            clear();
            beginBitmapFill(noiseBitmap, shift);
            moveTo(0,0);
            lineTo(ramp._width, 0);
            lineTo(ramp._width, ramp._height);
            lineTo(0, ramp._height);
            lineTo(0, 0);
            endFill();
        // draw the displacement movie clip in the
        // displaceBitmap (used in displaceFilter)
        displaceBitmap.draw(displace_mc);
        // apply displaceFilter to the flag
        flag_mc.filters = [displaceFilter];
    updateAfterEvent();
    http://www.senocular.com/flash/source.php?id=0.188

  • How to Start and Stop the SAP System

    Hi,
    I have installed "Sneak Preview"; Searched for start and stop scripts but there are more than one script which has named start.bat and stop.bat. Moreover, I searched the documents which comes with Sneak Preview but could find useful instruction there either.
    Question: Could you please point me to the documentation where it explains the starting and stopping SAP, for Sneak Preview?
    Thanks in advance
    Jawad Kakar

    Please help me by showing action plan for stop sap , offline backup and then start sap.
    i am little bit confuse How to start and stop SAP on cluster for offline backup
    Below are the systems name with host name , please explain me in sequence
    Systems name                                   Hostname
    # Hope SAP ERP Prod DB Primary       gsgbbux860
    # Hope SAP ERP Prod DB Standby      gsgbbux861
    # Hope SAP ERP Prod Cluster              gsgbbux862
    # Hope SAP ERP App 1                       gsgbbux864
    # Hope SAP ERP App 2                       gsgbbux865
    Thanks in advance
    Zaheer

Maybe you are looking for

  • Session Variable in filter view error

    Hello, My prompt is defaulted to current 12Weeks. I used session variable in the prompt to capture 12 Weeks (Current Week and Current+12). so the default value is @{biServer.variables['NQ_SESSION.PERIOD_STDATE']} where PERIOD_STDATE is my session var

  • Multiple applications crashing in Mavericks

    Hi there         Since the last few days after I updated to Mavericks 10.9.1 my Macbook Pro crashes a lot. It happens whenever I launch Skype or any other application, even Finder. Sometimes when I go into System Prefs and select anything such as Key

  • Connection pooling in RFC adapter..

    Hi folks I have a requirement to use connection pooling in RFC adapter.I understand we can use JCO.Client class parameters in the advanced tab of RFC adapter..Does that mean I can use <b>JCO.addClientPool()</b> function.??? (I guess not,as it is not

  • Standard Copy of a contract/po webdynpro issue

    Hello all gurus, in SRM 7, my requirement is to check when a new document (contract or purchase order) satisfies certain conditions w.r.t. the user that is currently trying to access it; the user should belong to the same purchase unit of the documen

  • Schedule Hot backup via OEM

    Hello all, We have a realtively small system running Oracle 10G on Windows 2003 O/S. I've scheduled a full offiline (cold) backup of the whole db to run once weekly via OEM. Every night we run a script to do a 'logical' backup by EXPORTing the 2 main