Reg: Time measures

Hi Experts,
i Had requirement pls help me...
i have two prompts year and quarter.
and 4 measures A,B,C,D..for current year and previos year
here the req..
Suppose when user selects 2012,Q2 then in that 4 measures data should be based on that quarter only, In the same report below that 4 measures
again i need to display the 4 measures with Q3+Q4 data.
can anyone one help me.pls

Hi,
I have 2 prompts year and quarter
in the report i have 4 measures measureA,B,C,D
i kept that mearure labels in row level..
A,B,C,D will come one by one...
my req is..when user selects year as 2012 and quarter as Q2
the respective 4 measures should display values relate to that quarter only..
below that 4 measures again i need another 4 measures like above..
but values should come for remaining two quarters..i.e Q3 and Q4.
can any one help
Edited by: Bhargav K on Dec 5, 2012 10:30 AM

Similar Messages

  • Time Measurement in a While-Loop

    Greetings gentleman;
    I am a little bit new at Labview, and though i searched for an answer without posting, i was not able to find one.
    So here is my question, i would like to know how can i measure time of a loop sequence, in other words, how much time does my VI take to execute the whole main loop ?.
    A little explanation, the attached VI tries to be a Markov Chain, it takes some values in the first case structure depending of the previus loop, then, if the values are correct, it goes to the next step and so on. It is quite simple, yet, my issue lies with the time measurement. Since this is a probability "distribution" it could take infinite time to execute one single loop if it does not meet the requierements, but is programmed to meet them so an average timing should work.
    So, if you look at the While loop, the big one, that i would like to measure how much time does it take to do one round.
    Thanks for the help, i would be glad to read some ideas on how to measure that.
    Kind regards,
    Stgo.
    Solved!
    Go to Solution.
    Attachments:
    Markov Chain.vi ‏30 KB

    You can find a few examples in the NI Example Finder by searching for 'speed test' or 'benchmark'.
    Essentially, you create a flat sequence structure inside your while loop. In the first frame, you measure the current tick count. In the middle frame, you run your code. In the final frame, you measure the tick count again, and subtract the first count from this. This gives you the execution time to run the code.
    You can see a community page on it here.
    There's a high resolution tick/time count VI hanging around somewhere which is excellent for benchmarking and improving efficiency, used in place of the Tick Count (ms) primitive.
    Edit - remembered where it was
    https://decibel.ni.com/content/blogs/EvanP/2010/10/04/tick-count-us--microsecond-timing-granularity-...
    CLD

  • Time measurement on ni-9172

    Hi, I want to capture internal (ni-9172) timer/counter value by sequential pressing of two buttons (both pulled up by external resistor) connected on ni-9401 module. The goal is reaction time measurement.
    I know how to do this using some microcontroller, but I have no idea how control and use internal timebase of ni-9172 for this purpose.
    My idea is to start counting after software command and capture state of internal free running counter by pressing external buttons. Is this possible ? I have looked on examples and the most close to my needs was  Two edge separation measurements. Unfortunately this example assumes to input complete periods on least one of input terminals.
    I'm sorry for my terrible english ;-).
    Thank you for your help.
    CUA

    Hi CUA,
    to access the counter on your cDAQ-9172, you need to enable the internal counter.
    You can do this by setting up the I/O name filtering (right click the I/O name constant/control):
    and next check "Internal channels" (see attached picture):
    Now you should be able to use the internal counter.
    You can use the DAQmx Channel property node to set up the input terminal to timebase clock for example.
    Probably the best solution then would be buffered reading using the digital input of your card as timing signal for reading the buffer.
    If you have any further questions, please do not hesitate to ask!
    Best regards,
    Jano
    Attachments:
    filter names.JPG ‏29 KB

  • Prompt on time measure

    Hello,
    I'm working with AGO and ToDate function on "Total Sale", on different time measure (month & year) , but it's impossible to display together "Total Sale AGO" and "Total Sale YTD" but I can see "Total Sale AGO" or "Total Sale YTD" separately;
    the error is:
    "Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 59014] The requested column does not exist in this table. (HY000)
    SQL Issued: SELECT "Dim Canale"."Descrizione Beneficiario" saw_0, "Dim Tempo"."Anno Mese" saw_1, "Dim Tempo".Anno saw_2, Misure.AGO saw_3, Misure."Importo Provvigione Lorda YTD" saw_4 FROM Provvigioni WHERE "Dim Tempo".Anno = '2007' ORDER BY saw_0, saw_1, saw_2"
    Can someone help me?

    hi,
    i got the same problem mentioned above.
    i am getting same error...as....column not found.
    my source column name....first_refill_date. this column is existing in both business model and physical layer.
    i applied Month() function on this column and named as Refill_Month and then copyied to presentation layer...both columns...(1) first_refill_date (2) Refill_Month
    when i am creating a report using both columns....its giving error...that the Refill_Month column was not found..
    Is there any restriction in using date/time functions?
    if apply other aggregate functions, its not giving any error.
    can somebody, shed some light on this issue?

  • To build 2 real time measures in RPD

    Hi,
    I want to know, how to build 2 real time measures in RPD by using Session and Repository Variables in the expression?
    With Regards,
    Sumedh

    Hi ,
    Is this an ODI question or OBIEE one ?
    For OBIEE , post your query in Business Intelligence Suite Enterprise Edition
    Thanks,
    Sutirtha

  • Linking Time/Measurement unit to infotype 0040

    Hi All,
    In infotype 0040 - Objects on Loan, the unit currently defaulting is just "PIECES". I have a need to add more units.
    I have created another unit in config [SPRO - Personal Mgmnt - Personal Administration - Basic Settings - Create units of Time/Measurement], but have not been able to find how to link this new unit to infotype 0040.
    Could anyone please let me know how I would be able to acheive this ?
    Thank you,
    Satish

    Hi Satish,
    Add that measurement unit as a permissible unit for IT0040 via table V_T538C.
    Regards,
    Dilek

  • Stop time measurement

    Hello, I have a vi that measures speed in rpm. How can I add stop time measurement in it.
    I want it to start counting when the speed is below to a desired rpm and stop at zero.
    Thanks in advance!!!
    KowdTek
    LabVIEW 2009
    One Step At A Time, Maybe Two...

    I would just use the Tick Count (ms).vi.  Call tick count when you want to begin counting and call tick count once again when you want to stop counting.  Subtract the first value from the second value to find the elapsed time in milliseconds.  Then convert to whatever units you want.
    Brian R.
    District Sales Manager
    Washington DC
    National Instruments

  • File transfer time measurements

    Does Oracle have any documentation on file transfer time measurements? I’d like to present such documented information to a customer in hopes they will opt to use Content Services.
    Thanks!

    regarding transfer time
    2 hours for 50 gigs is way to long. Assuming firewire 400 with actual real world through put of say 200 mgbit/s you should be able to transfer 50 gig in a little over a half hour. but you should get higher throughput out of firewire than that, so there is something wrong, unless I have royally screwed up the math.
    regarding heat:
    some people are claiming that their machines run cooler after reseting their PMU (power management unit). see this thread:
    http://discussions.apple.com/thread.jspa?threadID=419005&tstart=30

  • How do I use a counter for time measurement with NI-DAQmx and C++?

    Hi,
    I need my C++ program to read time (number of elapsed ticks) using the counter on PCI-6229. I had this written and working for the non-MX driver, and now I need to re-write it for NI-DAQmx.
    Here are the steps that I want to accomplish:
    1. Route the 80MHz timebase to the input of "Dev1/ctr0"
    2. Start the counter and let it count the ticks.
    3. After a while, read the number of ticks from the counter.
    Here is how I am trying to do it now (without success):
               DAQmxCreateTask ( "" , &taskHandle ) ;
               DAQmxCreateCICountEdgesChan ( taskHandle , "Dev1/ctr0" , "" , DAQmx_Val_Rising, 0 , DAQmx_Val_CountUp ) ;
               DAQmxConnectTerms ( "/Dev1/80MHzTimebase" ,  "/Dev1/Ctr0Source" , DAQmx_Val_DoNotInvertPolarity ) ;
               DAQmxStartTask ( taskHandle ) ;
               then DAQmxReadCounterScalarU32 ( taskHandle , 0.25 , &curCount , NULL ) ;
               and DAQmxClearTask ( taskHandle ) ;
    No errors are generated, but I do not see the tick count being incremented when I repeatedly read the counter.
    Advice will be greatly appreciated!!

    Hi Peter,
    Welcome to the forums!   I just want to make sure I understand what you are trying to do.  You would like to count the rising edges of the 80 MHz clock using DAQmx in C++.  In order to route the timebase to the counter, you need to use the signal name (PFI8) instead of the counter (Ctr0Source) for the counter source input.  This name is found in Measurement Automation Explorer (MAX) by right-clicking on the device and choosing “Device Pinouts.”  This will physically put the 80 MHz clock on the PFI8 line, so make sure you reset the device or disconnect the terminals after you are done. 
    That being said, may I ask what you are trying to do by reading the number of elapsed ticks?  If you are trying to monitor a hardware timed pulse, it would be better to count the frequency or period of that pulse.  This would provide better accuracy, because you are not relying on how fast DAQmx Read can poll the hardware.  If you are simply looking for a software based timer, I would recommend taking a look at this MSDN forum post. 
    Using the GetTickCount function instead will free up your counter and provide comparable accuracy to counting the edges of the timebase.
    I hope that helps you out, let me know if you have any further questions about this. Good luck with your project.
    Rod T.

  • VI time measured through the profile performanc​e

    Hi all,
    My app works not so fast as usual and I decided to measure time with the profile performance tool. But times in a report are much less then the real times. What is the matter?

    Sorry for long silence. Here are my subVi's in attached files. They are parts of the big project and will not work by themselves. The subvi's work with one queue at the same time, but GetData.vi completes 100 while loops pretty faster than Dequeue&Graph.vi. It must be noticed that FastCorrection and Statistic connectors for Dequeue&Graph.vi were False during examination. When GetData.vi had stoped after 100 while loop cycles, Dequeue&Graph began to work faster, and I set this vi's to be executed in separated threads. But nothing have changed.
    Screenshot is attached also. Waiting for you comments.
    Attachments:
    GetData.vi ‏46 KB
    Profile.jpg ‏86 KB
    Dequeue&Graph.vi ‏62 KB

  • How to measure the time of evolution of a signal in a graph and to compare this time measured with a known value?

    For my application, I am obliged to measure the time of evolution of a signal acquired (from T1 to t2) by an analogical entry of a module NI 9203, and to compare this value with a value known in order to judge if this time of evolution is correct or not.
    PLEASE I prefer an example for better understanding.

    Greetings Jacob,
    I am not sure what you mean with 'time of evolution' but normally you acquire at a certain acquisition rate. How much time that has passed, you can calculate by checking how much points are between your two points of interest.
    If you are acquiring at 5Hz, the time between every point is 200ms. If there are let's say 10points between your two points of interest, 2s have passed.
    Regards,
    Wouter
    National Instruments

  • Reg:Custom Measures 7.5

    Hi Experts,
                       I am facing a problem with custom measures,created  a custom measure by program
    UJA_MAINTAIN_MEASURE_FORMULA (CUSTOMPER) and tried to create a report with account and time dimensions.
    The problem is that the Time Total(2010.TOTAL) is not rolling up correctly for CUSTOMPER and the standard PERIODIC which was working fine before is not working for Total .
    Regards,
    Vinoth

    Hi Nilanjan,
                      Thanks for your reply. 
                       the code is below
    MEMBER [MEASURES].[YTD] AS 'IIF(([%P_ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC" OR [%P_ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="LEQ"),-([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%P_TIME%].[LEVEL02])), ([MEASURES].[/CPMB/SDATA], CLOSINGPERIOD([%P_TIME%].[LEVEL02])))' SOLVE_ORDER=3##MEMBER [MEASURES].[CUSPER] AS 'IIF(([%P_ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="INC" OR [%P_ACCOUNT%].CURRENTMEMBER.PROPERTIES("2/CPMB/ACCTYPE")="EXP") AND NOT ([%P_TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="TOTAL" OR  [%P_TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="Q1"  OR [%P_TIME%].CURRENTMEMBER.PROPERTIES("2/CPMB/PERIOD")="APR" ), [MEASURES].[YTD]-([MEASURES].[YTD],[%P_TIME%].LAG(1)), [MEASURES].[YTD])' SOLVE_ORDER=3
    Regards,
    Vinoth

  • Measurement studio plot data vs. date/time (Measurement studio for Visual Basic 6)

    Hi, I'm trying to do something that should be simple and appears totally possible but I can't get there.
    I'd like to plot some data on the y axis vs. the date/time on the x-axis.  I've looked at the samples, and tried modifying the chart properties but I'm doing something wrong and can't get it properly.
    Any chance someone has a very simple example of plotting a few points vs. date/time that they can share?
    Thanks for any feedback!!

    Hey Larrymcd,
    What format is your date/time currently in? That might help us find the best way to do this. I was able to find a few examples of plotting a graph with time on the X-axis:
    http://forums.ni.com/t5/Measurement-Studio-for-NET/Measurement-Studio-Graph-to-plot-with-time-scale/...
    http://digital.ni.com/public.nsf/allkb/FFC867DDE42029BA8625760300477BEB
    http://zone.ni.com/devzone/cda/epd/p/id/3334
    Hopefully some of these can point you in the right direction. If you have any more questions after checking those examples out, please let us know!
    Daniel E.
    TestStand Product Support Engineer
    National Instruments

  • Triggering Elapsed time measurements

    Hi everyone, can anyone help me with this problem?
    I am trying to create a system for measuring the time between triggers
    from my oscilliscope as part of a larger program. I have implemented a
    while loop, which aquires data from the oscilliscope for each
    itteration of 'i'. The visa commands in this include a 'wait for
    trigger' VI, which only allows the aquisition to occur, and hence 'i'
    to increase, once the oscilliscope has triggered from my experimental
    data. Hence, theoretically every cycle of my system is captutured.
    I have used an 'elapsed time' express VI to measure the time that the
    program has been running for. However, i want this VI to reset every
    time my while loop iterates to give an exact measure of the time since
    the p
    revious trigger. The input for resetting appears to require a
    boolean pulse to do this, as the conection of a boolean constant cause
    the time data to be permanantly reset. My oscilliscope drivers do not
    have any kind of boolean output for this kind of syncronisation. Does
    anyone know a way in which i can produce such a boolean pulse every
    time my while loop itterates?
    Please could you reply to this group as my registered email is no
    longer valid
    Thanks
    Tom

    See your other post

  • Reg:Time excel file missing in BPC 7.5

    Hi Experts,
    1.I am trying to change the data model of time dimesion in APSHELL but i cannot find the file in the below mentioned path.
    eData > Manage Conversion File > Examples > TIME.xls
    2. How to change the Unit of measure data model?
    Regards,
    Vinoth Kumar

    Hi Vinoth,
    Please check in the other sub-folders, if its available or not. Alternatively, you can try to create a conversion file and check whether thats available or not.
    Didnt understand your statement "How to change the Unit of measure data model?"
    What do you mean by this. BPC is an account based model. If you want to maintain some unit of measure, you need to maintain some dimension for that.
    Hope this helps.

Maybe you are looking for

  • How to delete file from server with space in name

    I am a novice, learned a little several years ago, but have to start all over again. I have set up the remote server (upload.comcast.net) without problems. I am unable to delete a file (file error:). I was able to upload the file, but cannot delete i

  • Please help with a DropdownIndex Component.

    Hello all, I have a DropdownIndex component on my table. The user can click on it and choose some an account number from a drop down list. But if there is no number, how can he add a new account number? The component set to readOnly - false. But I st

  • Different between LEAVE SCREEN & SET SCREEN 0

    Hi there, I have a program where I have the main screen and another one. to call the secondary screen I used CALL SCREEN 0200. However I have doubt when I'm executing the BACK. I don't know the different between SET SCREEN 0. and LEAVE SCREEN 0100. w

  • ITunes version

    How do I know what version of iTunes I have on my iPad (1)?

  • Selecting Text + Word Processing Recommendations

    So far my iPad is awesome, including the native word processing feature, which I'm enhaincing with a wireless keyboard. But there are a couple features I'd like to add... First, iPad allows me to select a word or all the text in a file. Is there a wa