Functions of mixture for three simple trapezoidal profiles

I'm trying to learn how to use the functions OR Motion Assistant, LabVIEW to create my own profiles, but I fight to get mix to work.

In the attached VI, I take three simple trapezoidal profiles and try to mix them. The code is based on the example provided "Blended move.vi", which combines two profiles.

As you can see, three trapezoidal profiles are individually fine (white, red, green), but when it went into the functions of merger there is a trip suddenly in the time during the second profile value, causing a terrible problem in the mixed profile. I can't prevent that from happening.

I use LabVIEW 2012 last NI SoftMotion Premium 2012 with NI Motion Assistant 2.8.

Is this a bug?

Hi Thoric,

National Instruments motion control is so advanced that step in time is no big deal. I hope you enjoy the feature.

In all seriousness, even if it is a bug, and according to your final goal, can have an appropriate workaround solution.

#1 goal: You want to make a move online mixed with OR motion. If this is the case, you can build your move mixed environmental Assistant Motion (that can handle 3 mixed movements), and then generate code LabVIEW, once you have the desired path. This generates a code of OR-Motion for the mixed movements 3 (or more). You won't get a table of positions and accelerations, speeds, but you will be able to send the appropriate to the Board of Directors NEITHER Motion commands and it will use the path that you specified.

#2 goal: You want the tables of speeds, positions and accelerations. If you care only real berries of set points, you can use SoftMotion place. I've attached an example that you will run on my computer. It currently allows to mix together the three movements of the single axis, but it could be expanded to do more. Let me know if you have any questions about the example (and please excuse the mess!).

Thank you

Tags: NI Hardware

Similar Questions

  • Missing drivers for three system of Base and an Ethernet controller devices

    Hello

    I just did a clean install of Windows 7 32 bit on my desktop and need me drivers for three basic system devices and an Ethernet controller (currently the Office does recognize not all wireless signals).

    The Base system devices are on PCI Slot 9 functions: 0, 3, and 4.

    The Ethernet controller is located on the PCE 2, function 0 bus.

    Product name: MS215fr

    Product number: VN417AA-ABF

    Where can I go to download the necessary drivers?

    Thank you

    Your page of software and driver are accessible using the button at the top of this page-'Support & Drivers'. Or just use the link below to go there directly.

    You need the drivers under "original drivers. JMicron and Atheros Wireless card reader.

    http://h10025.www1.HP.com/ewfrf/WC/product?product=4031732&CC=US&DLC=en&LC=en&Query=MS215fr&Tool=

  • [8i] help with function with parameters (for the calculation of the work)

    Let me start by saying, I've never written a function before, and I do not have access to create a feature in my database (that is, I can't test this feature). I am trying to achieve a function I can ask my IT Department to add for me. I hope that someone can take a look at what I wrote and tell me if this should work or not, and if it's the right way to go to solve my problem.

    I'm creating a function to make a very simple calculation of work (add/subtract a number of days to a date in the calendar).

    The database, I work with has a table with the schedule of work. Here is a sample table and sample data, representative of what is in my work table calendar:
    CREATE TABLE caln
    (     clndr_dt     DATE,
         shop_days     NUMBER(5)
         CONSTRAINT caln_pk PRIMARY KEY (clndr_dt)
    );
    
    INSERT INTO     caln
    VALUES (To_Date('01/01/1980','mm/dd/yyyy'),0);
    INSERT INTO     caln
    VALUES (To_Date('01/02/1980','mm/dd/yyyy'),1);
    INSERT INTO     caln
    VALUES (To_Date('01/03/1980','mm/dd/yyyy'),2);
    INSERT INTO     caln
    VALUES (To_Date('01/04/1980','mm/dd/yyyy'),3);
    INSERT INTO     caln
    VALUES (To_Date('01/05/1980','mm/dd/yyyy'),3);
    INSERT INTO     caln
    VALUES (To_Date('01/06/1980','mm/dd/yyyy'),3);
    INSERT INTO     caln
    VALUES (To_Date('01/07/1980','mm/dd/yyyy'),4);
    INSERT INTO     caln
    VALUES (To_Date('01/08/1980','mm/dd/yyyy'),5);
    INSERT INTO     caln
    VALUES (To_Date('01/09/1980','mm/dd/yyyy'),6);
    INSERT INTO     caln
    VALUES (To_Date('01/10/1980','mm/dd/yyyy'),7);
    INSERT INTO     caln
    VALUES (To_Date('01/11/1980','mm/dd/yyyy'),8);
    INSERT INTO     caln
    VALUES (To_Date('01/12/1980','mm/dd/yyyy'),8);
    INSERT INTO     caln
    VALUES (To_Date('01/13/1980','mm/dd/yyyy'),8);
    INSERT INTO     caln
    VALUES (To_Date('01/14/1980','mm/dd/yyyy'),9);
    The table includes since 01/01/1980 but 31/12/2015.

    I have written (and validated) this parameter query that performs the calculation of my working day (mday):
    SELECT     cal.clndr_dt
    FROM     CALN cal
    ,     (
         SELECT     cal.shop_days+:mdays     AS new_shop_days
         FROM     CALN cal
         WHERE     cal.clndr_dt     =:start_date
         ) a
    WHERE     cal.shop_days     = a.new_shop_days
    AND     ROWNUM          =1
    ORDER BY     cal.clndr_dt;
    Based on this request, I created the following function (and I have no idea if it works or if the syntax is right, etc..):
    CREATE OR REPLACE FUNCTION add_mdays 
         (start_date     IN DATE,
         mdays          IN NUMBER(5))
    RETURN     DATE 
    IS
         new_date DATE;
    BEGIN
    
         SELECT     cal.clndr_dt
         FROM     CALN cal
         ,     (
              SELECT     cal.shop_days+mdays     AS new_shop_days
              FROM     CALN cal
              WHERE     cal.clndr_dt     =start_date
              ) a
         WHERE     cal.shop_days     = a.new_shop_days
         AND     ROWNUM          =1
         ORDER BY     cal.clndr_dt;
    
         RETURN     new_date;
    
    END add_mdays;  //edit 9:31 AM - noticed I left off this bit
    I'm also not sure how to do to have the function handle results that would return a date outside the range of dates that appear in the table (prior to 01/01/1980 or after until 31/12/2015 - or, another way to look at what was, before the caln.clndr_dt or the caln.clndr_dt MAX value MIN value).

    My goal is to be able to use the function in a situation similar to the following:

    First of all, here is a sample table and data:
    CREATE TABLE orders
    (     ord_no          NUMBER(5),
         plan_start_dt     DATE,
         CONSTRAINT orders_pk PRIMARY KEY (ord_no)
    );
    
    INSERT INTO orders
    VALUES (1,To_Date('01/08/1980','mm/dd/yyyy'));
    INSERT INTO orders
    VALUES (2,To_Date('01/09/1980','mm/dd/yyyy'));
    INSERT INTO orders
    VALUES (3,To_Date('01/10/1980','mm/dd/yyyy'));
    And here's how I would use my function:
    SELECT     orders.ord_no
    ,     orders.plan_start_dt
    ,     add_mdays(orders.plan_start_dt, -3) AS prep_date
    FROM     orders
    Thus, the function would allow me to come back, for each command in my table of orders, the date is 3 days working (mdays) before the start of the plan of each order.

    I go about it the right way? I have to create a function to do this, or is there a way for me to integrate my request (which makes my mday calculation) in the example query above (eliminating the need to create a function)?

    Thank you very much in advance!

    Published by: user11033437 on February 2, 2010 08:55
    Fixed some typos in the last insert statements

    Published by: user11033437 on February 2, 2010 09:31 (fixed some syntax in the function)

    Hello

    Ah, referring to Oracle 8 and is not not able to test your own code makes me nostalgic for the good old days, when you have entered your cards and led to a window to the computer center and waited an hour for the work to be performed and then seen printing to find that you had made a typo.

    If you write functions, you should really test yourself. Like all codes, functions forge be written small not: write a line or two (or sometimes just a part of what would later become a single line), test, make sure it is running properly and repeat.
    Ideally, your employer must create a pattern of development in a development database that you can use.
    You can legally download your own instance of Oracle Express Edition free; just be careful not to use features that are not available in the database where the code will be deployed.

    You need a function to get the desired results:

    SELECT       o.ord_no
    ,       o.plan_start_dt
    ,       MIN (e.clndr_dt)     AS prep_date
    FROM       orders     o
    ,       caln          l
    ,       caln          e
    WHERE       l.clndr_dt     = o.plan_start_dt
    AND       e.shop_days     = l.shop_days - 3
    GROUP BY  o.ord_no
    ,            o.plan_start_dt
    ;
    

    It would be more effective (and somewhat simpler) If you've added a column (let's call it work_day) identified whether each line represents a work_day or not.
    For each value of shop_days, exactly 1 row will be considered as a working day.
    Then, the query may be something like:

    SELECT       o.ord_no
    ,       o.plan_start_dt
    ,       e.clndr_dt          AS prep_date
    FROM       orders     o
    ,       caln          l
    ,       caln          e
    WHERE       l.clndr_dt     = o.plan_start_dt
    AND       e.shop_days     = l.shop_days - 3
    AND       e.work_day     = 1
    ;
    

    You can use the analytic LAG function to populate the work_day column.

    A function would certainly be useful, although perhaps slower.

    The function you have posted has some errors:
    an argument can be stated under NUMBER (5); Just NUMBER.
    (b) when you SELECT in PL/SQL, as you do, you must SELECT a variable to store the results.
    (c) ROWNUM is arbitrary (making it useless in this problem) unless you draw a neat subquery. I don't think you can use ORDER BY in subqueries in Oracle 8. Use the ROW_NUMBER analytic function.
    (d) the service must end with an END statement.

    Given your current caln table, here's how I would write the function:

    CREATE OR REPLACE FUNCTION add_mdays
         ( start_date     IN           DATE          DEFAULT     SYSDATE,
           mdays          IN           NUMBER          DEFAULT     1
         )
    RETURN     DATE
    DETERMINISTIC
    IS
         --     add_mdays returns the DATE that is mdays working days
         --     after start_date.  (If mdays < 0, the DATE returned
         --     will be before start_date).
         --     Work days do not include Saturdays, Sundays or holidays
         --     as indicated in the caln table.
    
         new_date     DATE;          -- to be returned
    BEGIN
    
         SELECT     MIN (t.clndr_dt)
         INTO     new_date
         FROM     caln     f     -- f stands for "from"
         ,     caln     t     -- t stands for "to"
         WHERE     f.clndr_dt     = TRUNC (start_date)
         AND     t.shop_days     = f.shop_days + TRUNC (mdays)
         ;
    
         RETURN     new_date;
    END     add_mdays;
    /
    SHOW ERRORS
    

    Production code forge be robust (which includes "fool-proofing").
    Try to anticipate what people errors might appeal to your function and correct for them where possible.
    For example, if it only makes sense for start_date at midnight, mdays to be an integer, use TRUNC in the function where soembody passes a good value.
    Allow default arguments.
    Comment of your function. Put all comments within the service (i.e. after CREATION and before the END) so that they will remain in the data dictionary.
    If, given the same arguments, the function always returns the same value, mark it as DETERMINISTIC, for efficiency. This means that the system will remember the values transmitted rather than to call the function whenever it is said to.

    I wish I could score questions such as 'Correct' or 'useful '; you get 10 points for sure.
    You posted CREATE TABLE and INSERT statements (without even be begged).
    You gave a clear description of the problem, including the expected results.
    The code is well formatted and easy to read.
    All around, one of the more thoughtful and well written questions I've seen.
    Play well! Keep up the good work!

    Published by: Frank Kulash, February 2, 2010 13:10
    Added to my own version of the function.

  • Hello from Firefox can be used for three or more way call or is it only from person to person?

    Hello from Firefox can be used for three or more way call or is it only from person to person?

    Hi awilcox Hello firefox time can only be used for a direct conversation between two people.

  • What is a substitute for the migration assistant? I tried in vain for three hours to migrate files from a macbook pro to each other so that even if connected with the ethernet cable the computers never see each other.

    What is a substitute for the migration assistant? I tried in vain for three hours to migrate files from a macbook pro to each other so that even if connected with the ethernet cable the computers never see each other.

    You can connect otherwise?  USB or FireWire or love at first sight?  You can connect both machines and start the one you want to transfer to target disk mode.  If your other machine is up and running with an account on it and you just want to move files, you can simply drag and drop the FRO the machine mounted TDM, or you can use the migration wizard.

    Or, if the other machine still starts and runs, you can start both computers and connect to the same wifi network and share the hard drive like machines on the network.  Access them in the finder on the new machine files and drag-and - drop, or use the wizard migration, on wifi.

  • DesignJet 5500: Where can I download the media for ink UV #83 profiles?

    The links below allow you to download media for DesignJet 5500 profiles.  First you must choose your computer operating system.  If you select Windows 7, you won't see listed media profiles.  If you select Windows XP, you will see 10 types of listed environments.  If you click on one of the listed media types, then look at the file name to download, all file names have "dye" in the name of the file.  Where can I download profiles of supports for UV #83 inks?

    HP download page for media for inks Dye #81 profiles

    For 5500 HP media profiles page

    http://h20564.www2.HP.com/hpsc/SWD/public/readIndex?sp4ts.Oid=82231 & swLangOid = 8 & swEnvOid = 228

  • Why is there not an option to create a custom for a simple telephone touch label?

    Why is there not an option to create a custom for a simple telephone touch label? 9. new version of iOS.

    There are. What makes you think there isn't. When you click to add a phone number, click label, and then scroll down to Custom. Type away.

  • Driver missing for PCI Simple Communications Controller for U41

    I have a problem with a driver for PCI Simple Communications Controller for U41. Please help for the best solution thanks

    Good day and welcome to the community.

    This is usually resolved by installing the Intel Management Engine Interface package.

    Please take a look at the pages of resources of your machine, under the section of Chipset :

    http://support.Lenovo.com/us/en/products/laptops-and-netbooks/u-series/U41-70

    I don't know if there are also the Serial i/o package.

    I hope this helps a little.

    Kind regards.

  • Office Jet 6812: doctor scan worked for three hours, very little progress

    My Office 6812 jet will print but not scan. Scan Doctor worked for three hours. Progress bar remained the same, even though is says it is scanning. Should it take this long? Also, I can not bring up the print, Scan, tools page. Have the latest drivers installed. Help

    You will have to abandon it. The doctor of printing and scanning only takes a minute to run.

  • Summary of functions (two entries) for classes of brother with a dynamic distribution of entry: the static entry retains the type of the parent class.

    Suppose that in a hypothetical example, I have a superclass (number) with two children (real and complex) classes.

    I would define a function of sum for these classes, using dynamic distribution.

    Real or complex would have its own method of the sum (VI) which would be subject to various operations, such as the real and complex numbers are different.

    As I understand it, the normal way to proceed in OOP is for each of these methods to have an entry of dynamic distribution and a static entry of its own type.

    Problem: Labview doesn't let me do this!

    I first define an input method dynamic-shipping dummy for the numberof the parent class, but only the first entry can be dynamic-Envoy while the other is statically typed as number.

    Then, when I create override methods in my two children classes real and complex, the second entry (static) remains under the number (the type of the parent class). This is not fair, because then I can't access the private data of the child class of type real or complex that will be connected to the second input (static).

    What is the solution to this problem (usually)?

    I think that, in LVOOP, you use only a dynamic terminal or a static terminal to the terminal object.

    You can have several other terminals, but all the dynamics VI (methods with the same name) must have the same API (terminals).

    If you have to understand your preferred mode to pass, use multiple terminals, not used by each method, or use a cluster that contains all the numbers to pass (real or complex, both of which are not used in each method) or you can try a Variant, as shown.

  • function of logon for XP

    Can I disable the functionality of logon for XP?

    Hello

    I am pleased to have been of assistance.

    It would be better for the future readers of this thread if you unmarked the answer you initially reported as a 'response' and marked my post on the screensaver as being the answer instead.

    Tricky

  • You are looking for a SIMPLE, EASY to USE, USB flash drive password protection

    Hello everyone,

    I scoured the Internet looking for a SIMPLE, EASY to USE, method of Word to PASS-PROTECT my flash drives TOGETHER.  I don't mean something that protects just individual files & folders (such as MS Word, Excel & can do).  Or I'm looking for a program that involves having to read page after page of instructions on how to ENCRYPT the drive.  ENCRYPTION is a topic that is really beyond my ability to understand.  I'm sorry.

    Programs like Truecrypt, Axcrypt, etc. are simply much too complicated for me to understand... a lot less!

    My question: are there flash drives available (size 8-16 GB preferably) who have a means of securing the disk with a password?

    The USB key remains in my USB port at ALL times!  I have no other computers here and live alone, so that no one else could access the flash player (or computer).  Otherwise, I would be willing to consider a VERY SIMPLE, EASY to UNDERSTAND AND USE application, either free or something that does not cost me dearly.  (I subsist on a limited monthly disability income).

    Thank you for your time and any recommendations!

    It seems that the solution for you would be to purchase a secure Flash drive.   Security is built-in and it asks for your password when you insert your disc into the computer.   Can't get much simpler than that.  They are a little more expensive, but you pay more for practical reasons.   See the following article:
    'USB Flash Drive Security '.
       <>http://en.Wikipedia.org/wiki/USB_flash_drive_security >
    To find one, just Google for "Secure USB flash drive", there are a lot of them out there.

    If you have a non-secure flash drive and do not want to replace, then your easiest option would be a program like Truecrypt which you already have reduced as being too complicated.  Don't let the word"encryption" you scared - it all comes down to "enter a password to access".»  Once established, however, it is almost as simple as only to enter a password so if you can find a computer or a local high school computer nerd literate member of the family who would volunteer to set up for you, then it wouldn't be that hard.

    HTH,
    JW

  • VPN access query remote ASA - several group policies for the unique connection profile

    Hi all

    Two quick questions here that I need to help.

    1. in an ASA 5525, is it possible to have several group policies for a single connection profile?

    Scenario: A customer is running F5 Firepass to their VPN solution and this device is used by them to have multiple strategies group by the connection profile. We plan to migrate them to ASA (5525) and I don't know if the ASA can support that.

    2. in an ASA-5525 for Clientless Remote access VPN, can pass us the page to connect to an external server? For example, if I have a connection with a URL profile setup: "'https://wyz.vpn.com/ ';" for the LDAP/Radius Authentication, but for https://wyz.vpn.com/data and https://wyz.vpn.com/test I want to HTTP based authentication form and this page needs to be sent to an external server that is to say ASA step will manage this page, but rather the first page for this is served by the external server.

    Scenario: One of our clients is running F5 Firepass to their VPN solution. On the F5 they have pages of configuration such as the https://wyz.vpn.com/ that the F5 shows to the user when they connect via VPN without client; However if the user types https://wyz.vpn.com/data in the browser, the traffic comes to the F5, but F5 redirects this traffic to an external server (with an external url as well). Then it's this external server that transfers the first page of the user requesting authentication for HTTP form based authentication information.

    Thanks in advance to all!

    Hello

    You can have fallback to LOCAL only primary method.

    http://www.Cisco.com/c/en/us/TD/docs/security/ASA/asa90/configuration/gu...

    HTH

    Averroès.

  • Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Is it possible to hide a conditional function in responsibility. Say it together a small number of users, I need the function display and for some users, it must be hidden.

    Hello

    The normal thing to do is to create a similar additional responsibility and using Exclusions to 'hide' the features you want.

    Then assign it to restricted users.

    Kind regards

    Bashar

  • My only intention is to create a model/site based URM where we can provide functionality to scan for users. We want a distributed feature where users can scan the images remotely and commit to the WCC:Records / URM. Is it possible to be thr

    My only intention is to create a model/site based URM where we can provide functionality to scan for users. We want a distributed feature where users can scan the images remotely and commit to the WCC:Records / URM.

    Is it possible to be done through Oracle distributed Document capture (ODDC) and if it is possible how to connect ODDC with the client browser. Please suggest

    Ok. So, the answer is certainly: Yes, it is possible.

    The part of analysis, this is exactly what ODDC is good for. Unless you have the license already, however, you may have to go with the product to Capture Oracle WebCenter (large companies), which provides the necessary also.

    Regarding the validation and storage, ODDC/ODC/WebCenter Capture can commit images scanned at several depots, including University Complutense of MADRID (URM can be considered a Complutense University of MADRID with a specific purpose / several modules or components under voltage and configured). So, technically, he has no problem.

    When I have little doubt, however, is the meaning of the scenario - declaring an item as a record is an important event in the life cycle of the document - a record is often (or always) cannot be changed to ensure the integrity and non-repudiation of information. In this perspective, a direct validation of a recording of a scanning system (where errors such as bad scans, lack of pages, etc can be expected, particularly if the scanning is performed by the end user in a distributed fashion - so, not very experienced) seems a little dangerous.

Maybe you are looking for