Running two engines step by step at the same time of a port

Hello

I have to run two motors at the same time - was used to move a linear ball screw and the other to get a grip. I do voltage and test on small twist wires, but the tension and torsion must be made at the same time. I must also build capacity for each engine to take several steps, IE. have an engine steps number at speed x and then move x number of speed z steps. The two engines must be able to do. However, I have problems to make the engines to run at the same time and to take all measures. The engines are connected to two RMS Technologies R356 controllers. The two controllers are then connected to a RS485 to USB converter card and this card is connected to one of the USB ports on the computer. Currently, I spend an array of orders to two loops each VISA containing read and written. I have attached the vi to watch. All the stuff in the code synchronization is because a new order cannot be sent to the controller until the engine is running the previous command. If orders are sent right after the other, the controller will not execute the first command and then return with an error.

Does anyone have a suggestion as to what I'm doing wrong?

Thanks in advance for any help.


Tags: NI Software

Similar Questions

  • Why these two loops while cannot work at the same time?

    I place two same while loop in the block diagram, and then use highligt and one-step run function to observe their parallel operation.

    But I discovered that this two loop operate alternately and cannot operate simultaneously.

    Can someone help me understand this?

    My software environment:

    OS: Windows XP SP3

    LabVIEW: student editions 2011

    CPU: intel P8400

    Hi, GerdW

    Thanks for the reply

    I post a video to illustrate my question.

    While I press a strong of the run, I find that these two loops does not begin at the same time.

    While the execution of a loop, the border on the other became dark.

    It seems that during an iteration in loop 1 run, the loop2 keep waiting. and then the loop2 iterate while loop1 keep waiting.

    I do not know why this happens

    Sincerely

  • Run DAQ 6009 in different screws at the same time

    Hi, I need to use the DAQ 6009 case in two or more different subVIs to you same time.

    I have a main VI running two subVIs in parallel. The two sub - VI reads two ways.

    The problem is when a Subvi 'open' or inizializes the DAQ before others and he just read two channels.

    Can I use the DAQ in subVIs in you same time?

    Hi rvenge,

    You cannot share a single resource (as your channels of USB6009 AI) in several places.

    Solution:

    Create a VI that manages all channels of HAVE and stores the current values in a location accessible by the other screws (notifier, globals, FGV...). All the other screws to access the data at this location...

  • Input module of data acquisition can be read by two or more LabVIEW vi at the same time % 3F

    I use the DAQ palette in LabVIEW to read the virtual channels of the input data acquisition module. I've done several VI who read many entries of three modules of simulations. The problem appears when I run two or more VI´s reading entries from the same virtual module (for example. first.VI module 1 input ai0 and second.VI bed ai0 entry module 1 bed), when this happens the next errors are shown:

    Error-50103

    Platform AND Services: The specified resource is reserved. The operation could not be performed as indicated.

    and

    Error-200022

    Resource requested by this task has already been reserved by another task.

    It's worrying because I want to get the DAQ chassis and some modules, but if this problem is present with physical equipment my application may be unnecessary. This means that entry module only can be read once at the time?

    I m using global variables in each Subvi to share data with main VI, however, I found the solution in a different way... I just changed to single channel and dbl sample playback mode, so I Don t need to clean up the task of reading in my subVI´s, the zeros isn´t problem here, and the six subVI´s work at the same time!

    Thanks for the tips!

  • Cannot run another program Adobe and Pshop at the same time

    Hi all

    I am facing a problem of frustration. I can't run two adobe programs the same time - that is to say, Lightroom and photoshop, After effects and photoshop.

    Lightrrom and After effects sem to play together OK at the moment looks like so it may be a problem of PShop.

    Running the final version of windows 7 64 bit, PS3, trial, trial PS4 AE licensee... 8 GB of Ram, has been with graphics cards, Nvidia and ATI both, open GL, on Open GL off, separate "scratch disks", reinstalled.

    Any help, advice, tips would be really appreciated as having to close programs all the time when switching applications is a real pain in the neck

    see you soon

    Jeff

    I'm REALLY happy that I have not built a new 64-bit computer. I have Win7 Pro 64 bit, but I'll wait until SP1 is issued so that the drivers have time to catch the new OS

  • CANNOT OPEN TWO OR MORE PDF FILES AT THE SAME TIME

    Since Adobe Acrobat is released, I could double click on any PDF and it will open a new window.  I use six monitors so I could open and compare six different PDF files at the same time.

    Then all of a sudden about two years, all PDFs started tile in the same window.  This made side by side comparisons is impossible.    What's crazy is not a single person I contacted can understand it.  Even the most intelligent guy (even Adobe technicians) cannot understand how the do-but it was something he always did in the past.

    This is such an obvious feature and the answer should be easy.  Someone on another forum suggested this, but there is no button or option checkbox "Display each document in its own window" - which is what I'm actually trying to do.  The person who asked this question is in the graphic industry told me that she never found an answer after more then 3 years asking.

    What the devil?  Nobody really knows the answer?  Wow.  If I had to open a MS Word window and click on the program again, it would keep opening more and more windows side by side, so I can compare, cut and paste.

    Nobody knows the answer to this simple problem?

    I use Adobe Acrobat 7 and 7 Professional.

    Edition > Preferences (ctrl + k), under Show place settings check "display each document in its own window" and for good measure, clear check to "open interdocument links in the same window.

    Hi Julia,

    Acrobat 7 is not supported by Adobe & its not even compatible on Windows 7. It is not possible to predict how the application on an unsupported environment will behave.

    Kind regards

    Nicos

  • Setting of two sleeves of an anchor at the same time?

    Hello

    Is it possible to adjust the two handles of an anchor point at the same time?
    Screen Shot 2015-02-28 at 10.27.39 PM.png
    I want to change the top of this form of egg shape so that it is symmetrical on both sides when I adjust it.
    What is the best way to achieve this?

    Thank you!

    jaygoo,

    For the simple fact of drag, you can:

    1) select directly the anchor;

    (2) ShiftClick the two handles;

    3 switch) to the scale tool and the ClickDrag in the face of non more.

  • two versions of photoshop open at the same time

    I've updated Photoshop CC last week and now have CC Photoshop and Photoshop CC 2014 in my applications folder. When I open a file created in Photoshop, it opens up Photoshop. However, if I open another Photoshop file (by double-clicking it), it opens a second Photoshop application (instead of the Photoshop application that is already open)... so I have two Photoshops open at the same time. And both are CC versions.

    What gives?

    You must be on a Mac will arrive not under windows. Are you sure that both versions of Photoshop open is CC 14.2.1.  Did you use menu help > about Photoshop since the two windows in Photoshop?

    Read also Re: 14.2.1 CC: minijonction > scripts menu Tools Photoshop launch CC 2014... uh why?

  • Conclusion the two (and) open and closed at the same time to grep

    Hello

    I have a character style, I want to apply to all the () in my document.

    In the box GREP, the poster drop I can select one at a time and make the change.

    Is there a way to find them both at the same time regardless of the number of characters is in the meantime?

    Thank you

    Babs

    Waiting - want - you just the bracket, or parenthesis with the stuff between them also? I'm assuming that the first case, then you need not to look "at the time", you can search 'or a' and apply the style.

    What is perhaps better than a GREP search is a GREP style. Add this GREP style to your definition of paragraph of the basic text, and it will automatically format each parenthesis as soon as you type or import:

    [\(\)]

    and have it apply your parenthesis character style.
    (The brackets means "nothing found in this collection of characters". The back-Slash is because that in brackets mean something in GREP, so you add those to tell "(trouver les parenthèses réelles)." If you wish, you can add other characters from this list.
    If you don't want to use GREP styles, search for the same phrase and change for: simply apply the character Style and change all.
  • Arduino/LabVIEW input acquisition and control engines step by step at the same time

    Hey, I'm doing my last year of electronic engineering project and I'm trying to control 2 Motors step by step with labVIEW. A microphone will be placed on a platform that the stepper motor control and adjusts the position of the platform according to noise levels read from the microphone. To control stepper motors, I use 2 controllers engines step by step Sparkfun.com.

    https://www.SparkFun.com/products/10267

    These controller requires input of pulse. I'll use a DAQ 6008, but I don't know if this can produce a pulse? I also thought using the Arduino to control stepper motors that work perfectly with the controllers, but it would be able to order the engines while gaining an analog voltage to the microphone?

    I appreciate any help you can give.

    But you can use LabVIEW to work with the Arduino using the tools described here http://sine.ni.com/nips/cds/view/p/lang/en/nid/209835

  • How to find the mobile average for perticular time step for the same time series

    Hi all

    I'm new in labview and I have a question. I have a huge text with the value of different pressure of various ports.

    I do the VI in which all first I read the text file and identify the column of perticular port. In this column, there is pressure value 32768.

    Port of Port 102 times Num Port 101 103... Port 532

    0         1

    2 0.001

    .          .

    .          .

    50 32768

    And reading this all takes 50 sec and I divide this reading in 4.5 sec... There are in all 4.5 sec 2969 values...

    Now, please check the attached VI... I am able to find the average value in step 12 2969 value time...

    Now, I want to do is to find the average value of 2969 (2970 to 5938) values with time of 12 steps and so on up to 32768. It is 11 times in the series...

    So anyone can change my VI?

    Thank you

    Hello

    Thank you very much. It's the perfect VI that suits my needs.

    Thank you again... Have a great day ahead.

  • Is it possible to run two iMovie 11 and 10 on the same iMac?

    I have an older 24 "iMac with iMovie 11 and quite a few projects and movies finished.  I want to know if I update to iMovie 10 I'll be able to jump back between the two applications. Or will10 override 11?

    foxrock321

    "I can jump back between two apps"

    Yes, you do.  When you install 10 iMovie, iMovie 11 will be placed in its own folder in the Applications folder and will still be usable.  When you launch iMovie 10 it will you update your projects and events from iMovie 9.  (You don't have to do it immediately and can do so at a later date).  iMovie 10 will create a library package that will be used by iMovie 10 the entire edition.  Records of events and projects iMovie 11 will remain and can still be used with iMovie 11.

    Of course all changes in a future version will not appear in the other, they will work on various issues, but gives you the opportunity to try iMovie 10 before committing to use iMovie 10.  It is best not to transfer projects that are in the middle of editing between versions as you can find that there are a few problems.  iMovie 10 is very different from earlier versions, so there is a bit of a learning curve.

    Note: Avoid updating your operating system on El Capitan, until you came to iMovie 10 as earlier versions have problems running under El Capitan.

    Geoff.

  • Can we run a LabVIEW VI and downloaded at the same time on Arduino code map Arduino?

    If we use LabVIEW to write data in series to an Arduino, can send us on the Arduino code before you run the VI so that the Arduino has something to do with the signals it receives from LabVIEW? Specifically, we want to use the digital IO pins to read into a signal on the Arduino (provided in series by LabVIEW) and do something with the signals as a LED lights up. Is that what most people do?

    Our project includes a parking meter and we want to use the Arduino by itself, but first we want to simulate the code using some signals that we want to move through LabVIEW. Basically, the meter said the Arduino, if they are paid, and if there is five minutes or less remaining on time. Based on this information and data from a PING sensor, we will determine which exit to turn off (a flashing LED to different frequencies to designate two different messages).

    Sorry if my question is not clear or if it is trivial; my partners and I are very new to LabVIEW and the Arduino, and we try to get this working soon.

    The LabView VI Arduino library is designed to work with the Arduino as a USB DAQ/DIO.

    This isn't really what you're after...

    I don't really know how LabView would be useful in this project.

  • How can I have two desktops on iCloud sync at the same time, without having duplicate files?

    Hi all

    I have two computers, a MacBook Pro and iMac. I use the new feature for Sierra macOS, which allows me to continually synchronize my office on iCloud. I welcome the Office on my iMac be synchronized on the cloud. Now, I would have the exact same office on my MacBook Pro. I tried many ways, including by dragging files to iCloud Drive on my desktop, but the synchronization does not work. If I enable syncing on my MacBook Pro, I know that I have duplicate files.

    With this method, I would like to: whenever I have add a file on my desktop iMac computer, it shows up on my MacBook Pro Office without the need for me to keep about iCloud road opening.

    Thanks for reading this.

    Ethan

    If you enable sync on the MacBook Pro, it should not be duplicates.  What makes you think it?

  • Between two lines, how do you at the same time several distant equal lines outside?

    I've done this before in Quark and then in InDesign, but in Illustrator I have not yet found it by doing a search on these forums. I think it would be a part of the "Move" dialog box, but not here... To save an additional frustration I have to ask, and I do not know Illustrator can handle this easily, but I need your help...

    I selected two parallel lines, both of equal length, one copy of the other and spaced several inches outside. I would like to "fill" a selected number of rows between the two existing lines, to make a graph, spaced at equal distance from the apartment. Should what element of the dialog or menu I go to do that?


    TIA,

    Ken

    you want the gradient tool. It is in the tool palette. You can also press 'w' for it is shortened. Select the gradient tool, then click on a line, then the other. It will fill with the specified parameters. to change the settings, select your mixed forms, select the gradient tool and press return, this will bring up the options

Maybe you are looking for