Erroneous time in graphs in output cluster

I have an application that reads a binary file and then displays, analyzes and presents the data in charts and indicators. The 'main' application is "06_ATP_Read and Analyze SubVIs.vi" with the "04_ATP_Read.vi" and "05_ATP_Analyze & Present Data.vi" subvis.
The application with the problem is called "05_ATP_Analyze & Present Data.vi" and it is in the attached file. It was built on the LabView Basics II example.
Everything works fine except in the graphs from the output cluster the time values are 5000 times bigger than the real ones displayed or selected in data graphs at the left of the cluster. The 5000 times value is exactly the sampling rate I am using (5kHz) but I am not sure if this is related because I am not sure where is the problem coming for. My feeling is that the feedback node is causing the problem but, again, I'm not sure.
What could I do to make things right? Any suggestions/examples anybody?
Thank you.
Attachments:
06_ATP_Read and Analyze SubVIs.zip ‏2076 KB

Thank you Travs,
I think I got the idea but how would I implement this in my vi? I tried a couple of connections and the attached file presents some of them. Look in 05_ATP_Analyze & Present Data.vi, in case structure 0.
Another problem is that the sampling rate might vary from file to file and I will not know it before opening the file. I need some kind of automatic reading of sampling rate rather than manual insertion.
This vi is very similar to the exercise from LabView Basics II and there I did not have to put any additional 'build waveform' components to make it work; probably because there was a chart and not graphs, I don't remember right now... Any way, the idea with the cluster is that it helps me to easily save processed data in one file. I'd like to stay with this solution only if there is nothing better that you or somebody else can suggest.
Could you show me how would I implement the 'build waveform' in my vi?
Attachments:
05_ATP_Analyze & Present Data.zip ‏2525 KB

Similar Messages

  • Wiring data into a graph in a cluster

    Hallo,
    I would like to ask please how to feed data into a  graph in a cluster. My intention is to read a data file (txt). So I read a spreadsheet, extract the data of interest from the header and of course the actual datapoints taken. For that reason I made a cluster of numerous elements some of which are XY graphs. I tried to extract the column vectors of the data and display them in a graph. The problem is that the connection is not OK. Labview keeps telling me that I have a data mismatch. I took two arrays, e.g. time and X, bundled them together and wired to the unbundled function of the indicator. The message is the source is a cluster of two elements whereas the sink is a 1D array of cluster of two elements. What does that mean ? I mean when I use a regualar indicator XY graph (not in a cluster) it works fine. Any hint is appreciated.
    Yours Sincerely
    Karel
    PS: I generally used to do it the way that I created a custom control first then I place this control in my subVI and use bundle by nama and simply create a constant for the input cluster => select the elements I wish to update, is this the correct way of using the cluster of indicators ? 

    Yes.  Much easier to figure out what you are doing by way of looking at a VI rather than a bunch of words.
    Use the Index and Bundle Cluster Array function.
    Message Edited by Ravens Fan on 09-09-2009 10:57 PM
    Attachments:
    Data%20Processing[1]_BD.png ‏20 KB

  • How to plot a olap time in graph in wad

    hi all
    i want to design technical content queries in wad but facing problem in ploting time in x or y axis.i tried all option but it is not working out..
    i am using time scatter graph..
    thanks
    shalini

    Hi DFGray.
    Thanks for your post.
    If you look at the attached file, how do I make the changes that you describes. Maybe you could make the changes in the vi and post it to me?
    I just think that I have be done all the things that you suggests but still I can't make it work. 
     - Clausny
    Attachments:
    starttimeVI.vi ‏27 KB

  • Regarding Time Series Graph in OBIEE 11g

    Hi,
    I need to create a time-series graph in OBIEE 11g. However, the value for time on the x-axis of the graph automatically comes for days.
    Is there any way to change it to hours or minutes?
    Thanks,
    Naman Misra

    Yes, it shud be a prob. Try using seperate tables for fact n timedim

  • I can get video on airplay anytime but i cannot get audio all the time.  in sound output i select airplay but it only reverts back to internal speakers.  same if i try earbuds.  the only way to fix it is to restart computer.  what do i do to fix it,

    I can get video on airplay anytime but i cannot get audio all the time.  in sound output i select airplay but it only reverts back to internal speakers.  same if i try earbuds.  the only way to fix it is to restart computer.  what do i do to fix it,

    In case anyone has had the same problem as me, I have just managed to fix this by doing the following:
    Switch off Mac
    Switch back on in Safe Mode (Hit power button, then hold Shift key until a loading bar appears at the bottom of the screen).
    Switch off Mac again
    Remove power cord and wait 15 seconds
    Plug power cord back in and hold down the keys alt, cmd, p, r all at the same time until you hear Starting chime for a second time and hopefully your audio will back.

  • SELECT is taking lot of time to fetch data from cluster table BSET

    <Modified the subject line>
    Hi experts,
    I want to fetch data of some fields from bset table but it is taking a lot of time as the table is cluster table.
    Can you please suggest me any other process to fetch data from cluster table. I am using native sql to fetch data.
    Regards,
    SURYA
    Edited by: Suhas Saha on Jun 29, 2011 1:51 PM

    Hi Subhas,
    As per your suggestion I am now using normal SQL statement to select data from BSET but it is still taking much time.
    My SQL statement is :
    SELECT BELNR
                  GJAHR
                  BUZEI
                  MWSKZ
                  HWBAS
                  KSCHL
                  KNUMH FROM BSET INTO CORRESPONDING FIELDS OF TABLE IT_BSET
                  FOR ALL ENTRIES IN IT_BKPF
                  WHERE BELNR = IT_BKPF-BELNR
                      AND BUKRS = IT_BKPF-BUKRS.
    <Added code tags>
    Can you suggest me anymore?
    Regards,
    SURYA
    Edited by: Suhas Saha on Jun 29, 2011 4:16 PM

  • VA05 & VA05N - Taking Long time to Give the Output.

    Dear All,
    VA05 & VA05N - Taking Long time to Give the Output for
                              Single date & Single Sales Office
    if I create Z-Program (VBAK) also taking Long time for Single date & Single Sales Office.
    Please Give some idea to Optimization the VA05 & VA05N.
    Please Give your Valuable solution.
    Thanks,
    Durai.V

    Dear Lakshmipathi,
       In my Previous client (ECC 5.0) VA05N Executing very fast for one month date for all sales office.
    They running SAP around 3 years, there data also huge but its giving fast output.
      But my current client ECC 5.0, here running SAP around 2.5 years, But here taking Long time to give
    the output for singe date & one Sales Office.
      But Billing details report VF05N Executing very fast.
    Thanks,
    Durai.V

  • How do I add moving averages to my time series graph is there a function on numbers on tr iMac?

    I've created a time series graph on numbers on my iMac but I need to add moving averages. Is there a function an if so where is it and if not is there a way to get around it

    Badunit,
    Here is an example plot, data sorted from most recent data at top of the table...
    You can see the moving average (of 20) is plotted from right to left.
    The Moving Average calculation is now wrong, and should have been calculated and presented from oldest to most recent.
    Here is the same data, with table sorted from oldest data at the top of the table.
    The moving average is also plotted from right to left, and shows the correct Moving Average for the most recent data.
    That is, it is calculated from oldest to most recent, with the last Moving Average data point plotted on "todays" date.
    What I want to see is my table displayed from most recent at the top (the top table), and moving average calculated and displayed as per the bottom graph.
    Edit: So, think about this some more,
    I need an option to tell Numbers to do the Moving Average calculation from the bottom of the table up, not from the top of the table down.

  • Time Series Graph Show Inappropriate Data for Continuous Analysis

    Hi All,
    I have marked Month as the Chronological Key in my BMM Layer but still I am unable to view the data correctly in my Time Series graph because it shows Inappropriate Data for Continuous Analysis at the time of creating the Graph. Can anybody help me out with the same.
    Thanks

    What data type is your key? The chronological key is required for the time series formulas (ago etc.).
    The time series chart requires a date or datetime data type to work - perhaps a new column with the first of the month/period would help? Regards,
    Robret

  • Time scatter graph class cl_gui_chart_engine

    hello
    i need to biled graph that the y pivot is date and hour and the x is caracteristic but
    i whant to show the x pivot divied by  motnth 
    for that use i am tring to use time scatter graph.
    and my question is how to write the categories and the  series_table in the sap program
    thank you

    Hello,
    I suggest you to use the Chart Designer (you can find it here : http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/e0a9ba90-0201-0010-d3a2-9cb376b5e181 ). A pdf document explains how building the XML data file.
    You can also read this article : http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417200)ID0627021950DB01268469089299731926End?blog=/pub/wlg/13313
    Regards,
    Vincent Choupaut

  • Project Server adding in erroneous time into users timesheets

    Hi All,
    I'm hoping somebody has seen this and can help, as I am not sure what PS is doing here.
    We are using PS 2010 in SEM and users are only filling in their time in the timesheets.
    I've noticed in certain timesheets and for the same task that PS seems to be adding erroneous time into certain dates.  When I look at the task details there is no record of the time being added or sent by the user, and they clarified this.
    Is there a way of finding out why PS is adding this time?
    Many thanks,
    Lee

    Hi Lee,
    I am not sure of the patch level but there are few known issues which are already fixed. I would advice you to patch both your server and client to SP2 atleast and then check the behavior. If you can describe more about what is getting added and if you have
    an example, that will help us answer more.
    Vikram Daruru - MSFT

  • I have more ethernet devices than my time capsule has ethernet output ports. What do I do?

    I have more ethernet devices than my apple time capsule has ethernet output ports. What do I do?

    Just to add to Bob's comment.. it is much better to move all the connections to the switch..
    Don't leave two connections on the TC and then connection to the switch plus the rest.. plug everything into the switch. The only line running to the TC is to connect switch to TC.
    The sweet spot for most people is 8 port switches which are now consumer items.. go into any big computer shop.. buy whatever brand you want.. they are not alot different.. but I have noticed smart switches are coming down in price.. to the point cheap end 8 port smart (managed sort of). are the price of dumb switches a year ago.. they also will have better controls and more details. ie discover what is using bandwidth in the network.. some basic QoS .. lots of stuff that Apple routers missed out on.
    eg d-link DGS-1100-08
    I just bought one to replace my power hungry managed 16 port switch.. although I haven't unboxed it .. sometimes things don't work 100% on Macs but most have simple browser type access. Not all browsers work is my experience but something always does.

  • How can i make a graph y is unmber pasing from UDP port,x is the time stamp.and in the same time this graph can display several numbers to compare.

    how can i make a graph
    y is number(the blue wire)pasing from UDP port,
    x is the time stamp.
    plus in the same time this graph can display several differenr numbers to compare.

  • 3D real time voltage graph

    Hi I'm a beginner at Labview.
    I'd like to plot a real time contour graph from voltage readings from 4 diodes which is obtained via the DAQ. The x-y coordinates are the coordinates of the locations of the diodes while the z coordinate is the (current) voltage measurement of each diode.
    I've already splitted up my location coordinates into x-vector and y-vector. I've tried to wire my latest readings values into the z matrix, however I received an error about the different data types.
    Any idea how can I plot a 3D real time contour graph?
    Ps. With the exception of the 3D graph, everything else works prefectly.
    Attachments:
    voltage array 2 - Copy.vi ‏122 KB

    jsp6 wrote:
    Hello,
    I'm trying to view the voltage measurements in real-time chart. (Labview2012 and I've connected 2400 sourcemeter with my laptop by using GPIB-USB-HS)
    My question is, how can I increase the chart update rate? Say, how can I increase samples/second rate?
    Here is the screenshot of my chart -> . Its update rate is quite slow and I dont know why the voltage measurement takes time to settle back 0V (notice the descending slop after the voltage pulse).
    I'm using labview to measure a voltage pulses. So I need fast-response chart that looks like this -> .
    I'm very new to Labview. Please help 
    I'm attaching the vi
    Are you sure they're the same timescale?  The LabVIEW shot sure looks like a time-stretched version of the display photo...
    Bill
    (Mid-Level minion.)
    My support system ensures that I don't look totally incompetent.
    Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.

  • Real time waveform graph in while loop

    Hi
    I have a VI which includes a subVI that reads data from an oscilloscope and presents the output in the form of a cluster made up of the initial time t(0), a time interval delta t and an array of voltage readings.
    This cluster can then be wired to a waveform graph in the usual way. All of this is situated within a while loop in my VI and on each iteration of the loop I obtain a waveform graph of the voltage readings starting at the same time t(0) and ending at the same time t. However I want my graph to begin at a time t(0) when I set my VI running and then continuously acquire and build up the data on each iteration of the while loop so after my VI has finished executing I have a complete graph of all the voltage readings acquired after the set number of iterations of the loop. I know on the Express X-Y Graph VI you can double-click the node and deselect the box that says 'clear data on each call' - if I could do this in my case that would be great but I can't use an x-y graph because I have an array of y-values to plot on each iteration.
    If anyone can help me out it would be much appreciated - I'm sure there must be an easy solution to this but I'm going out of my mind trying to find out what it is!
    Many thanks,
    Bex.

    As usual, you have several options.
    You can use an XY Graph by generating the X values yourself. This will ensure that you place the data exactly where you want it on the X axis. This is fast, but does involve a memory cost.
    You can use a Waveform Graph with a waveform input instead of the cluster you are using. Use the Build Waveform primitive instead of the bundler to make your waveform. Set the t0 values to the appropriate values (negatives do work, as do small numbers - time is in seconds, use the To Time Stamp primitive to convert from DBL to timestamp). Finally, you need to set the Waveform Graph to use the t0 values. Pop up on the Waveform Graph and make sure Ignore Time Stamp is not checked. Depending on your version of LabVIEW, you may have to pop up on the graph or the axis. When you unselect Ignore Time Stamp, you will probably want to reformat the X-axis again. The Waveform Graph clears data at each iteration, so you will need to replot all your data each time. Just create an array of waveforms and keep adding to it. The t0s will put the waveforms in the right places. Yes, this may cause memory problems.
    Finally, you can use the Waveform Chart, which does have memory. Create the waveforms like you did for the Waveform Graph and send them to the chart. It will remember what was sent to it from run to run. Make sure you set the Chart History Length (pop up on chart and select Chart History Length...) to long enough to hold your entire data. You can use a property node to get the data back at the end, if you need to.
    Good luck!
    This account is no longer active. Contact ShadesOfGray for current posts and information.

Maybe you are looking for

  • Windows Vista and ipod

    I heard on the radio that ipod is not yet compatible with windows vista so I haven't synced my ipod nano with my library since I got my new computer. Is this true and if it is what can I do about it? Dell XPS 410   Other OS  

  • Can't Import CD to iTunes 8

    I haven't seen this particular issue detailed yet. When I attempt to import a CD to the new itunes I get an error telling me I don't have sufficient permissions to write to my music folder. The dialogue box indicates that I should check my Music fold

  • Import via firewire no longer working

    Hi, I'm using iMovie 10.0.2, and trying to import from a Sony DCR-TRV320E camcorder over firewire into my late 2010 13" Macbook Pro under Mavericks.  Everything is up to date software wise as of today. This setup worked fine under Lion (I skipped mou

  • Using the Admin Console

    Hello. I can't seem to get my Admin Console working ok for my new install of J2EE working. I can start the domain, get to the log on page and log in, but when i do the images are missing. I.e the folder pictures that make the left hand bar look like

  • Hi just trying to get my ipod nano to turn on, i can't figure out why it isn't working. i haven't used it before so any help?

    i have  a ipad nano i think it may be 2nd generation not real sure, but i can't seem to get it to turn on at all. i plugged it into a iphone 4 charger and am currently charging it on the computer. When i plugged it in the computer the computer was co