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.

Similar Messages

  • [b]can we open the two folder at a same time?[/b]

    Hello,
    I am confused for move the message from one folder to another .
    Is it required to open the both folder (source and destination folder ) for move the message from one folder to another.
    can i open the two folder at a same time?
    please tell me.

    Yes.

  • How to run my vi from a front panel control without using even structure in the vi

    Hello, I would like to run my vi from a front pannel control instead of the tool bar RUN botton. I am using LV6.1 without the even structure feature, so I can't do as proposed by a previous posting by setting the vi to run at open in a "do nothing state" then taking the front panel control event and switching the vi into another ("running") state. I wonder is there some other type of solutions to this problem. Your help is greatly appreciated.
    Bryan

    Hi Dennis, thank you for the reply. I tried with the attached vi. It can only run once (also not in the correct state I want), as the control i placed on the front pannel will stop the VI. I want to have the vi do nothing when it is opened and start counting when the start botton is pressed. Then i want it stop counting when the botton is pressed again...and so on... I must need a different structure to get it work, or did I miss something simple? Thanks again.
    Attachments:
    StartVI.vi ‏16 KB

  • I added music to a project in iMovies. I wanted to delete the music I put in,but could not figure out how to delete the music. I also had two songs playing at same time. How do I delete music from project in iMovies?

    I added music to a project in iMovies. I wanted to delete the music,but could not figure out how. I also had two songs playing at same time. How do I delete music in project and how do I prevent two song playing at same time?

    Select your Music Track so that a yellow border is around it. Then hit the Delete Key. Alternatively, hit EDIT/DELETE SELECTION.

  • How to run a Concurrent Program from the back end?

    Hi,
    How to run a Concurrent Program from the back end?
    Is it Possible to see that Concuurent Request id which we run from the back end, in the front end?
    If yes, then Please Give reply how to write the code
    Thanks in Advance,
    Bharathi.S

    This is documented in Chapter 20 of the Application Developers Guide http://download.oracle.com/docs/cd/B53825_03/current/acrobat/121devg.pdf. These MOS Docs also have some information available
    221542.1 - Sample Code for FND_SUBMIT and FND_REQUEST API's
    235359.1 - How to Launch Planning Data Pull MSCPDP using FND_REQUEST.SUBMIT_REQUEST
    HTH
    Srini

  • HT5621 Hi, we have three iPhones and iPods which are currently linked to one apple ID.  I have now set up an apple id for each phone/iPod.  How do I go about re-directing the two accounts to the relevant one that has now been set up please?

    Hi, we have three iPhones and iPods which are currently linked to one apple ID.  I have now set up an apple id for each phone/iPod.  How do I go about re-directing the two accounts to the relevant one that has now been set up please?  I could do with a step by step guide to follow as am worried about loosing aps, music, photo's etc which are on the individual phones.
    Thanks
    Mandi

    On each of the phones you're gonna use a new Apple ID for iCloud: turn off Contacts, Calendars, etc. for iCloud. You'll be prompted to keep the data or delete it from the phone, then turn off iMessage, FaceTime & delete the iCloud account...Settings>iCloud...scroll down...delete account. Then, setup iCloud using the new Apple ID, turn on iMessage & Facetime.
    This will have no affect on the ID you share for iTunes content, & you can continue to do so.

  • How can I make two copies of the same picture one with my watermark and one without for printing for clients?

    how can I make two copies of the same picture one with my watermark and one without for printing for clients?

    Export the photo twice, once with a watermark and once without a watermark.

  • How can I connect two ipods on the same computer ?

    Hello,
    My girlfriend has just bought a ipod nano. I have already a "classic" ipod. Do you know how can I connect the two Ipod on the sasme computer without loosing all my songs ? Is ti possible to select songs that she will transfer ?
    Thanks for your answer

    I am trying to contact a Nano to the same computer that has a Shuffle and Mini on it but it just doesn't want to update. I have been sitting fr about 3 hours now trying to make it work and cannot get anywhere. Can ANYONE help?
    Thanks.
    Do Apple not have an online help service? It seems a little strange for a company so large.

  • How can I start two Vi at the same time?

     I have two Vi's, each of these Vi has a stop button. I want to start these two Vis at the same time. I also want to be able to stop the two Vis at the same time. What should I do? Thanks.

    One way to start them is with an Invoke Node and the Run method. You can then stop them with the Set Control Value [Variant] method. When you use the Set Control Value [Variant], you just have to specify the name of the front panel control that stops the while loop. Older versions of LabVIEW only had the Set Control Value method in which you had to use the flatten to string function to pass the Type Descriptor and Flattened Data.
    Message Edited by Dennis Knutson on 03-20-200609:35 AM
    Attachments:
    Run Method.JPG ‏44 KB

  • How can i add two values under the same property?

    Hi all,
    How can i add two values under the same property name in a
    prop list? For example:
    [question1: "item1","item2", question2: "item3","item4"]
    To be more precise, i am creating a property list and I want
    whenever a two values have the same property name to be added int
    he list under the same property. For example:
    gMyList.AddProp (#""&question&"" & x,
    member("input").text)
    question is a variable that is updated fromt he user's input.
    Now, whenever somethign like this happens:
    question = "question1"
    member("input").text = "five"
    question = "question1"
    member("input").text = "six"
    I want to output list to be:
    [question1: "five","six"] and so on
    Any ideas?

    Maybe you could make each property a list (so you have a
    property list full
    of lists), and add multiple values to the list held in a
    particular
    property?
    Cheers
    Richard Smith

  • How to assign the two values for constant (same key)

    How to assign the two values for constant (same key)
    CONSTANTS: c_pstkey TYPE  bschl VALUE '09',
               c_splgl  TYPE  umskz VALUE 'I',
               c_buzei  TYPE  buzei VALUE '001'.
    using BSCH1 again i have two asign vaue
    can you just let me know
    Edited by: sravya_se38 on Nov 23, 2010 12:14 AM

    You can create a structure for that constant .
    You can define in this way
    CONSTANTS : BEGIN OF c_pstkey,
                             01 TYPE bschl VALUE '01',
                             02 TYPE bschl VALUE '02',
                          END OF c_pstkey.
    and can access using...
    c_pstkey-01, c_pstkey-02 ........

  • I have an iPad1 and just purchased an iPad Air, both on the same iTunes account. Is it possible to UNSYNC the two iPads. I would like to use the iPad1 as a library for my frequent guests: KINDLE, AUDIBLE,

    I have an iPad1 and just purchased an iPad Air, both of which are on the same iTunes account. Is it possible to UNSYNC the two iPads with the purpose of using the iPad1 as a "Bare-Bones" library for my frequent guests: The content of my KINDLE, AUDIBLE, & ZINIO Accounts/Apps. How would I go about doing this, if it is at all possible?

    Is it possible to have an Iphone and an IPAD on the same Itunes account on a PC?
    yes.
    the number of mobile devices you can use with a single instance of iTunes is virtually unlimited.
    How to use multiple iPods with one computer

  • HT4111 I have an IPAD updated with iSO 7. Recently I purchased a logitech wireless keyboard and I went to pair the two up and the IPAD shows that the keyboard is paired or connected but when I type using the keyboard it does not transfer to the pad scene.

    I have an IPAD updated with iSo 7. Recently I purchased a logitech wireless keyboard.
    I went to pair the two up and the IPAD recognizes the keyboard and cites that it is connected.
    But I proceed to type the words do not transfer to the screen.
    Any suggestions? Techs at Best Buy state that the iSO 7 is not yet compatible with the keyboard manufacturers?
    How long before they are?

    The BestBuy guys are clueless.  I use a Logitech BT Tablet keyboard with my iPad 4 - used it before with iOS 6 and use it now with iOS 7 and it works just fine.
    A simply thing to try is to remove the BT pairing, reset your iPad (hold the on/off/sleep button and the home button at the same time until the Apple boot logo appears), then try repairing them.  You may have to force the keyboard back into pairing mode (on mine, there is a button on the underside, near the on/off switch, that I would press and hold for second or two to force pairing mode).

  • Can i set up my iPad and iPod to use iMessage between the two devices with the same Apple ID?

    Can i set up my iPad and iPod to use iMessage between the two devices with the same Apple ID? SO i could iMessage if out from my iPod to my iPad at home to be viewed by a family member?

    Look into using Apple Configurator.  It's the easiest way to "reimage" and Manage iPads that I know of right now. 
    http://itunes.apple.com/us/app/apple-configurator/id434433123?mt=12
    Also, look into using the Educational Volume Purchase Program, if you have not already done so. 
    http://www.apple.com/education/volume-purchase-program/

  • On Pages, let's say you have two similar documents, but you need to compare the two to see the differences.  Is there a way to do that?

    On Pages, let's say you have two similar documents. Two versions of the same document, but not merged in Cloud and saved as two separate files. B ut you need to compare the two to see the differences, some things on one, but not in the other.  In Word, they would merge the two and differences would be highlighted in red.  Is there a way to do something like that?

    Not actually in Pages, but there is third party software that purports to do this, google around.
    Peter

Maybe you are looking for