How to get several lines with series C 9501 running with SoftMotion on a cRIO 9074 modules?

Hello

I'll have set up many of the variable axes defined by the user with two modules in series c 9501 running on a Compact RIO 9074 stepper.

I started with the example of "9501 Stepper Drive (Getting Started)", which worked fine with a simple variable user defined axis (Test-interactive panel, SoftMotion functionality on the host).

I need to control 2 axes and I could not find any help on adding a second axis, so I came up with the following approach. My approach was to expand the FPGA VI in a way to add features to the second variable axis defined by the user, so I did the following steps:

1. Add a new variable axis defined by the user.

2. Add the variables defined by the same user as the first axis had during the second axis.

3. a copy of global variables that the first axis necessary to use independent global variables for the second axis.

4. develop the FPGA VI while-loops with the circuits of same for axis 2 and ensure that the circuits for axis 2 use their own global variables, the right modules, their user-defined variables and change the index of the axis from 0 to 1 (don't know exactly how the axis index is defined).

4B. I also tried to copy all the loops for each axis had their independent loops. Then adapt the global variables, modules, the variables defined by the user, index of the axis.

The FPGA VI compiles and runs, but when I get to the Panel of interactive Test for both axes and try to enable them, it throws an error-70228 (Controller unable to confirm that the drive is enabled).

I'm doing something wrong? Is it perhaps a simpler way to get two 9501 modules working with SoftMotion?

I can provide my two examples of published projects (same loop loop / independent), if necessary.

LabVIEW installation:

LabVIEW 2014f1

Module FPGA 2014

In time real Module 2014

SoftMotion 2014f1

cRIO-drivers 2014f1

Xilinx tools 14.7 2014

I hope someone can help me, thanks in advance.

I managed to make it work.

I was missing that a Subvi in the FPGA VI engine control missed their axis index 0. I couldn't even they worked with an index of the axis until I looked into the block diagram of those.

So what happened was that my routines on the second axis disabled immediately the first axis because of bad axis index.

Definition of the index of 0 and 1 axis (axes 1 and 2) for each unique Subvi of motor control was what was missing.

Tags: NI Software

Similar Questions

  • Get several lines with the request - please help

    Hello

    I have query that gives me the output below.
    select distinct a.*,cu1.usr_key,cu1.first_nm,cu1.last_nm
    from(
          select ng.grp_key, ng.grp_nm , gt.grp_typ_nm, stts.nm as grp_sts, ng.expiry_date, ng.updt_dttm, stts.stts_key
          from new_group ng, user_group ug, group_type gt, status stts
          where ug.grp_key = ng.grp_key and ng.grp_typ_key = gt.grp_typ_key and 
          ng.stts_key = stts.stts_key and
          ug.usr_grp_rl_typ_key = 1 and 
          lower(ng.grp_nm) like 'test foe%'
          union 
          select ng.grp_key, ng.grp_nm , gt.grp_typ_nm, sts.nm as grp_sts, ng.expiry_date, ng.updt_dttm, sts.stts_key
          from new_group ng, group_type gt, status sts
          where ng.grp_typ_key = gt.grp_typ_key and ng.stts_key = sts.stts_key and 
          lower(ng.grp_nm) like 'test foe%')a, common_user cu1, user_group ug1
    where cu1.stts_key = a.stts_key and cu1.usr_key = ug1.usr_key and ug1.usr_grp_rl_typ_key = 1 and ug1.grp_key(+) = a.grp_key;
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 09.38.34 29742 Sam Saed
    18345 enemy test remove Group organization DELETED 9 February 12 09.38.34 AM 3 29643 dummyName514 dummy
    18345 enemy test remove Group organization DELETED February 9, 12 09.38.34 AM 3 28917 TestMObileUser Gujral
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 27284 Rocky jegou 09.38.34
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 28920 Bhavani Gujral 09.38.34
    18345 enemy test remove Group organization DELETED 9 February 12 09.38.34 AM 3 29645 dummyFName516 dummy
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 27316 Karthik Gilani 09.38.34
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 28147 Bowl David Mathews 09.38.34
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 09.38.34 29731 Sam Saed
    18345 enemy test remove Group organization DELETED February 9, 12 AM 3 28919 Madhu mango 09.38.34

    For a group 18345, there are 10 users and this is the reason why I get a multiple user records.

    I can't avoid these last three columns, because I have to show these values in the application.

    In my opinion, the UNION is at the origin of the problem. Can I replace the UNION here? Please share your ideas on this.

    Thank you
    Rambeau

    Published by: ouali on February 9, 2012 22:35

    Hello

    because I have to show these values in the application.

    What is your problem then? If you simply issue a SELECT statement to application code or send the data back to REF CURSOR, it will be quite OK to have several lines. That's what the SELECT statements are for: to return sets of results with several lines.
    So, could not explain your problem more in detail please? If you get an error somewhere, provide the code causing the error and the error message (it is probably ORA-001422 exact extraction returns several lines somewhere in PL: / SQL, isn't it? then post here).

    In my opinion, the UNION is at the origin of the problem. Can I replace the UNION here? Please share your ideas on this.

    Us don't know not the answer to this question, because no one here knows your needs (what you need).

  • How to get several beep?

    Hello

    I want to get several beeps output if a comparison condition gives output as true.

    Can someone tell me how to get several beep?

    Put the beep function in a loop with a small wait for the statement.

  • When I print I get several pages with a feel a little on all the pages I want to print

    When I print, I get several pages with what I print with a few lines on each page until what I printed is finished.

    mamorse,

    Thanks for the additional info. Lets try to download and execute printing and scanning doctor found here. It may fix a lot on its own, but otherwise it will give us a better idea of what is happening. The weakness of the signal is not likely the culprit (because he worked for a long time) but we can try to change that if other steps fail.

  • How to treat several Photos with removal of Haze Auto

    Win7 64 bit

    Photoshop Elements 14

    Hello:

    How to treat several photos with removal of haze self at the same time? And how can I process several photos with auto shake reduction at the same time?

    If this can be done with actions, is there an action that can be downloaded to achieve?

    Thank you

    r398tow wrote:

    Win7 64 bit

    Photoshop Elements 14

    Hello:

    How to treat several photos with removal of haze self at the same time? And how can I process several photos with auto shake reduction at the same time?

    If this can be done with actions, is there an action that can be downloaded to achieve?

    Thank you

    Unfortunately, you can only batch with commands in the option "treat multiple files" of the editor or the 'Export' one in the Organizer. Action would be able to combine several orders for a single file, but do not use the command given on a lot. You would need a script for this.

    The two new orders to 14 elements (haze removal and shake reduction) can be very effective, but they can also produce strange artifacts... Their use in the batch may be undesirable.

    I recommend the following solution to improve lots of files needing to increase the local contrast:

    If you work with raw files, open a small batch of files from the Organizer in the ACR module. Use the cursor to 'clarity' to all files in the batch and add some sharpness.

    If you work with JPEG files, use the editor and choose "open in camera raw" option for your batch chosen files from the file.

    Who should provide a good improvement to most of your files. You can use two new orders than in the pictures with the specific defects:

    -shake (common with telephoto lenses) removal

    -mist removal (not only haze, but images softened with "flare")

  • How to animate a line with the pen tool to give the impression that it is plotted?

    How to animate a line with the pen tool to give the impression that it is plotted?

    Or you can choose the pen tool (g), set the padding to zero and the race to what you want, then draw a path, then press U twice to reveal all of the properties that have been changed for the layer, and then click Add (top-right) and select Connect the tracks.

    To make the race work just animate the start or end point and sent to paint on original or reveal original or normal.

  • How to get in touch with customer service?

    How to get in touch with customer service? Twice I had a cat and I would get an answer in the coming days. Never heard a thing! I need an invoice for my accounts but I can't download it. It is said: the customer service contact. But I chatted for 2 times, tried to call, they don't answer the phone. Where is the customer service!

    Hi Regine43b,

    Please visit the following link to get your monthly bill: http://helpx.adobe.com/x-productkb/policy-pricing/print-creative-cloud-receipt.html

    If in case still encounter you problems, please contact support @ https://helpx.adobe.com/contact

    Kind regards

    Sheena.

  • How to get after effect with out having to pay permanently?

    How to get after effect with out having to pay permanently?

    http://www.Adobe.com/products/catalog/CS6._sl_id-contentfilter_sl_catalog_sl_software_sl_c reativesuite6.html

  • How to get the message to debug all to running page request OFA?

    Hello

    How to get the message to debug all to running page request OFA? do not use JDeveloper

    Thank you

    Renon,

    this.writeDiagnostics will be work AM and not CO. You mentioned that your code is AM, which is why I give (this.writeDiagnostics).

    You get an error when you use what to ? AM

    in CO, you must use pageContext. writeDiagnostics();

    You don't need to put any profile (other than DNF: Diagnostics), you just need to go to the Diagnostics - select the log on screen and choose the level that you used in the writeDiagnostics method.

    See you soon

    AJ

  • How to delete several lines in the details Table with PRIMARY KEY = ("VID", "LINEITEM")?

    Mr President

    My worm Jdev is 12.2.1.

    I have master tables / details.

    I have 2 lines for each PRIMARY KEY = ("VID", "LINEITEM") as below in the Details table.

    delete.png

    Please help how to get a button on a jsf page to remove these two lines at a time.

    Concerning

    So, in your app (data model) module, you have a master relationship / typical retail:

    And the relationship between them is based on some ViewLink

    Now go to the ViewLink, relationship, accessor.

    Take a look at the Destination accessor.

    Generate accessor object to check and give a name Acessor

    Then go to the master VO, Java and Include accessor, the class generate a display line:

    Go to the class view Java generated line, you'll find a method with the name of the accessor of the previous step, in the form of:

    public RowIterator getYourDetails...or_whaterever_IsAccessorName..() {
    }
    

    Now, in the same Java class, write the following Java method:

    public void removeDetails(){
      RowIterator details = getYourDetails...or_whaterever_IsAccessorName..(); // it is RowIterator over all details
      Row r = details.first();
      while (r != null) {
          r.remove();
          r = details.next();
      }
    }
    

    This method on the Cilent export line Interface:

    Finally, pass the data controls and drop this operation on the form as a button...

  • How can I get several lines to be printed for a blank text field so that it can be filled by hand?

    I have to create forms that are to be completed by hand and by electronic means.  The problem that I am running provides several lines that will be printed for the people who are the form of fill by hand.  I tried to add an image of lines behind the text field, but these would have got in the way when the form has been completed electronically.

    I use LiveCycle Designer ES2 v. 9.0 on a Windows computer.

    Thank you.

    Ok.

    1. Take a textfield
    2. Navigate to the object. Allow multiple lines
    3. Go to the Layout | Height | activate "develop to adapt."
    4. Go to initialize or readyform event (you must change the _ for your textfield) this.rawValue = "___\n___\n___";
    5. Go to the event, enter - this.rawValue = null;
    6. Go to the exit event

    If (this.) RawValue is nothing)

    {

    this.rawValue = "___\n___\n___";

    } else {}

    With this solution you can simulate the same reason above.

    I hope it's useful for you,

    Mandy

  • How can I get several lines in a form?

    I have a form that contains five fields inside.  One of the fields may require several lines to exist and when it is printed, you cannot use a scroll bar.

    This field is "Allow multiple lines" checked.  Just to make it work, everything else do as well.  Of course, that did not work anyway.  This subform which can repeat has a 'RepeatingData' node, which has a "Repeat" node that contains five fields that can repeat.  I don't see any property on each node so that it can grow dynamically.

    Any ideas?

    The problem is at the disposal of the field. Right-click on the field, hover over pallet, and then click page layout.

    You should see that the height and width parameters. under the entry for the height, there is a checkbox indicating "develop to adapt."

    Hope that helps!

    -PastAdobe

  • Insert several lines with dynamic data

    Hello
    When I do an insert into a table that has several lines of dynamic information. on
    a page, it inserts all rows that are dynamically filled. I want only what he
    to insert the lines that I choose the initials on. How can I do? Let's say I
    have 5 items that are displayed on a page and I want to insert only original
    the first 2 because the last 3 are left blank, how should I do this? I tried
    implementation of an if statement that says:

    < cfif "form. "Help of # PNR_Approval_Initials #" NEQ "" > "".

    Then make the insertion in the table

    < cfelse >
    < / cfif >

    I have this game were also up in a loop that says:

    < cfloop index = "help" list = "" #form.listofids # "delimiters =",">"

    Here is the code for just the insertion. I also have a code here
    Update another table. I got this to work, so I just try to get the insertion
    works fine for the moment. I can not use this where the query statement:
    Where ItemID = #id # because I'm trying to insert into the table of approval, not
    the items table. The table is just updated with some other info. in
    a few other input boxes.

    < cfloop index = "help" list = "" #form.listofids # "delimiters =",">"
    < cfif "form. "Help of # PNR_Approval_Initials #" NEQ "" > "".

    < cfquery Datasource = '#application. DataSource #">"
    Insert into accreditation (APV_ItemID,
    APV_ECID,
    Document_Type,
    Approval_Initials)

    Values (' #Evaluate ("form.) (' ItemID # help # ") #',
    ' #Evaluate ("form. ("ECID # help #") #',
    < cfif isDefined (form '. ') ("Help of # PNR_Doc_Type # ') and
    "form. "Help of # PNR_Doc_Type #" NEQ "" > "".
    ' #Evaluate ("form. ("Help of # PNR_Doc_Type # ') #',
    < cfelse >
    NULL,
    < / cfif >

    < cfif isDefined (form '. ') ("Help of # PNR_Approval_Initials # ') and
    "form. "Help of # PNR_Approval_Initials #" NEQ "" > "".
    ' #Evaluate ("form. (Aide de # PNR_Approval_Initials #») #
    < cfelse >
    Null value
    (< / cfif >)

    < / cfquery >

    < / cfif >
    < / cfloop >

    On the page display, just a table of dynamic info. Here are the 4
    things that I have on this page that needs to be inserted to the database.

    < input type = "hidden" name = "' ECID #ItemID #" value = "#ECID #" > "
    < input type = "hidden" name = "' ItemID #ItemID #" value = "#ItemID #" > "
    < input type = "hidden" name = "" PNR_Doc_Type #ItemID # ' value = "PNR Req" > "

    < td align = "center" >
    < cfif Approval_Initials is not "" > "".
    #Approval_Initials #.
    < cfelse >

    < select name = "PNR_Approval_Initials #ItemID #" >
    < option value = "" > select initials < / option >
    < cfloop query = "ShowInitials" >
    < Cfif Engineer_Initials EQ 1 >
    < option value = "#Initials #" > #Initials # < / option >
    < / cfif >
    < / cfloop >
    < / select >

    < / cfif >
    < table >

    Can someone help me please on just the insertion in the database so that it
    will insert on the lines that I chose the initials on and not others? Thank you.

    Andy

    You almost managed, but I see that you have commented.

    (" The help of # PNR_Approval_Initials # ') AND form ["PNR_Approval_Initials # help #" ""] NEQ "" >

    Do things here

  • How to cut a line with a rectangle using the Pathfinder

    I'm a complete newb in artificial intelligence (several years in Ps).

    I'm trying to cut (delete) a rectangular section of a grid which consists of several lines. I get the message, "the filter yielded no results. Please select two paths that intersect. »

    In its simplest form, I have a line of path (a path) and a rectangle filled (also a path). The rectangle is on top of the line.

    image1.gif

    I select both objects and choose less first plan in the Pathfinder palette.

    image2.gif

    And I get the message "the filter yielded no results. Please select two paths that intersect. "I tried all the options in the pane of Pathfinder.

    I want to do is to have the section of the line which is covered by the deleted rectangle, so I'd end up with two lines that looked like this:

    image4.gif

    If the rectangle overlapped the end of the line, I would that the section where they overlap deleted, and I'd end up with a single line.

    I'm sure I'm doing something wrong, but I have watched several videos on the Pathfinder, read a bunch of posts, and I'm still distraught.

    Thank you!

    It is not practical to change the lines into thin rectangles or cleck on each other by using the form builder.

    you don't have click on all of them, select your lines + the rectangle and Alt + click - drag the rectangle (from top down in your example) and everything will be gone at once.

  • want a row but get several lines

    Hello

    There is a report of payment details. He was asked to change such that there is only one line by the name of checkrun.

    I made a kind of Group on all amount fields no and switched the field amount to the sum instead of retail.

    Is what I get for each checkrun name, a line with all the information I want, but in addition and the additional row with the same amount of repetition. Verify the removal of duplicated lines does not help. Didn't help not make some kind of Group on the quantity; It gives just blank lines after the line required.

    This is urgent. Can anyone help?

    Thank you.
    Leah

    Hi Lea,.
    Maybe the field you see and which has not been deleted causing the problem,
    How complicated it will be to re-create the report with the kind of group you want?
    I have a feeling that if you recreate it, it will work correctly.

    Tamir

Maybe you are looking for

  • Display the restore disk utilities

    I fell really stupid to post this question (as I burned the disks using the "disk utility" for 10 years and more), but I can't understand what is wrong. I have an iMac end of 2014 running version 10.11.2. I opened a disc image I had created, and then

  • My iPad 2 Fresh Air only now at 96% or 80% do not know what is wrong

    My iPad 2 Air only now charges to 96% or 80% mean I need a new battery or is it possible that I can fix it, it's just more than a year

  • How to upgrade my firmware to the printer?

    Hello I'll do a tutorial on how to upgrade your firmware. This ensures that the printer is wise software up-to-date, and it gives you the features more to update that is available for the device you own. This video will show you step by step on how t

  • Server 2008 R2 installation will not configure on DV7 series laptop

    I installed the Server 2008 R2 on a laptop DV7-7012nr. I upgraded the memory up to 16 GB. I deleted all the partitions, and then divide the hard drive into 2 partitions. Partition 1 is 7 442 Go Windows, Partition 2 is 256 GB server. When I install, w

  • Reset the printer

    Why my printer always do something called prepares to halfway through my impression? It should not prepare when it is turned on the first thing in the morning?