How to measure mapping execution speed

Hi,
currently i'm trying to measure performance differences between Interface Mappings which contain one single Message Mapping and Interface Mappings which contain 2 or 3 Message Mappings.
I already tried to do this with RWB and Performance-Monitoring. But Performance Monitoring shows the processing time through the whole XI, and not only Mapping execution time. So it is difficult to get a clean measuring there, without influences from queueing and so on.
Test Tab on Integration Builder has a too big step (one second). Mapping execution time is slower.
Do you have any ideas to measure this?
Or do you have experience with performance differences between those two kinds of Interface Mappings?
regards,
ms
P.S. i'm using XI 3.0

Hi, Manuel:
For the two scenarios you want to compare performance, trigger them separately.
You take following steps to take measurement for those two scenarios:
Go to SXMB_MONI, find the message, go to pipeline step after your "Request Message Mapping"
e.g. you can select "Technical Routing" step, expand it, -> SOAP Header -> Performance Header:
You will see the start time stamp for each steps executed up to current step.
Locate your mapping programs, get the begin time stamp and end time stamp, then you will know the how long the mapping program take.
For the scenario that you have several mapping programs, make sure you get begin timestamp for the first mapping program and end timestamp for last mapping program, the difference is the time for you few mapping program take.
Hope this helps.
Liang
Edited by: Liang Ji on Mar 29, 2008 5:42 AM

Similar Messages

  • How to measure the rotational speed by using rotary encoder and 1 counter?

    I want to measure the rotational speed of a shaft, and I have below hardware:
    1, a rotary encoder, with A,B,Z signals output;
    2, PCI-E6363 card.
    I do konw how to use such a  encoder to measure the rotational angle by using the function "DAQmxCreateCIAngEncoderChan", but this time I need to measure the speed(rpm), as well as the dirction of the speed, which means a negative speed represent a CCW rotate direction.
    More detail informations:
    for the encoder, the A,B signal is 600ppr, and Z signal is 1ppr
    the rotatinal speed is in range: -300 ~ 5000 rpm.
    some one suggested me that I can use the "DAQmxCreateCIAngEncoderChan" task to measure the angle firstly and then do the differential analysis with the angle. but I have to enable the Z index function, and it's hard to calculate when the shaft speed is fast then 2500rpm.
    Anyone can help me on this issue?
    Thanks in advance!

    RobertoBozzolo:
    Thansk for your reply. You are right that measure frequency to get the speed is the best way, but it's hard to get the dirction at the same time. You suggest me that "perform two angle measurements to get the sense of rotation", but I'm not sure I catched what you mean about this. I try to understand your opinion like this: distribute the signals to 2 counters, and start 2 tasks, one for frequency, the other for angle which used for deciding the dirction?
    And by the way, in my application, the counter is limited:
    I'm using PCI-E6363, which have 4 counters totally, and I have to measure 4 different speed sensors at the same time, so that means only 1 counter for me to measure the speed and the dirction.
    RobertoBozzolo 已写:
    To measure the speed from the encoder you can simply follow some of the frequency measurement examples that ship with DAQmx, considering that speed (rpm) is given by frequency (Hz) on one encoder output / 600 (ppr) * 60 (s->min)  = frequency / 10.
    Difficult is to add a sign to this measurement: frequency measurement gives you no information about sense of rotation, so I suppose you could perform two angle measurements to get the sense of rotation and then get the speed as above.

  • How to measure fpga execution time

    Howdy--
    I'm hacking through my first FPGA project without yet having the hardware on hand, and I find I could answer a lot of my own questions if I could predict what the execution time (ticks, mSec, whatever) of bits of my code will be.  Running FPGA VIs on the Dev Computer with built in tick counters does not seem to be the proper way to go.  Is it possible to know the execution time of FPGA code before compiling and running it on the target?
    If it matters to anyone, my context for the question is a situation where a 10 uSec loop is imposed by the sample time of my hardware (cRIO 9076, with a couple of 100 ks/S I/O cards), and I'm trying to figure out how much signal processing I can afford between  samples.
    Thanks everyone, and have a great day.
    Solved!
    Go to Solution.

    bcro,
    You can look into cycle accurate simulation, which would give you a better understanding of how your code will work.  More information can be found here: http://zone.ni.com/devzone/cda/tut/p/id/12917
    As a rough measure, you can estimate that simple functions will take one tick to execute.  However, there is not list of what is and is not a simple function.
    You could also try placing code inside a single cycle timed loop (SCTL), which would then guarantee that all of the code in the loop will execute in 1 tick.  However, if you are doing a lot of operations or trying to acquire an analog input, this will fail compilation.
    Drew T.
    NIC AE Specialist

  • Measuring query execution speed

    Is there a way to measure how long it takes to execute a query? I have tried recording the time just before and after a call to execute() but this is not giving usable results as it depends on so many other things. What I am after is some sort of database independent query timing ability. Is it possible in JDBC?
    Thanks,
    -JT

    Using JAMon I time all my jdbc and also how long each individual query takes. Got to http://www.fdsapi.com and go to the live demo. This allows you to enter queries adn then go to the JAMonAdmin page and you will see a sortable html report that allows you to view the statistics.
    JAMon is flexible due to the fact it just takes a String. That string can represent anything such as a specific query (in sybase for example a stored proc), a page hit, a method call or anything else that makes sense to you. It is a simple stopwatch based API that couldn't be easier to use. Simply import the jar and call start() and stop(). What's nice about this it is flexible enough to monitor more in your app than queries, such as jsp pages, and it is fast enough to run in production.
    There is a servlet filter at the site that keeps stats for any pages within your web site and you don't have to do any code to get this capability. JAMon keeps track of hits, avg time, max time, min time, concurrency and scalability.
    // Note it is a simple 2 method api.  Every time this metho is called new aggregate stats will be gathered, and displayed via JAMonAdmin.jsp
    public List getEmployee(String empID) {
      Monitor mon=MonitorFactory.start("com.mypackage.Employee.getEmployee");
       try {
           ....my code...
        } finally {
          mon.stop();
    }steve - http://www.jamonapi.com - a performance tuning API
    http://www.fdsapi.com - a simple api for generating xml and html

  • How to Measure file transfer speed in iChat

    hi guys, is there anyway to measure the file transfer rate ,while sending o receiving a specific file
    in iChat?

    Actually I should say that it's not a good solution to stop all other applications to measure the network
    traffic for one application, there is another problem cause even no file is during transfer the application sends and receives packets from internet and this way is not accurate to measure .

  • How do you map a PFI to a clock to measure frequency?

    I am running LabVIEW 8.2 and I am trying to measure the frequency of a voltage on a PFI pin. I have heard that I can map that pin to a counter input to measure the voltage but i cannot figure out how to do it. Are there any VI's already set up to do this? How can I map the PFI to a counter?

    Hi Flowserve1,
    What hardware are you using to make your measurement? What driver are you working with? You will be able to make measurements with your counter on a digital signal. If you look at the device pinouts for your device in Measurement and Automation Explorer you will see the counter terminals.
    Steve B

  • How to measure angular speed by RVDT

    Hello,
    I quite new in labVIEW and I am trying to measure angular speed of shaft by RVDT which is able to measure in electrical range 0°-280°. I use NI USB-6008 card and RVDT is also powered by this card (5V). I have already found way how to measure angular position but i do not now how to convert it to angular speed. I tryed to do it by derivation but the result was weird. Could anybody give me an advice how to do that. I would really appreciate that.
    My VI is attached.
    Attachments:
    rot pot.vi ‏154 KB

    Hi kome01,
    The issue comes from the fact you are only acquiring one sample per iteration of the loop, and to differentiate you need to provide at least two values, as well as a time difference between each.
    The Express VI you are using is clever in the way that it can measure the time between samples for you, but you will still need to provide multiple samples. I have changed your VI to continuously acquire samples from the potentiometer, and have provided some notes in the block diagram to help you.
    Hope this helps!
    Attachments:
    rot pot.vi ‏153 KB

  • How to get last date of mapping execution?

    Hi all,
    Anybody knows how to get the last run date mapping? I try to develop incremental load, but i don´t know get the last date of mapping execution ok.
    anybody can help me, thanks in advanced

    Hi,
    In our project we also use last_run_date to detect the delta for incremental loading.
    We created a table which holds the run date and time for each mapping. When a mapping is new (initial load) the run date is set to 01/01/1900.
    In each mapping we added a post-mapping process that inserts a record in the process table with the mapping name and last run date.
    We also added a Constant operator to all mappings, calling a procedure to get the last_run_date out of our own process table.
    The constant attribute is then used in a FILTER operator to compare the dates and select only dates after the last run date.
    ==============================
    An other option is to use the get this information out of the runtime audit tables.
    ALL_RT_AUDIT_EXECUTIONS which reside in the runtime owner schema.
    Regards,
    Ilona

  • How can I measure the copy speed of my compact flashcard to folder?

    how can I measure the copy speed of my compact flashcard to folder?
    I dont have a stop watch.

    Hi Steve Zavodny;
    Generally compact flash cards or basically slow because of them being flash memory and USB. What are you after here?
    Allan

  • How do I associate timing with multiple AI loops that is independan​t of loop execution speed

    I am using Labview 7.1 and I am performing AI of
    voltage on different channels of the same multifunction DAQ.  I am
    using while loops to aquire the data.  I am writing the data to
    spreadsheet file with an associated time as a 2D array.  Currently I am
    using the 'elapsed time' interactive subVI to get the time in seconds
    (attempting to use the 'Get Date/Time in seconds' and converting it to
    DBL results in time values that do not change. My thoughts are that
    maybe the number of seconds is too large to display single second
    precision with a DBL floating point number). When I run AI on two
    multiple loops they execute at different rates and thus the time values
    from "elapsed time" are accumulated at different rates. I have tried
    using timed loops to control timing, but if one loop executes at a rate
    slower than the timing of the loop the 'elapsed time' still accumulates
    at different rates.  I need to be able to associate both analog inputs
    to the same time
    value in the spreadsheet value and I would like to find a way to
    associate a time with each data point that is independant of loop
    execution speed (although I would still like to control execution speed
    of the loops. I am pretty new to Labview and programming in general,
    any help would be greatly appreciated.

    If you want to read more than one AI at the same time, you should use a trigger.  You would need to set up the AI Trigger to an external source.  Then you would have to use a function generator or digital out to create a clock.  The clock would be wired to the AI external trigger.  When the clock goes high (or low depending on configuration), both AIs would read.  That is the method I use when needing to sync multiple AI inputs.
    - tbob
    Inventor of the WORM Global

  • Execution speed onboard programs

    Hi all
    I am tying store the value of analog input channels of PCI-7352 on buffer, from onboard program.
    The program run fine, but I don´t know how measure the total acquisition time in the program.
    In an example in LabView ( adc-gpbuffer.vi ), use 'flex_load_delay' function to establish an interval in
    the acquisition. But the real interval between readings not is calculated.
    Another question, How I can know the execution speed of onboard program ?.  The documentation does not
    show information.
             Thank´s
             Javier
    Attachments:
    adc-gpbuffer.vi ‏165 KB

    Javier,
    there is no easy way to measure the execution timing of onboard programs. One thing that you could do is to toggle a digital line in your onboard program and measure the timing with an oscilloscope.
    Please be aware that the timing of onboard programs doesn't work deterministicallly as onboard programs don't run with time critical priority on the board's CPU so you will probably see a fair amount of jitter.
    The main purpose of the analog inputs on the 7352 is analog feedback. You can use them for single point measurements, too but if you need to acquire data with an accurate timing you better should use an additional M-Series board like the PCI-6220 which provide a much better measurement and timing accuracy and as true measurement devices they provide a whole set of additional useful features.
    Best regards,
    Jochen Klier
    National Instruments Germany

  • How do i map one field to another in control file via SQL Loader

    Can someone please reply back to this question
    Hi,
    I have a flat file (student.dat delimiter %~| ) using control file (student.ctl) through sql loader. Here are the details.
    student.dat
    student_id, student_firstname, gender, student_lastName, student_newId
    101%~|abc%~|F %~|xyz%~|110%~|
    Corresponding table
    Student (
    Student_ID,
    Student_FN,
    Gender,
    Student_LN
    Question:
    How do i map student_newId field to student_id field in STUDENT DB table so that new id should be inserted in student_id column. How do i specify the mapping in control file. I dont want to create a new column in student table. Please let me know the best way to do this.
    Can someone please reply back to this question.
    My approach:
    In control file i will sepecify the below, Is this a best approach?. Do we have any othe way?
    STUDENT_ID *(:STUDENT_NEWID)*,
    STUDENT_FN,
    GENDER,
    STUDENT_LNAME,
    STUDENT_NEWID BOUNDFILLER
    Thanks
    Sunil
    Edited by: 993112 on Mar 13, 2013 12:28 AM
    Edited by: 993112 on Mar 13, 2013 12:30 AM
    Edited by: 993112 on Mar 13, 2013 12:31 AM
    Edited by: 993112 on Mar 18, 2013 2:52 AM

    OK, ok...
    Here is the sample data:
    101%~|abc%~|F %~|xyz%~|110%~|
    102%~|def%~|M %~|pqr%~|120%~|
    103%~|ghi%~|M %~|stu%~|130%~|
    104%~|jkl%~|F %~|vwx%~|140%~|
    105%~|mno%~|F %~|yza%~|150%~|Here is the control file:
    LOAD DATA
    INFILE student.dat
    TRUNCATE INTO TABLE STUDENT
    FIELDS TERMINATED BY '%~|' TRAILING NULLCOLS
      student_old  FILLER
    , student_fn
    , gender
    , student_ln
    , student_id
    )And here is the execution:
    SQL> CREATE TABLE student
      2  (
      3    student_id   NUMBER
      4  , student_fn   VARCHAR2 (10)
      5  , gender       VARCHAR2 (2)
      6  , student_ln   VARCHAR2 (10)
      7  );
    Table created.
    SQL>
    SQL> !sqlldr / control=student.ctl
    SQL*Loader: Release 11.2.0.3.0 - Production on Tue Mar 19 14:37:31 2013
    Copyright (c) 1982, 2011, Oracle and/or its affiliates.  All rights reserved.
    Commit point reached - logical record count 5
    SQL> select * from student;
    STUDENT_ID STUDENT_FN                     GENDER STUDENT_LN
           110 abc                            F      xyz
           120 def                            M      pqr
           130 ghi                            M      stu
           140 jkl                            F      vwx
           150 mno                            F      yza
    SQL>:p

  • Router Smackdown:  Time Capsule vs. Belkin N+...How To Measure a Winner?

    After I bought and installed the Belkin N+ Wireless Router, I got the Time Capsule as a gift.
    So my question is: *How would I go about determining whether the Belkin is a better router than the Time Capsule?*
    My home setup:
    Ethernet: iMac
    Wireless: 2-3 laptops, 2 iPhones
    Uses: Almost exclusively websurfing, email, occasional video clips, no gaming, no entire movies/shows (yet)
    Would a valid comparison be measuring upload/download speed (via Speakeasy, for example) with each router connected?
    Or are there other performance measurements?
    And, finally, anyone who's switched from another router to the Time Capsule have any comment on it as a router?
    Thanks for any input.

    The Belkin N+ Router is hateful....
    I own one after replacing my Netgear DG834n.
    I only wish I had bought another Netgear...
    The interface is horrible, the device itself is clunky, I am on the phone to Belkin right now because it is not working with my iPhone.
    My reccomendation, go for NetGear, not only is the interface simple and now quite mature, they are experts in the field unlike Belkin who also makes a world of other stuff...
    Just a side note, is the DG834n will look great with a time capsule as it has the same white casing.
    Hope this helps...

  • OWB11gR2: Mapping execution in a process flow not visible in OWB Browser

    When a mapping is executed inside a process flow, execution details are not visible in OWB Repository Browser (Control Center reports) - rows processed, errors etc. Mapping row is missing in a log, like it never happened (but it did).
    This auditing information is very important for monitoring reasons (to our customers also) and I just don't get it how this functionality is lost with this version. Another serious bug?

    Hi David,
    I was rather tired and frustrated last evening, so today I noticed some things I didn't yesterday. Your reply gave me a new motivation.
    The conclusion is - a mapping execution in a process flow is logged, but the way activities are displayed in OWB Browser are now different than in previous versions. If I click on 'Execution Job Report' on a process flow, I see all the activities listed except mappings (transformations, assign, file exists, subprocess etc.). If I want to see mapping execution row, I must click on a plus (expand) sign.
    This kind of behavior will make processes with a complex hierarchy (usually we have more than 5 levels of subprocesses) rather vast to monitor. In 10gR2, a drilling down was accomplished by opening a new browser tab (Execution Job Report link) for each subprocess/mapping activity. Now it shall remain on one huge screen (list) that keeps expanding.
    But, if that is the new feature, we shall live with that. If our customers won't like it, they will have to get used to it.
    Thank you for your reply!

  • Skipping mapping execution in process flow

    I have a process flow that calls multiple mappings. Based on some condition I want a mapping not to execute, E.g. when rerunning the process flow in case of failure. Currently I keep track of mapping execution and store the status in a control table. When a mapping has completed, it updates the status as completed. When I need to rerun, in the SQL of the tables join in the mapping, I have a where clause that returns 0 rows (mapping_completed = N) . So mapping is excuted but no rows added/updated.
    The flip side of the approach is when using a complex join specially using views, the SQL takes a long time to run only to return 0 rows. So logic is okay but I want to save time by avoiding the execution of the mapping it self.
    I would like to know how others are implementing this scenario.
    Regards
    Sandeep

    Can you not have two different mappings one for running it first time and one which you can run on failure...
    In your process flow you can have a param i.e 'F for failure and 'I' for intial and based on this condition you can decide which mapping to invoke and hte path to be followed.

Maybe you are looking for

  • Is there a way to create still jpegs from video clips in iMovie?

    I shot some video on Christmas day and imported them to iMovie 9. I want to creat some jpegs from the video clips and print them as photos. Is there a way to create a jpeg from a video clip and save the file? Thanks for the info! Len

  • TP4 / ADF Rich client demo just downloaded from otn / 41 compiling errors !

    I just downloaded ADF Riche client demo and installed it jdev tp4. Rebuild causes 41 compilation errors and the application is not runnable. Is it a way to solve this ? Some of the errors: Error: cannot read: C:\JDeveloper\myWork\adf-richclient-demo\

  • Migrating a New Subscription in the Business Event

    We have created a new subscription for an existing business event. We need to migrate the subscription to the test and other instances. Download Subscription :-_ *$AFJVAPRG oracle.apps.fnd.wf.WFXLoad -d <apps> <apps_pwd> <machine_name:port_no:SID> th

  • Dynamic pushbotton-icon in table control

    Hello, in my table control i have a pushbutton. i want to display it with a dynamic icon is this possible ? thanks very much for your answers Helmut

  • Iphone 3gs does not turn on after ios 6 update

    After the ios6 update, my iphone 3gs does not turn on. I see the apple logo, after a minute, it boots again and i see the logo again. This process seems to continue like a circle. After a search the net, i see that i am not the only one. A quick fix