How do you get the two engines alternately

I have therefore two SilverPak engines 23CE I'm control with LabVIEW.  The ultimate goal is to attach them to the x - and y-size of a square plate and move it into a dither motion - that is, through a line of specified length down a bit, then again in the other direction and down once again, etc.  I got to the point where I can give them each specification in what concerns how far and in what direction and both go at the same time, but I need to make them wait turns so that a single engine is running at the same time in order to get the type of movement, I want.  I think I can't or work in a delay time for each engine determined by the characteristics of the other (speed, acceleration and distance, everything I put it) or else the work to a Boolean value that checks to see if engine #1 is running before starting the engine #2, and vice versa.

I work with these engines for three days now and just LabVIEW for the first time the day prior to that, so all for a n00b's kind words are much appreciated.

Thank you!

-Nelly

Hi Nelly,

Welcome to the Forums of Discussion OR! I took a brief look through the manual SilverPak for orders of the unit here: http://www.linengineering.com/LinE/contents/stepmotors/pdf/Silverpak23C-R356Commands.pdf. It is possible to use the information of speed and acceleration, it seems that there may be a more direct way to wait for a move be complete using one of the commands query on page 10. I'm not too familiar with these units of engine or the amplifier, but you should be able to question the position of motor with 1? command 0. So, you can issue a command of the first engine and then constantly question the engine until the desired position is reached and then runs the next step.

To do this, you can benefit from a state machine for your code architecture: http://www.ni.com/white-paper/3024/en. Essentially, you can have a set of States for your system (for example to move X, move Y) and you can move from one State to another based on certain conditions (for example the position of X has reached a threshold). While it may take a little more time to set up initially, it will make future additions to your code much simpler. Please take a look at the link and let me know if you have any other questions.

Tags: NI Hardware

Similar Questions

  • How do you get the list of bookmarks affixed permanently on the left side of the screen?

    I managed to get the bookmarks permanently open and displayed in a vertical column on the left side of the screen. I accidentally closed and cannot get it to appear again. How do you get the list of bookmarks permanently opened and displayed again? Thank you.

    You can enable or disable the power bookmarks bar by ' display > lateral bars > bookmarks "or Ctrl + B

    You can enable or disable the sidebar story power by ' display > lateral bars > History "or Ctrl + H

    Press the F10 key or press the Alt key to bring up the 'Menu Bar' temporarily if the menu bar is hidden.

  • How do you get the iPhone 6 to stop going to 6 GMT?

    How do you get the iPhone 6 to stop going to 6 GMT? Its been screwed upward, since the time has changed, I turned it off and on several times, I turned off hard it 3 times... If the phone is in automatic update for the zone. It boils down to 6 GMT after an hour...

    Have you by any chance Sprint - it seems to be a problem of carrier - we saw a few complaints like this here

  • How do you get the beta version of windows 7 to solve the problem created when the auto update 0x0000c1f5 ran?

    How do you get the beta version of windows 7 to solve the problem of stop 0x0000c1f5 windows vista home edition created when the automatic update ran?

    Previous discussions about the error: ~ Robear Dyer (PA Bear) ~ MS MVP (that is to say, mail, security, Windows & Update Services) since 2002 ~ WARNING: MS MVPs represent or work for Microsoft

  • How do you get the screensaver fade between images

    the new screen saver 7 does not seem to have removed some functionality on the screen saver.  How do you get the images to fade from one to another on the screen saver?  now she jumps just from one to the other.  Ugly!

    You can use Windows Live Photo Gallery screen saver, because it comes with the support of 'themes'.

    -Windows Live Photo Gallery:
    http://download.live.com/Photogallery
    Ramesh Srinivasan, Microsoft MVP [Windows Desktop Experience]

  • BlackBerry Smartphones how do you get the keyboard of the storm to lock on Holster?

    I was able to do it on my first storm, but I went back to that one.  How do you get the keyboard of the storm to lock when placed in the Holster?  Thanks for your help

    rbattista wrote:
    I was able to do it on my first storm, but I went back to that one.  How do you get the keyboard of the storm to lock when placed in the Holster?  Thanks for your help

    Locking on Holstering

    1. in the terminal options, click password.
    2. change the Lock Pocket Holster Yes
    3. press the Menu key.
    4. click on save.

    Jamie

  • in windows 7 when you right click on how do you get the little line under the letter of the you can click on to make it open Windows 7

    in windows 7 when you right click on how do you get the little line under the letter of the you can click on to make it open Windows 7

    Example when you right click on a program, you can see Open if you click o the file opens, it was in XP, but not in 7

    That's what you want.

    1 - Open "Control Panel" and go to accessibility.

    2 - click make the keyboard easier to use.

    3. the title of 'Make it easier to use keyboard shortcuts' tick the box 'Underline access keys and keyboard shortcuts' and click 'Ok '.

    Oh sure, it could be useful.

  • How do you get the numeric value of an image

    How do you get the numeric value of an image

    This in a small example

    var Red = ' \u00FF\u00D8\u00FF\u00E1\x05oExif\x00\x00MM\ '.



    Here is a link to a script open source that generates a string that represents the data of a file binary, especially useful to integrate a small image in a script or file patterns in a JSON structure, for example:

    Get the data from binary string

    HTH,

    Domestic-

  • In the demo Katies bakery how do you get the direct site of the page with the master (shortened?)

    In the demo Katies bakery how do you get the direct site of the page with the master (shortened?)

    I figured that out it would actually bakery.com Katie to see real live online

    Sent from my iPhone

  • How do you get the header of HTTP authentication for our hosted solution?

    How do you get the header of our hosted solution (adobeconnect_admin_httpauth) HTTP authentication? The documentation says find a custom.ini file but I have no idea how access.

    I need to provide only the plugin adobeconnect used with a Moodle instance, screnshot below.

    adobeconnect.png

    If it helps, when I click "Test connection", I see the following output.

    A series of tests were run to determine if the Adobe Connect Pro Server has been properly configured for this integration to work and also determine if the user credentials provided in the global settings activity has the appropriate permissions to perform the necessary tasks required by the activity module. If none of the tests below have failed, this activity module will not work correctly.

    To get help and documentation in how to configure your Adobe Connect Pro Server, please see the help page of MoodleDocs for this activity module help page

    Sending call common-info:

    has managed to get the session key: na11breezrirhb4f4ryf5shqy

    connected as user admin

    Test retrevial of shared content, registration, and records of the meeting:

    Error getting the shared content folder

    XML request:

    <? XML version = "1.0" encoding = "UTF-8"? > < params > < param name = 'action' > sco-shortcuts < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < status code = "lack of access" subcode = "no-login" / > < / results >

    getting error forced archives folder (meeting records)

    XML request:

    <? XML version = "1.0" encoding = "UTF-8"? > < params > < param name = 'action' > sco-shortcuts < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < status code = "lack of access" subcode = "no-login" / > < / results >

    record of meetings to get error

    XML request:

    <? XML version = "1.0" encoding = "UTF-8"? > < params > < param name = 'action' > sco-shortcuts < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < status code = "lack of access" subcode = "no-login" / > < / results >

    meeting testmeetingtest file creation error

    XML request:

    <? XML version = "1.0" = "UTF-8 encoding"? > < params > < param name = 'action' > sco-update < / param > < param name = ' type' > meeting < / param > < param name = "name" > testmeetingtest < / param > < param name = 'folder-id' / > < param name = "date-begin" > 2015-03-14T 06: + 00:00 53:39.000 < / param > < param name = 'date-end' > 2015-03-14 T 07: + 00:00 53:39.000 < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < = "invalid" status code > < invalid field = 'folder-id' type = subcode 'id' = 'format' / > < / status > < / results >

    Error creating user testusertest

    XML request:

    <? xml version = "1.0" = 'UTF-8' encoding? > < params > < param name = 'action' > principal-update < / param > < param name = "name" > testusertest < / param > < param name = "name" > testusertest < / param > < param name = "login" > [email protected] < / param > < param name = "password" > 9B396EA828A00203FB3E8E69010FE537 < / param > < param name = "extlogin" > [email protected] < / param > < param name = ' type' > user < / param > < param name = "send email" > false < / param > < param name = "a-kids" > 0 < / param > < param name = "email" > [email protected] < / param > < / params >

    XML response:

    <? XML version = "1.0" encoding = "utf-8"? > < results > < status code = "lack of access" subcode = "no-login" / > < / results >

    What do we lack?

    Thank you!

    Here's the docuementation for loging in there with a Headder HTTP Adobe Connect 9 * log from an application

    Because there may be some changes to the files on the server, you may need to work with Adobe's Support to see if they can be changed in the hosted environment. Acrobat Connect Pro help | Acrobat Connect Pro Support

  • How do you get the help of a Page element to display text?

    How do you get the help of a Page element to display text? We entered our text in the help text of our Page element part. However, when you place the cursor of the mouse on the Page element, any help text is displayed? Any comment is appreciated. Thank you.

    How do you get the help of a Page element to display text?

    .. .a page element...

    Is there a link for the point label? Otherwise, change the model of wording of article to use the model named "Necessary with assistance" or "optional with assistance.

    When you place the cursor of the mouse on the Page element, any help text displayed?

    If there is a link, you must click on the link.

    Scott

  • I have the video on a SD card and a Mac after placing the card in the Mac SD how do you get the video on the Mac it's done in iMovie or QuickTime?

    How do I get the video from an SD card and Mac

    What you want to do with the video? Just play, or modify it?  If play, drag it into iTunes. It will, of course, need to be in a format that iTunes supports.  Who will copy it to the computer and place it in the home movies iTunes folder.  If you want to change it drag the map file to a desired location on the computer.

  • HOW DO YOU GET THE OTHER BROWSER BOOKMARKS THAT EXPLORER AND HOW DO YOU DEFINE TO THE TOP

    I'm trying to get Flash pic Slimbrowser bookmarks. And how do you get bookmarks to work. I have imported some from the Explorer, and they are not displayed. like they aren't there, but when I import them he told me it was full.
    THX

    See bookmarks to import in Google Chrome

  • How do you get the normal taskbar? It is 1 inch thick

    The taskbar are 1 inch thick at the bottom of the screen. It takes only about a quarter of an inch.

    Icons & clock in the taskbar is vertical instead of horizontal. The clock also day & date

    How do you get it back to normal?

    See the second example (how to resize the taskbar Windows) here: http://www.timeatlas.com/5_minute_tips/general/how_to_resize_or_move_windows_taskbar

  • How do you get the necessary codecs to AVI on Windows Movie Maker files to run?

    I tried to open an AVI video file on Windows Movie Maker for the first time, and he said was: "the file cannot be imported because the codec required to play the file is not installed on your computer. If you have already tried to download and install the codec, close and restart Windows Movie Maker, and then try to re-import the file. »

    -What this means and how I can get the codec?

    Help, please!

    You must use an application like MediaInfo to identify the missing codec and then download the one you need. MediaInfo can analyze the video file and provide a link to download the appropriate codec. Here are some additional details on How to solve the problems of codec with MediaInfo.

Maybe you are looking for

  • I can't get a Perl script

    I can not get a script Perl - the compiler will not accept even the quotes

  • Laptop 13 inch fits inside the bag to Henri Bendel's back?

    It's the bag: https://www.henribendel.com/jetsetter-convertible-backpack-28012359840193.html?c gid = shop_handbags_messenger_backpack & start = 2 They gave me the dimensions, but I saw a video on youtube of an older version of this bag were a macbook

  • 670 error when installing the update for silverlight KB2416427

    Original title: cannot install the update for silverlight KB2416427 670 error cannot install the update for silverlight KB2416427

  • Windows Home Server (Server 2003) keeps waking up at 12: 00!

    Hi, I have problems with my server. The server maintains the wake up at 12: 00 (midnight) 7 days a week, I wonder it can be a device or a setting such as updates, backup or device. I just wonder if you have solutions for this problem. Because, at the

  • Remote access VPN for IOS router

    Hi all I'm trying to implement remote access with Split tunneling to a Cisco 2801.  I can connect to the VPN profile and access to the internet, but I am unable to ping/scope of devices (10.10.10.X) inside.  Vpn users receive assignments to correct a