How to run more then 1 event at a same time.

Hello,
i am looking for logic about how to make start/reset switch.
in my case i have made one switch name start by pressing that one can start operation ,now i want to make same switch for reset means during one execution one can reset the operation any time.
means i have to design one switch which gives two function simentaniously that start and reset.
here in attachment i attach simple program in that i want that i can reset my operation  any time ,and i can stop execution at any time.
please help me...
thank you.
Solved!
Go to Solution.
Attachments:
general.vi ‏9 KB

To put it simply, you need to rearchitect.  You should not have a test or sequence running inside of the event structure.  You should have another loop that runs a state machine or the like and send commands to it using a queue.  You can have a Start, Stop, and Reset commands.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines

Similar Messages

  • How to run the two events at the same time by using event structure

    In my project, I have to run two stepper motor which can run both forward and reverse direction by changing the control in front panel so I am using event structure. In front panel I gave two separate controls for both stepper motor such as forward,reverse and stop. I would like to do motor1 will rotate alone, motor2 will rotate alone and both motor will rotate at the same time when user click the control in front panel. My doubt is how to run a motor2 while motor1 is running at the same time please tell me the suggestion for this problem
    Attachments:
    motor.png ‏192 KB

    How do you control your motors?
    Most motion control systems do supply two modes:
    a) position based motion: The motion axis has a positioning system (most often some kind of encoder system) which enables the motion control to know where the axis is currently located. Passing the target location to the controller will result in the axis to move to that location. This is, for most applications, the recommended approach. It does require some sort of motion controller device.
    b) direction based motion: This essentially tells the periphery device for the motor to move at a certain speed into a certain direction. As it does not stop at a dedicated location, it induces great risks for many applications if there are no kill- and/or end-switches. Depending on the setup, this can be either done with motion controllers or pure by software control (e.g. "controlling" the voltage level for the motor).
    If you go for a), there is not much preventing parallelism as you request.
    Option b) depends on the setup. If you have a control loop in the software itself, you have to move to an architecture like the producer/consumer. Please note that this does not incorporate any security measures for the external devices.
    hope this helps,
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Using SQL developer, how to show more then 1 table at at time ?

    Hi, everybody
    I am able to open more then 1 procedures/functions for editing.
    However i am not able to open more then 1 table for seeing the data and columns.
    1) how do i open more then 1 table tab in sql developer or i am not allow to do so ?
    2) is it possible to see what column is the foreign key of a table in sql developer ?
    thanks once again :)

    use freeze view button
    and drop table below from tabs
    http://www.oracle.com/technology/products/database/sql_developer/files/viewlets.html
    watch this viewlet
    Useful Features of SQL Developer (July '07)
    it can show u how u can see more than one table at a time

  • How to run two vi's at the same time, one uses an AI task with 8 AI channels the other a single AI and AO channel???

    Hello Everyone,
    Here is my situation.  I have one vi that is reading an AI task of 8 channels AI0 --> AI7 (one sample on demand) and also has control of all of the digital outputs on the board.  My problem is that I want to run another vi that will use the last AI channel AI8 and an AO channel AO0.  These two vi's do not need to know anything about one another but I do need them both to be running at the same time.  Currently when I try running the two vi's together both vi's crash and I get an error message stating that the AI8 pin is reserved.  AI8 is not part of the task and is not refrenced anywere in the larger vi.  I am assuming that this problem is do to the fact that the larger vi is occupying the DAQ board, cycling through the task when the smaller vi is requesting data from AI8 and the DAQ board cannot do two things at once.  The sampling rate on the smaller vi is not really that important.  Is there anyway I can get the smaller vi to read from AI8 and not crash??? Software and Hardware listed below.  Thanks in advance for any suggestions.
    PCI-6221
    Labview 7.1 

    Hi steve ,
    Sorry to say that you cannot configure and acquire from AI channels on a   Device simultaineously from 2 seperate VI's.
    regards
    Dev

  • How to run several class files at the same time

    I have four class files, there's: cvnt1.class,cvnt2.class,cvnt3.class and cvnt4.class.
    I want to know how to write application for running all of those files together. thanks!

    Your question is still unclear - do you want to access code from those class files (just add all of them to classpath) or do you want to create number of threads or number of processes (one per class) and start code from each class simultaneously or something else?

  • HT4994 how do i delete more then one contact at a time

    how do you delete more then one contact at a time

    george's iphone wrote:
    how do you delete more then one contact at a time
    If you sync your contacts with iTunes on a Mac you can go to address book and delete all or some of your contacts.

  • How can I talk with more then one person at a time?

    How can I talk with more then one person at a time? With Faxe time? Is thier software needed to do this or can it be done with the basic package?

    You can get the drop down list by either right-clicking on the back/forward buttons, or holding down the left button until the list appears.
    If you want the drop-down arrow you can add it with the Back/forward dropmarker add-on - https://addons.mozilla.org/firefox/addon/backforward-dropmarker

  • How to call more then one Function modules at the same time

    HI ,
    How to call more then one FM at the same time .
    Modertor Message: Interview-type Questions are not allowed.
    Edited by: kishan P on Jan 2, 2012 2:22 PM

    They are a few different models of the MacBook Pro ranging from 15.4" i7's to 17" i7's. I would use the same models together though when imaging them just like I do with PC's. For example I would Ghost 5 Lenovo T420 Thinkpads at the same time which all share the same exact specs and config. Looking to do the same with the MBP. I have .dmg image of OSX 10.8.1 on a firewire drive which I'm using. I image all my MBP's with this drive, the only downside is I have to do each MBP one at a time.
    Thanks

  • How to handle more then one transaction in bdc

    how to handle more then one transaction in bdc

    Hi vinod,
    Call one BDC after the another, Like if u want to create a sales order and then correspondingly display it as well, u can capture the sales order created afer ur first BDC theu the messages mostly in SYMSGV1 and using this u can do a call txn skip first screne of VA03.
    If u are talking about session, get 2 session names and move them to different sessions or if both txn are dependant on each other, move it one after the other thru call txn. It is the same, howmany ever trx u wabnt to post thru BDC.
    Award points if this helps.

  • How to delete more than 1 contact at a time

    I need to know ASAP how to delete more than one contact at a time

        Hello grams4crew!
    I can definitely help you in deleting more than one contact at a time, no problem! I hope you're enjoying your Galaxy S5!
    You can delete a single contact, or choose multiple contacts
    to delete.
    1. From the Home screen, tap Contacts.
    2. Touch and hold on a contact to select it. You can also
    tap other contacts, or choose Select all to select all
    contacts.
    3. Tap Delete, and then tap OK to confirm.
    We have a page for our customers to get the user guides for their devices: http://vz.to/1oMIe2y
    I hope this helps!
    Thank you,
    ChristinaB_VZW
    VZW Support
    Follow us on Twitter @VZWSupport

  • IMac (2008) OS10.6.8 - Main menu freezes when running more than one application at a time.  Apple and 3rd party applications - all freeze the main menu.  Safe mode seems to work OK. Tried repairing permissions - didn't work.

    For the past 60 days I've experienced Main Menu freeze when running more than one application at a time.  iPhoto, Preview, Text Edit, Epson Scan, Firefox and Thunderbird are the apps I use almost daily.  No matter what I do, when more than one is running they will freeze the Main Menu (top of the screen).  I've tried booting is Safe Mode and I don't seem to have a problem.  I've tried several suggestions from repairing permission (DiskUtility) to eliminating specifis login items.  Nothing works. I've posted this issue on the Apple forum several times and no one else has experienced this problem.  I hesitate to take my iMac to the Apple Store or a private Apple repair service until I've exhausted all of my options.  Do I have any more options?    

    Question:  Everytime an app crashes I have the option to report it to Apple - which I usually do.  But I've NEVER reported a Main Menu freeze because it never asks me to
    There's really no need to submit to Apple, it's just a round file cabinet on the other end, especially with 10.6 or earlier.
    This sure sounds like a resource problem...
    See if the Disk is issuing any S.M.A.R.T errors in Disk Utility...
    http://support.apple.com/kb/PH7029
    Open Activity Monitor in Applications>Utilities, select All Processes & sort on CPU%, any indications there?
    How much RAM & free space do you have also, click on the Memory & Disk Usage Tabs.
    Open Console in Utilities & see if there are any clues or repeating messages when this happens.
    In the Memory tab, are there a lot of Pageouts?

  • Making FCSvr run more than on job at a time?

    Hello everyone,
    How do I make FCsvr run more than one job at a time? I'm watching my Job Progress window and only one clip is being worked on at a time (creating thumb, poster, etc.) Also, when I look at the QMaster Admin it shows only one core working (even though I have all eight cores set for compressing).
    Thanks for any help you can give me
    Micheal

    It's actualy very long to explain in this post but I recommend you read all te Qmaster manual to understand the way it works.
    Just to help you in the process
    1) What you see in the Qmaster admin is a cluster wich can have several instances of compressor within it to run several process at the same time
    2) If you have in fact more than 1 instance of compressor within the cluster (lets say 4) you have 2 options depending of the compressor setting you are using. If the Allow Job Segmenting is ON in the setting all 4 instances are going to be use to transcode the clip and you can see the segments (batch monitor) in wich the file is partition to transcode them separately (in this case 8 segments of video and 1 audio). If the option is OFF only 1 instance is going to run to transcode 1 file, but in this case you can have up to 4 files transcoding at the same time.
    3) Make sure you have the qmaster cluster selected in the compressor option in the preferences panel of the FCS admin window.
    4) The number of cores used to trancode files is manage by Qmaster but I can tell you that if you have an 8 core MACPRO with 4 instances running, around a 90% of the CPU is being used for the compressor when you have 4 jobs running at the same time or 1 with job segmenting ON. When job segmenting is off and there is only 1 job running I saw over 50% of the system cpu running on that process.
    5) Probably the most important point: I really hope for your own good that you have Qmaster and FCS running on 2 different machines. As you can see Qmaster is using serious CPU during trancoding.
    Hope this help

  • How to make more than one partition on Airport Time Capsule?

    how to make more than one partition on Airport Time Capsule?

    Only for the very brave......
    Open up the Time Capsule (voids the warranty)
    Pull the hard drive
    Place the hard drive in a separate enclosure
    Connect the enclosure directly to your Mac
    Use Disk Utility to partition the hard drive
    Reinstall the hard drive back in the Time Capsule
    For the rest of us.....
    The next best thing might be to set up one or more disk images on the Time Capsule, which will allow you reserve a given amount of space for each disk image.
    Open up Macintosh HD > Applications > Utilities > Disk Utility
    Click on the New Image tab
    Navigate to the Time Capsule
    Set up the disk image by naming it and specifying how much space you want to reserve

  • How can I run 2 Dreamweaver windows at the same time?

    How can I run 2 Dreamweaver windows at the same time on my
    PC?
    basically I have 2 monitors and I want to edit CSS on one
    monitor and have the html page open on the other so I can quickly
    look from one to another with in a split second instead of taking
    that extra time to switch back and forth using the tabs at the top,
    I know I should probably invest into a mac so i can work out side
    of the Dreamweaver application window and I will in the future but
    is there any way i can do this on my windows XP pro PC?
    Thank you
    Maurice

    Open the CSS in DW, and use F10 to open the Code Inspector.
    Place the
    latter as needed.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "Random_Yggdrasil" <[email protected]> wrote
    in message
    news:gi2htb$j4j$[email protected]..
    > How can I run 2 Dreamweaver windows at the same time on
    my PC?
    > basically I have 2 monitors and I want to edit CSS on
    one monitor and have
    > the
    > html page open on the other so I can quickly look from
    one to another with
    > in a
    > split second instead of taking that extra time to switch
    back and forth
    > using
    > the tabs at the top, I know I should probably invest
    into a mac so i can
    > work
    > out side of the Dreamweaver application window and I
    will in the future
    > but is
    > there any way i can do this on my windows XP pro PC?
    >
    > Thank you
    > Maurice
    >
    >
    >

  • HT2513 how do I schedule daily events in the same sequence

    How do I schedule daily events in the same sequence.

    Hello LeatherneckDevilDog,
    Thank you for the details of the issue you are experiencing with duplicate calendar entries.  I recommend reviewing the following articles to resolve issues with iCal duplicates:
    iCloud: Resolving duplicate calendars after setting up your calendar application for iCloud Calendar
    http://support.apple.com/kb/TS4118
    iCloud: Advanced Calendar and iCal troubleshooting
    http://support.apple.com/kb/TS4337
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

Maybe you are looking for

  • Cannot open .xls or .doc files

    I have office 2008 updated to the latest version operating on a mac osx 10.5.8. I cannot open xls or doc files. I get the messages "file cannot be opened" and "file blocked". Have tried - opening via right click and through the programs themselves -

  • Cost element and Line item reports show different actual costs

    Hi PS experts, My client has an issue pertaining to actual cost reports. The cost element report shows actual costs $42,000 for one WBS and when I double click to see details the value it shows is $2100. Even when I checked line item report for this

  • ESS Team Calendar

    Hi In the ESS Leave Request Application , when user  views  the Team Calendar , he cannot see the Employee Name if it is maintained in Korean Language in BackEnd, ( Infotype PA0001-ename) but if the Name is Maintained in English Language , it is appe

  • HELP my iphone 4s screen is cracked. how can i get it replaced for free

    My friend accidently shoved me causing my iphone to fly out of my hands and face first on the ground. Now it's badly cracked with spiderwebs over the screen. My sister cracked her screen a month after purchasing it and Apple replaced it at no cost. I

  • Unable to customize the Searchresults.aspx in 2013 OOB

    I am Unable to customize the Searchresults.aspx in 2013 OOB. Whenever I try and edit the page, I get the error "Code Blocks not allowed in this page". Let me know if I am doing something wrong. Thanks