Need right value to Load/Read Velocity Using Input/Return Vectors

I have a servo motor with a encoder feedback of ( 4,000 counts per revolution ), maximum velocity of 6,000 rpm ( 100 rps ). I need to create 3 moving profiles with stroke time of 0.25 mm/sec, 1.0 mm/sec, and 25 mm/sec. I would like to use either Load Velocity VI or Load Velocity in RPM VI whichever is easy to set velocity, distance, and read position of my axis. More, I would like to be able to use onboard variables to set distance, velocity, and read position of the axis using input/return vectors, but I don't know how to set the right values. Do I need a conversion or multiplier number to get the right value?
Any help would be greatly appreciated.
Carlos D' Garcia.

Carols –
There is a simple vi on how to do vector moves at the following link (I also attached the file below):
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DF9956A4E034080020E74861&p_node=DZ52480&p_source=External
To have your axes move at different rates, you will have to replace the single ‘Load Velocity in RPM.vi’ that is wired to the Configure Vector Space.flx with three separate Load Velocity RPM.vi’s each with an axis constant (or control) wired to their axis input and the max velocity you want. This way, you will set the maximum velocity for each axis rather than all three at once.
Best of luck with your project! Let me know if you have further questions with this.
Marc C
National Instruments
Applications Engineer
Attachments:
Three-Axis_Vector_Move_with_Position_Monitor.zip ‏29 KB

Similar Messages

  • How can I pass the values to the variable by using INPUT ON from output

    HI,
        In this code I printed  s_number by using INPUT ON .
    In the out put I want to give the some new values to that field s_number.
    That new value I  pass to the another prgroam ZMAT_LABEL_FIRST .
          How could I pass this new  content to this program.  I wrote like this but I am not getting new content what I entered in the output.
    REPORT  ZMAT_LABEL_SCREEN_V1    NO STANDARD PAGE HEADING                    .
    PARAMETERS S_MBLNR TYPE MSEG-MBLNR.
    DATA C .
    DATA CNT TYPE I.
    DATA   S_NUMBER(3) TYPE C.
    DATA : BEGIN OF IT_MBELN OCCURS 0,
            MBLNR TYPE  MSEG-MBLNR,
            END OF IT_MBELN.
    DATA :  BEGIN OF IT_MSEG OCCURS 0,
            ZEILE TYPE MSEG-ZEILE,
            MBLNR TYPE MSEG-MBLNR,
            MEINS TYPE MSEG-MEINS,
            BPMNG TYPE MSEG-BPMNG,
            MAKTX TYPE MAKT-MAKTX,
            END OF IT_MSEG.
    DATA IT_FINAL LIKE IT_MSEG .
    data: it_ret like ddshretval occurs 0 with header line.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR S_MBLNR.
    SELECT MBLNR
           FROM MSEG
           INTO TABLE IT_MBELN.
           CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
             DDIC_STRUCTURE         = ' '
               retfield               =  'MBLNR'
              PVALKEY                = ' '
             DYNPPROG               = ' '
             DYNPNR                 = ' '
             DYNPROFIELD            = ' '
             STEPL                  = 0
             WINDOW_TITLE           =
             VALUE                  = ' '
              VALUE_ORG              = 'S'
             MULTIPLE_CHOICE        = ' '
             DISPLAY                = ' '
              CALLBACK_PROGRAM       = 'ZMAT_LABEL_SCREEN '
             CALLBACK_FORM          = ' '
             MARK_TAB               =
           IMPORTING
             USER_RESET             =
             tables
               value_tab              =  IT_MBELN
             FIELD_TAB              =
              RETURN_TAB             =  IT_RET
             DYNPFLD_MAPPING        =
           EXCEPTIONS
             PARAMETER_ERROR        = 1
             NO_VALUES_FOUND        = 2
             OTHERS                 = 3
           IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.
    IF SY-SUBRC = 0.
    read table it_ret index 1.
    move it_ret-fieldval to S_MBLNR.
    ENDIF.
    START-OF-SELECTION.
    SELECT A~ZEILE
           A~MBLNR
           A~MEINS
           A~BPMNG
           B~MAKTX
           INTO CORRESPONDING FIELDS OF TABLE IT_MSEG
           FROM MSEG AS A INNER JOIN MAKT AS B
           ON AMATNR = BMATNR
           WHERE MBLNR = S_MBLNR.
    ****FINDING THE NUMBER OF RECORDS IN THE TABLE
    DESCRIBE TABLE IT_MSEG LINES CNT.
    at line-selection.
    DO CNT TIMES.
    READ LINE SY-INDEX FIELD VALUE C.
    IF C = 'X'.
    READ TABLE IT_MSEG INDEX SY-INDEX .
    ***HERE READ THE S_NUMBER(WHAT I ENTERED IN THE OUTPUT)  AND PASS TO THIS PROGRAM
    submit   ZMAT_LABEL_FIRST with p_mblnr = IT_MSEG-mblnr
                              with number =  S_NUMBER
                              WITH S_ZEILE =  IT_MSEG-ZEILE and return.
    CLEAR IT_MSEG.
    ENDIF.
    ENDDO.
    **********ALL ITEMS CORRESPODNING TO THE DOCUMENT NUMBER DISPLAY
    END-OF-SELECTION.
    LOOP AT IT_MSEG.
    WRITE : /10 C as  CHECKBOX,IT_MSEG-ZEILE,IT_MSEG-MAKTX,IT_MSEG-BPMNG,IT_MSEG-MEINS, S_NUMBER COLOR 5 INPUT ON.
    ENDLOOP.
    Regards,
    Surya

    Hi Surya..
    Change it like this ...
    START-OF-SELECTION.
    SELECT A~ZEILE
    A~MBLNR
    A~MEINS
    A~BPMNG
    B~MAKTX
    INTO CORRESPONDING FIELDS OF TABLE IT_MSEG
    FROM MSEG AS A INNER JOIN MAKT AS B
    ON AMATNR = BMATNR
    WHERE MBLNR = S_MBLNR.
    ****FINDING THE NUMBER OF RECORDS IN THE TABLE
    DESCRIBE TABLE IT_MSEG LINES CNT.
    at line-selection.
    <b>DO. </b>
    READ LINE SY-INDEX FIELD VALUE C
                                      <b>FIELD VALUE IT_MSEG-ZEILE.</b>
    <b>if sy-subrc ne 0.
      EXIT.
    ENDIF.</b>
    IF C = 'X'.
    ***HERE READ THE S_NUMBER(WHAT I ENTERED IN THE OUTPUT) AND **PASS TO THIS PROGRAM
    <b>CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
      exporting
        INPUT = IT_MSEG-ZEILE
      IMPORTING
        OUTPUT = IT_MSEG-ZEILE .</b>
    submit ZMAT_LABEL_FIRST with p_mblnr = IT_MSEG-mblnr
    with number = S_NUMBER
    WITH S_ZEILE = IT_MSEG-ZEILE and return.
    CLEAR IT_MSEG.
    ENDIF.
    ENDDO.
    **********ALL ITEMS CORRESPODNING TO THE DOCUMENT NUMBER DISPLAY
    END-OF-SELECTION.
    LOOP AT IT_MSEG.
    WRITE : /10 C as CHECKBOX,IT_MSEG-ZEILE,IT_MSEG-MAKTX,IT_MSEG-BPMNG,IT_MSEG-MEINS, S_NUMBER COLOR 5 INPUT ON.
    ENDLOOP.
    <b>Reward if Helpful.</b>

  • Load master data using input schedules

    Hi all,
    Does there exist a way to load and modify master data using input schedules?
    Regards,
    Nithya

    Hi Nithyapriya,
    Chiming in here to 2nd Joost's statement above.  As of BPC 5.1 version, it is not possible to update master data from an Input schedule.
    Whether that's possible in other products or with BPC 7.0 NW (currently in Ramp-up), is another story.  For now, the general answer is that it's not possible.
    This is a known area for improvement with BPC at this time, and we're sure to hear more about either integration with NetWeaver or some other methods of making things more dynamic, or with SSIS packages, etc.. in the future.
    Edited by: garrett tedeman on Sep 2, 2008 7:20 PM

  • Help Needed !! Urgent. Read .txt using j2me.

    Hi,
    I need to read this field;
    Server IP Address = 192.122.139.16*
    BT Addr & Port No. = 000B0D182EDA:1*
    Help IP Address = 192.168.0.100:3334*
    is there any easy coding which can help me to read all the fields above using j2me?
    I am using BufferedReader and i am having abit of a problem..

    here's my coding.
    import java.io.*;
    import javax.microedition.lcdui.CommandListener;
    import javax.microedition.midlet.MIDlet;
    public class Settings {
         public Settings()
              BufferedReader br = new BufferedReader(new FileReader("Settings.txt"));
              int a = 2000;
              String [] sets = new String [a];
              for (int i = 0; i < 2; i ++)
                        sets[i] = br.readLine();
                        System.out.println ("" +sets);
    the errors come from the BufferedReader. " BufferedReader cannot be resolved to a type".
    Do help me out with this.. thanks!
    Edited by: remi17 on Feb 18, 2008 8:02 PM

  • Need help with widget loading problem. Using Nivo image slider within basic composition.

    I am using a basic composition widget to display multiple Nivo image sliders. Each basic tab displays its own Nivo slider. Please reference http://penthouse.businesscatalyst.com/cocktails
    The problem I am experiencing is when I click on a tab (ie: Whiskey) it displays the composition box containing the slider, but the slider is like it is stuck up in the top and it waits and then finally comes down and starts the Nivo slider after that. I just want the image slider to appear showing the first slide instead of transitioning it in. In the settings for the basic composition, the only transition that is selected is fade. Any ideas?

    No...  Try this link:  COCKTAILS
    You should see this then click on whiskey

  • Read velocity from QUAD-510 using single phase sensor

    Hello, for my application I'm using a proximity sensor to count pulses using the CTR-400. To obtain velocity, I can make some calculations based on frequency or period but I was wondering if I can delegate this annoying task to the QUAD-510 module At the moment I'm able to read velocity using an encoder, but what if I use a single phase sensor like a proximity?

    Hi,
    Take a look at this document that talks about measurement with single phase and QUAD-510:
    http://digital.ni.com/public.nsf/allkb/5E1CBFCBF821822686256CBB005B5305?OpenDocument
    Best regards
    Luca Gallo
    Sales Engineer
    Attachments:
    PID Velocity Control.vi ‏34 KB

  • Read Velocity minimum threshold?

    Is there a minimum velocity that an axis encoder must be above before the "Read Velocity.flx" will return a value?
    When I run at slower speeds for the system and try to use this VI to determine the speed of the axis to calculate the appropriate time of the move, I am getting back 0 for my velocity.
    Stepper motors, 5000 steps/revolution, 10 mm/rev pitch screw stages, 5000 counts/rev encoders.
    Thank you,
    Ryan
    Ryan Vallieu
    Automation System Architect

    Hi Ryan,
    If you look at the detailed help in LabVIEW for the "Read Velocity" VI, at the bottom of the document it says, "The data this
    VI returns is averaged based on parameters set in the Load Velocity Filter Parameter
    VI"  This VI configures the internal filter for velocity reporting. The reported
    velocity can oscillate due to feedback quantization error, noise, and jittery
    systems, etc. There is a lot more information given for this function in the detailed help that I would suggest looking at (update interval input, filter distance, etc).  I hope this helps.
    Regards,
    Vu

  • HT201070 I currently use OS 10.6.8 and Aperture 3, and just got a Nikon D600. It seems the the RAW Compatibility updates (4.01) are for use only with OS 10.7.5 or later, is that right? Do I need to update my whole OS to use this camera? Thank you!

    I currently use OS 10.6.8 and Aperture 3, and just got a Nikon D600. It seems the the RAW Compatibility updates (4.01) are for use only with OS 10.7.5 or later, is that right? Do I need to update my whole OS to use this camera? Thank you!

    Thanks to Bobthefisherman & Turbostar.  Turns out I've got a corrupted disk (which I found out via "verify disk" on Disk Utility First Aid.  Previously, I never thought to verify disk -- only to repair permissions -- so I never knew my HD had been corrupted.
    Wasn't able to do a clean install of OSX10.6 because my SuperDrive only sporadically will load discs, so I am taking it to the Apple Store to see if they can do a clean install, and depending upon costs, get the Superdrive replaced. 
    The HD wasn't partioned by the way.  And I did have just over 40GB of contiguous space. 
    Thanks again.

  • Use Text Ring to Set Parameter; Need Reverse Text Ring to Read?

    Using the manufacturers manual I have managed to program a number of simple programs to interface with one of the pieces of lab equipment I am using. To set the sensitivity of the device I used a text ring to allow the user to select the sensitivity visually, while using the number to program the device. Essentially the internal programming had a text ring in mind. To program a sensitivity of 1 nV I use SEN 0. For 3 nV SEN 1. This continues until 3 V with SEN 15. 
    Now, In order to read the values from the device properly I need to be able to read the sensitivity. The SEN command returns the numeric value but how do I convert the number into a string (much like a text ring in reverse) for each possible outcome? 
    Subsequently I could just read the numeric value, but I need to treat each sensitivity differently. For example. Reading a 10mV source at the 30mV sensitivity the output voltage is .333V, indicating 1/3 the full range.  At each sensitivity I have to multiply the reading by the sensitivity to get the true value. 
    What is the most compact way to program this? I could set up 16 if equals comparisons and 16 separate branches of code, but that seems highly inefficient. 
    Nukem

    I think some of these solutions will work to clean up the use of the sensitivities, but let me be more clear on the reading and writing portion.
    In the manual I have a table that tells me what command to send to the device to achieve a certain sensitivity level:
    SEN 
    0               100 nV
    1               300 nV
    2               1 micro V
    3               3 micro V
    etc.
    I want the user to be able to see the sensitivities on the right, while the program uses the values on the left. Hence, I used a text ring to achieve this when setting the sensitivity level. I select 3 micro V on the front panel and the program runs with the value 3. 
    Now, If I want to check the sensitivity level I have to do this in reverse. Have the program read a value of 3 and output the string telling me that the level is 3 micro V. 
    It looks like I should be able to use the ring cluster Jeff Bohrer suggested to do this both forwards and in reverse. I will try this at work tomorrow when I have access to LabView again. 
    Thanks everyone!
    Nukem. 

  • Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL..

    Using firefox 14.0.1. Loading a link using right-click and "Open Link In New Window", results in new window opening but address bar does not show URL. However, if I right click on a link and select "Open Link In New Tab", the Tab shows URL in address bar. So it's working when it's a New Tab but not a New Window.

    The Reset Firefox feature can fix many issues by restoring Firefox to its factory default state while saving your essential information.
    Note: ''This will cause you to lose any Extensions, Open websites, and some Preferences.''
    To Reset Firefox do the following:
    #Go to Firefox > Help > Troubleshooting Information.
    #Click the "Reset Firefox" button.
    #Firefox will close and reset. After Firefox is done, it will show a window with the information that is imported. Click Finish.
    #Firefox will open with all factory defaults applied.
    Further information can be found in the [[Reset Firefox – easily fix most problems]] article.
    Did this fix your problems? Please report back to us!

  • I need some syntax help with reading some values from a selected row in an Access form.

    My goal:  to extract the data from 4 fields in a datasheet row and place them in another form.
    My problem:  I can only get the field values from the first row of the datasheet.
    I have tried using the Form_Click event as the location for the code I've tried.  This seems to be the right place, but apparently referring to the desired fields by their names with Me. in front just references the first record in the datasheet, not
    the one I've selected.
    Should I just read the source form's recordset using the Currentrecord value somehow?  I could use some direction on that.
    Thank you.
    Marj Weir

    It's generally considered good forum etiquette to post back a description of the solution which you've reached.
    The normal control for a multi-valued field is a combo box rather than a text box, but unless it is necessary for you to use a  multi-valued field, i.e. your database is interfacing with SharePoint in the very limited context in which this feature is necessary,
    I'd advise that you model the many-to-many relationship type in the time-honoured way by means of a table which resolves the relationship type into two one-to-many relationship types, and use a subform to show the data.  You can alternatively use a multi-select
    list box or a text box which shows a value list.  You'll find examples of all three methods in StudentCourses.zip in my public databases folder at:
    https://onedrive.live.com/?cid=44CC60D7FEA42912&id=44CC60D7FEA42912!169
    If you have difficulty opening the link copy its text (NB, not the link location) and paste it into your browser's address bar.
    Ken Sheridan, Stafford, England

  • Using Audition 2.0 on Windows XP platform.  Now have Windows 8.1 on new computer and need to upgrade and load latest version of Audition.  Any suggestions?  Thanks very much.....R

    Using Audition 2.0 on Windows XP platform.  Now have Windows 8.1 on new computer and need to upgrade and load latest version of Audition.  Any suggestions?  Many thanks, R.

    VC6. is rather old, but you can try to convert the VC6 project using the upgrade wizard of VC2012. Depending on the content of the project your code will work more or less without problems, at least it will compile without errors.
    You could also go the 2nd way and create in VC2012 a project type using the wizard that is very similar to your current VC6 projcet (MDI, SDI, Dialog Based, ...). Than you replace the files generated by the wizard with the content of your project. Sometimes
    this way is more successful.
    But at all the automated converting success depends on the code of your VC6 project. I had both, conversions without big problems and also conversions that need a lot changes to run on a current VC version.
    Best regards
    Bordon
    Note: Posted code pieces may not have a good programming style and may not perfect. It is also possible that they do not work in all situations. Code pieces are only indended to explain something particualar.

  • How to Read Variable Values in WAD 7.0 Using JavaScript

    I found a how to: How to Read Variable Values in WAD 7.0 Using JavaScript on SDN.
    I get a Javascript error:
    bics.getElementsByTagName is not a function
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    Thats my script:
    function currency()
    var varnm = "SFS_CP_CURR"; // Name of the variable to be read
    root = document.childNodes[0]; // <HTML>
    body = root.getElementsByTagName("BODY")[0]; // <BODY>
    xml = body.getElementsByTagName("XML")[0]; // <XML>
    bics = xml.childNodes[0]; // <BICS_VIEW>
    vars = bics.getElementsByTagName("VARIABLES")[0]; // <VARIABLES>
    varl = vars.getElementsByTagName("VARIABLE"); // gives no. of variable in DP
    for ( i = 0; i <= varl.length; i++ ) // Loop one by one
    vari = vars.getElementsByTagName("VARIABLE")<i>;
    varnam = vari.attributes[0].text; // get variable name
    mem = vari.getElementsByTagName("MEMBER")[0];
    varval = mem.attributes.getNamedItem("name").value; // read variable value
    if (varnam == varnm) //check varname in loop needs to be read
    if (varval == "ZMON") // check for value1 and fire command1
    SFS_CP_M();
    if (varval == "ZKON") // check for value2 and fire command2
    SFS_CP_K();
    break;
    Where's the mistake?

    I'm afraid I haven't made my question understood clearly.
    What I am looking for is a method to get the value of variable inside excel (e.g. put it into a cell / range of a worksheet, so that we can reference it and use it as an input for planning function execution).
    Please advice.
    Thanks in advance,
    Shady

  • Need help with EXS24 "read velocity range from file name"

    I am trying to import 127 drum samples to a single key using the option shown here. The option says "Map to key dropped on and read velocity range from file name". I can find no documentation in the manuals on how to do this. What is the syntax required in the file name to make this work? I need to do several of these imports. The capability is cleary there, but I need help on how the file name should be formatted. My thanks to anyone who can help.

    Hi
    Not a direct answer to your question, but if you are doing a lot of sample mapping etc, you may want to check out Redmatica's KeyMap Pro or the simpler Keymap 1:
    http://www.redmatica.com
    CCT

  • How to make labview program to get average value of 200 reading from multimeter (by using loop)

    Hello
    How to make labview program to get average value of 200 reading from multimeter (I using using loop) to read voltage from mulmeter  but I like to get average value of all of 200 reding how can I do that?
    Thanks
    Wee
    Solved!
    Go to Solution.

    Another idea with less programming - take advantage of the "free" array that comes with a Chart - i.e. the  History Data.
    1) Wire your DMM data to a Chart. (You can set the chart to invisible if you don't plan on using it in the GUI).
    2) Set the Chart History Length to 200 (right click on the chart, click on Chart History Length...)
    3) On the block diagram, use the History Data Property Node, wire it to Mean.vi, and you're done.
    Easiest running average ever.
    Message Edited by Broken Arrow on 04-07-2010 11:36 AM
    Richard
    Attachments:
    EasyAvg.jpg ‏8 KB

Maybe you are looking for

  • Can I stream hbo go from iphone to apple tv

    I want to know if I can view hbo go app from iphone and have it stream to my apple tv?    I tried to use the hdmi plug adapter to plug into tv and the app won't support it, so I thought maybe I can stream it.  Does anyone know?

  • Wiki Migration

    Ok. Most wiki migration updates will likely appear in this thread. I will try to centralize them here so that the community wont have to look all of the place for information. I will post links to the mailing list when possible, for some of the more

  • Upload Email in to Sharepoint Site

    hi can we do Email upload  in sharepoint site?.. if yes,pls guide me to upload.. Thanks arWINdh

  • ESS eror related to EIC_Service_request in portal

    Hi Guys, In portal, While click on workset (Example:Overview,Personal Information,etc..) in ESS role i am facing the below mentuined error Critical Error A critical error has occured. Processing of the service was terminated. Unsaved data has been lo

  • Use dimension in HSF freeform calculation

    Hi everybody, I want to use dimension structure in Oracle Hyperion Strategic Finance Application. I assigned a user defined dimension, to an account. Then, I used a different dimension for any other account. e.g: v300.00.001/A1 - v300.00.002/B1 Now,