How to run several motors in parallel using NI 9501

I want to run three engines at the same time using NI c series module and compac rio 9501 9074 with the example built in open loop speed control...

I need to change in the code than anything... Actually, I copied the same fpga code and change the setting of... motor module work but for engine 2 when I try to disable its player it disables the engine 1. do I need to change something in the code of RT too?

Hi SaraBaber,

Thanks for posting. You need to change the FPGA code and code in real time. In the FPGA code, you must copy the contents of the State of the drive another loop 2 times (it is not necessary to do another 2 while loops, just do while loop larger to include additional code) and replace the modules modules 2 and 3. Similiarly for RT code, you can copy existing code, once 2 wiring additional two paths to the same "Open FPGA VI reference" and "Close FPGA VI reference. You also need to update read/write for the second and third motor controls.

I hope this helps!

Paul

Technical sales engineer

OR UK

Tags: NI Software

Similar Questions

  • How to run several Vi even in parallel?

    Hello

    I have a main VI and a second VI

    in primary VI, I'll put a button Add new OVEN, when the user presses it, the second Vi will take place and capture data from oven.

    When I click this button again, a different second VI Windows will start and captures data Second oven...

    ect...

    I do not know how my VI run several times... as in parallel mode... Even race VI... and unrelated to one another...

    Thank you all for your help,

    The best way to predict the future is to invent it.

    Date of arrival:

    http://zone.NI.com/reference/en-XX/help/371361A-01/lvconcepts/suggestions_for_exec/#Simultaneously_Calling_SubVIs_from_Multiple_Places

  • How to run several programs simultaneously on the same block diagram

    Hi all

    I want to run three instruments simultaneously on the same schema. One is a control position for linear drives, other is an optical micrometer and the third is a digitizer card. When using tabs of the controls, the linear actuator Vi is the only thing that seems to work (confirmation on the front panel) but the optical micrometer show no indication on the front panel, but runs in background. I used a tab control to consume less space on the front panel. Someone can help me solve this problem where I can carry several bolts on a single diagram and could even see on the front panel. I enclose my VI.

    Thanks for the help!

    I can't open your VI, but in general; Either you use a loop with all the instruments in the same loop, or separate loops each with no wires between them that forces the execution order. You have none of this?

    Tab control is purely visual, and has nothing to do with the execution.

    /Y

  • How to run script on the web using HTTP web page?

    Hi guys

    Please let me know how to execute script on the web using HTTP web page?

    Concerning
    Frank

    Hi Jos,

    ODI provides web-based UI to run scenarios using metadata (read only your components ODI) Navigator and designer Lighweight (you can change the mapping here).

    If please review how to install the metadata browser in ODI and take a look at the document ODI Setup for more information.

    Thank you
    Guru

  • I am looking for use multithreading to run several tests in parallel on a single object to measure.

    I wait with multithreaded several tests in additional on an object to measure.  I looked in the main site and all the examples are in zip files which seems to me not being able to download successfully on the site.  Is someone there examples of files or whitepapers on the subject that I can consult?

    put a test in a sequence of void.  Then call this subsequence using New Thread as execution Options:

  • How to acquire data through several channels in parallel using E 6070 PXI, PXI-4071 and LabVIEW?

    Hello

    I use LabVIEW and NI PXI-4071 PXI NOR 6070E to measure the current through a variable resistance. Now, I use a single channel of SCB - 68, but I want to add another channel at the same time so that I can have two resistors instead of one that I cam measure current through them.

    I have attached a Pdf file showing installation of equipment to use and code LabVIEW also.

    Can someone look at these files and give me some guidelines or ideas that can help me solve this problem, please.

    Thanks in advance.

    Best regards

    Shaheen.

    Your 4071 can do a measure at a time. Your data acquisition cannot measure resistance is not she of the analog inputs.

    However, you could use a multiplexer and multiplexer your 4071 DMM. This habit give you simultaneous action, but can acquire data one after the other, the speed depends on the multiplexer, you choose!

    I hope this helps.

  • How to run a SQL statement to use a specific implementation plan

    Hi all

    I have a SQL that has recently been run badly. I tried the Advisor tuning SQL for the given SQL query and it gives the following information:

    GENERAL INFORMATION SECTION

    -------------------------------------------------------------------------------

    Name of the task of tuning: 2q94zb7djr2xn

    The owner task of tuning: LMDBPROD

    Type of work: single SQL statement

    County of execution: 2

    The current run: EXEC_8869

    Type of execution: TUNE SQL

    Scope: COMPLETE

    Time Limit (seconds): 60

    Status: COMPLETED

    Started on the: 03/02/2014-20:43:39

    To the: 03/02/2014 20:44:25

    -------------------------------------------------------------------------------

    Name of the schema: LMDBPROD

    SQL ID: 2q94zb7djr2xn

    SQL text: SELECT NPCOMMON. FGET_ACTION_CODE (ORDNUM) ACTIONCODE, STATUS,

    SUMA COUNT (*) FROM SORDER, WHERE HEADORDNUM IS NOT NULL AND

    NPCOMMON. FGET_PRODUCTOFFER4ORDER (ORDNUM) IN (SELECT ID FROM)

    PRODUCTOFFER WHERE PPSPECIFICATION_ID IN (SELECT ID FROM)

    PPSPECIFICATION WHERE PCLASS_CODE IN (SELECT PCLASS_CODE FROM)

    ARUSERGROUP WHERE CODE IN (SELECT ARUSERGROUP_CODE FROM)

    ARUSER_ARUSERGROUP WHERE ARUSER_USERNAME =: B1 AND STATUS = '1')

    AND STATUS = '1'))) GROUP BY NPCOMMON. FGET_ACTION_CODE (ORDNUM),

    STATUS

    -------------------------------------------------------------------------------

    RESULTS SECTION (1 result)

    -------------------------------------------------------------------------------

    1-alternative Plan conclusion

    ---------------------------

    Some implementation plans alternative for this statement was found by searching

    performance data in real-time and historical of the system.

    The following table lists these plans sorted by their average time.

    See "SECTION of ALTERNATIVE PLANS" section for detailed information on each

    plan.

    plan ID hash last visit elapsed note of origin (s)

    -- ---------- -------------------- ------------ --------------- ----------------

    1 617797893 2013-07-11/07: 45:20 9.555 no reproducible STS

    2 1311086720 2014-01-31/04: 00:44 19.569 AWR

    3 1226863820 2014-01-31/18: 00:24 AWR 21.158

    4 1359606848 2014-02-03/16: 00:34 21.492 AWR original plan

    The plan with hash 617797893 seems the most efficient one and is based on some specific SQL Tuning Set I ran on this time. But the note says that the plan is not reproducible. Is there anyway how can I force the SQL statement to execute the plan? The database version is Standard Edition 11.2.0.1.0

    Best regards

    Rodriguez

    Hello

    I think you can use this

    http://rnm1978.WordPress.com/2011/06/28/Oracle-11g-how-to-force-a-sql_id-to-use-a-plan_hash_value-using-SQL-baselines/

    before 11 g, we used to create an outline stored for this.

    concerning

  • How to load several books in planning using FDM ERPI?

    Hello

    I use FDM and ERPI 11.1.2 to load data from Oracle GL R12 to Hyperion Planning 11.1.2.

    In Oracle GL, I have several books: one for each accounting entities.

    In ERPI:
    -an import format is associated with a single entity accouting
    -a location is associated with an import format, then with a reporting entity
    -a rule of data loading is associated with a place, then with a reporting entity

    In FDM, when configuring the ERPI adapter, you must enter the data load rule name that you want to use.

    So: How to load data from several reporting entities (= books) in planning through FDM/ERPI?

    Thank you in advance for your help!

    Fanny

    Fanny,

    You have no need to fill the data rule option - load adapter. By the documentation, you can also fill the places metadata integration Option n ° 1 with load rule name. This lets you use an adapter in the application of FDM; but the pull of several great books.

    Of course, each book would be a separate location of the FDM.

    Thank you

  • How to run SQL "Issued" BI answers using a query tool?

    How take the 'SQL Issued' in the tab 'Advanced' in demand in BI answers and run its equivalent on the tables of the database, by using a tool like in SQL Developer?

    For example, BI answers shows "SQL to show" of:

    SELECT Team2. Team2 PIF"saw_0, an2. "' Year ' saw_1, Cube2.Hr saw_2
    OF 'AW_BALL2 Cube2.
    WHERE Year2.Decade = '2000's
    ORDER BY saw_0, saw_1, saw_2

    How translate this into something that will run in SQL Developer and show me the same data that takes demand? Thank you.

    the SQL code that you quoted is the SQL logic.
    It was sent to presentation services through ODBC to the BI server, which translates using the RPD in 'real' SQL, which is fire to the database.
    As said, you need for the level of logging to see the 'real' SQL that runs the BI server... This in the administration in respect of security tool. See the Administration Guide for more information.

    FWIW, if you really want to run SQL that you mentioned and then launch an ODBC client (Microsoft query, TOra, etc.) and direct him to a system DSN you set type Oracle BI pointing to your Oracle BI server.

  • How to run the oracle form without using a web browser

    I am a new developer in Oracle Form builder.
    Could someone tell me how can I use oracle without using a web browser?

    Bravo,

    N ° Web, since Forms 9i versions, are Web Client and needs an application server to run the forms runtime.

    François

  • How to run a stored procedure by using the steps in database?

    Hello

    I'm trying to run some procedures of the store and it will not work.

    See the file attached is seq.

    I have a varchar parameter (50), which must also be provided to the stored procedure and it returns an int.

    To do this I had to only use data in an open statement

  • HP Ink Advantage 1515: How to scan several pages (continuous sweep) using HP Ink Advantage 1515

    Please help coz I want to scan several pages (continuous sweep) and saved in a PDF file.  How can I do for my model of 1515 ink advantage?  Hope you can answer.  Thank you

    Hello

    The HP Deskjet 1510 software click on scan a document or photo.

    Select PDF and make sure the option Show Scan preview is checked.

    Set the resolution to 300 PPI or lower and click Scan.

    Once the scan is completed, replace the page and click on the button "+" below the overview of scan to scan the next page, once you have finished click on save and the complete analytical work will be registered under a single PDF file.

    Kind regards

    Shlomi

  • OIM 11 g - how to run a task scheduled by using APIs

    Hi all

    Can I know how can I run a job schedule in OIM 11 g via API. I mentioned the link below but it is for version 9.x. I need the same functionality in 11g?

    Schedule tasks

    Thanks in advance.

    Check this box:

    SchedulerService schService = oimClient.getService (SchedulerService.class);
    schService.triggerNow round demo Scheduled Task");

    QAnywhere:

    Sub triggerNow (java.lang.String jobName)
    get SchedulerException,
    SchedulerAccessDeniedException

    Runs the specified job
    Parameters:
    jobName - the work that needs to be triggered
    Throws:
    SchedulerException - when an error occurs in the Quartz engine or Scheduler is not running.
    SchedulerAccessDeniedException - this exception will be thrown if the access permission for the operation is not available for the user

  • How to upgrade several records or table using single update statement.

    Hello friends,

    I'm going to abc and xyz table.

    ABC: columns
    Ein, equipementid
    1-99999
    2 99999
    3 99999

    total records 1000

    columns of XYZ:
    Ein, equipementid
    1 1234
    2 3456
    2 4567
    4 4567

    total records 10000000

    I want equipmentid update table abc with equipmentid table xyz for ein game (like abc.ein = xyz.ein) and then had to delete record from table xyz corresponds to ein and equipentid who has updated the record in abc.

    Note: If you see xyz for ein table 2 we have two different equipmentid, we update with any value and only the record of xyz must be deleted once updated.

    A single declaration for the update and only statement needing to remove.

    Appreciate your help.



    Thank you / kumar

    Published by: kumar73 on August 2, 2012 13:02

    Maybe

    merge into abc
    using (select ein,max(equipmentid) equipmentid
             from xyz
            group by ein
          ) x
       on abc.ein = x.ein
     when matched
     then update
             set abc.equipmentid = x.equipmentid
    
    delete from xyz
     where exists(select null
                    from abc
                   where ein = xyz.ein
                     and equipmentid = xyz.equipmentid
                 )
    

    Concerning

    Etbin

  • Help! How to load several SWF files by using the following code?

    In stock for 1 frame:

    ( var myrequest:URLRequest =new URLRequest ()'A.swf'();
    ( var myloader:Loader =new Loader()();
    myLoader. load () myrequest ();

    img1. addEventListener () MouseEvent. ( CLICK, button click();

    ( function button click ()event: MouseEvent ():void{ }
    Stadium. addChild () myloader ();
    }

    img1.addEventListener (MouseEvent.CLICK, fl_ClickToGoToAndStopAtFrame_5);

    function fl_ClickToGoToAndStopAtFrame_5(event:MouseEvent):void

    {

    gotoAndStop (13).

    }

    In action to frame 13: (img2 is another button)

    img2.addEventListener (MouseEvent.CLICK, unloadFunction);

    function unloadFunction(event:Event):void {}

    stage.removeChild (myloader);

    }

    you want to load another swf (for example, B.swf) when you are in frame 13 and img2 is clicked?  If so, and you do not want A.swf continue to play, use:

    In action to frame 13: (img2 is another button)

    img2.addEventListener (MouseEvent.CLICK, loadF2);

    function loadF2(event:Event):void {}

    myLoader.Load (new URLRequest ("B.swf"));

    }

Maybe you are looking for

  • Incapable of / the share of exports of iMovie

    Hello I can't try to share/export iMovie (10.1.1) to a file. The process hangs at a random time or throws an error 10008. It does not matter what video I try to export, for 2-3 months I always get the same result. As you can imagine, it's very frustr

  • Cannot install Adobe Reader 9.3 Error Message 1402

    I made several attempts to download the Adobe Reader updates, but still receive the Error Message 1402 every time.  I have recently deleted adobe all products from my computer and reinstalled each successfully, with the exception of Adobe Reader 9.3.

  • Unreadable product key

    Remember - this is a public forum so never post private information such as numbers of mail or telephone! Ideas: I need to reinstall my MS vista, but the key on the sticker is not clearly see how another You have problems with programs Error messages

  • The icons are missing, and I have problem open some of them.

    PRE-INSTALLED SHORTCUTS ARE ALSO SIMPLY MISSING, LIKE NETFLIX, ETC.  I HAVE TO GO IN ONE OF THE RECORDED PROGRAMS, I DOWNLOADED TO GET EVEN ON THE WEB, PUT THE ADDRESS INTO THE SEARCH BAR.  I'M SO CONFUSED.  Help, please.  COMPUTER IS NOT EVEN 2 WEEK

  • How to format a disk for installation of win 7

    Hello. I recently built a computer and I burnt a windows 7 Enterprise 64-bit install disk using a. ISO from microsofts Web site. I installed it successfully on the computer (it is in trial version), but now I need the DVD to burn windows 8. I can't d