Display multiple waveforms on chart

I need help.  I try to display multiple waveforms on a single chart.  Two waveforms (Ideal PWM and Target Pressure) are made up of a single point instead of waveform or array; thus I have to build them into array.  The problem is that I can display all the waveforms, but once awhile the chart shows a missing point on the waveform.  I have attach a screen shot of my diagram.  I'm using LV 8.6.  Can anyone help?  Thank you very much.
BC  
Message Edited by DSI on 04-14-2008 11:46 AM
Attachments:
Display Waveforms.doc ‏163 KB

I would suggest creating an array based on the size of the other waveforms that are being graphed. Presumably you have a certain number of points for all the other waveforms, and they all have the same number of points for that iteration. Thus, create a Y array for the 2 values that you want to graph to be of the same size, rather than a single point. If you run the attached VI in highlight mode you can see what I mean.
Attachments:
chart with lines.vi ‏18 KB

Similar Messages

  • Display multiple Waveform-Graphs on a separate Frontpanel

    Hi there,
    I'm looking for a solution to display multiple waveform-graphs on a separate frontpanel.
    In my application I measure a number of channels (number is a user-input). The signals I want to display each in a separate waveform-graph, because they have different scales. They shall be arranged that way, that the user can switch them on and off or arranges them on the screen, while the application is running (measuring). He shall also be able to maximize all graphs or a graph window to have a closer look at the signals.
    I already tried several things.
    1. I placed the maximum number of graphs in a separate vi, which I start in my application and then switch the frontpanel on and off via a property-node. The values I also write via the references of the waveform-array, which I place in an array. This way I can also change the propertys of each plot (scale, xmin xmax, etc), but I always have all graphs on the screen (also the unused).
    2. I then tried to change the visible-property of the unused graphs, but I cannot scale and rearrange the remaining graphs to the full frontpanel-size, because this property is read-only.
    3. I placed just one waveform-graph in the vi and then start as many vis, as I need. This is cool, because I also can program the position and size of each frontpanel, so that they are arranged in a grid on the display, but all the graphs are separate and it is uncomfortable if the user had to arrange them separate. The windows need to be docked ore something like that.
    4. I tried to place the graph-vis in subpanels, but then I cannot change the position and size of the vis programmatically.
    Has anyone an idea, how to solve this?
    I am using LabView2009Sp1 Professional Development System
    Thanks Norman

    Thanks so far,
    I attached some examples of what I tried already.
    1. MaximumNumberOf Graphs - I show 6 graphs although only two are needed. I cannot rescale the used ones to the full screen size, because the property is read-only
    2. RescaledFrontpanel - I switch the unused graphs to invisible, resize the frontpanel to hide the unused graphs, but now the window is not zoomable
    3. GridOfWindows displays the desired grid of graphs in separate windows, but they don't stick together
    I hope this explains the situation better.
    Norman
    Attachments:
    multigraph.llb ‏136 KB

  • How to display multiple waveforms (more than 2) with current time on x axis

    Dear All,
    I am trying to plot more than 2 waveforms on a graph/chart with current absolute time on the x-axis.
    It works if I plot two waveforms on XY graph  but shows broken wires (mismatching of data types) for more than 2 waveforms.
    Now, I have tried waveform charts and graphs, and ti doesnt work there too.
    I have attached my VI below.
    Can someone please help me out with this. 
    Attachments:
    timing problem.vi ‏21 KB

    Dear Mahu,
    I have attached a snapshot of my VI. This snapshot shows a VI which works perfectly but as soon as you will extend the bundle and add another random number generator, it will show data mismatching. 
    The reason why I am not using a chart, although it works perfectly for this, is beacuse I want to control the x axis (start and end time) to see data at time as specified by user. 
    Waiting for your reply. 
    Attachments:
    pic of prob.JPG ‏46 KB

  • Is it normal for a waveform graph to truncate arrays of values that are longer than others when displaying multiple waveforms on the same graph?

    I am reading back values of several waveforms that were saved to disk using the write to spreadsheet vi. Some of the data sets are longer than others eg. 35 seconds vs 45 seconds. All have the same sample rate.
    See the code segment below. If I select the larger files first then all the data will show. If I select a smaller file first the larger ones will be truncated to the size of the small file. I am using LV 7.0.
    Attachments:
    codesnippet.vi ‏41 KB

    I needed to make some grammatical/ nomelclature changes, But, Could not edit the previous post.
    so posting again
    "Thats because you are inserting into an array of a predefined size.
    For ex,
    When you try inseting a 1D array 'A' of 50 elements as row 1 of a  2 D array of 40 elements(in row 0 ), only only the first 40 elements will get insetred into 2 D array. You lose the last 10 elements of array 'A'
    To avoid this, I suggest you use XY graph( of course you have to create an x axis with the index of each element in the inserted array and plot on xy graph).
    Any doubts, do get back"
    regards
    Dev

  • How to display two waveforms in one waveform chart?

    hellow!anyone can tell me how to display two waveform together in one waveform chart? thanks!

    Hello,
    An easy way to tell how to make multi-plot charts and graphs is to hold your mouse over the chart/graph terminal on the block diagram and make sure Context Help (Help >> Show Context Help) is enabled. This screen will tell you how to connect the indicator for a multiple-plot display.
    You might want to take a look at my attached screenshots of a working multi-plot chart.
    Hope this helps!
    Liz F
    National Instruments
    Attachments:
    Multi-plot_chart.bmp ‏902 KB

  • Crystal report -How to display multiple lines in line chart?

    Hi,
    M struggling to display multiple lines in line chart. All the values m fetching it from database into data table in below format & data type
    Category(String).....year(Int).....graph_values(Int).....table_value(String)
    Test.........................2006.......... -100............................(100)
    Avg..........................2006..........20................................20
    Median......................2006...........5................................5
    Test..........................2007...........500.............................500
    Avg...........................2007............90..............................90
    Median.......................2007............45..............................45
    M using cross tab to display data and chart to plot line. Following fields I used in Cross tab Expert & Chart expert
    Cross tab expert-
    Rows u2013 category
    Columns u2013 year
    Summarized fields u2013 Min of table_value
    In Chart Expert u2013
    On Change of - Year
    Show values - graph values
    In cross tab m able to see the data properly but not in graph.I have three categories. Hence it should plot three lines in line chart but m able to see only one line for test category.
    FYI u2013 using VS 2008 and crystal report assembly version 10.5
    Urgent. Please reply soon.
    Thanks
    ThakurS

    I got the solution.
    In Chart Expert - I should use
    On Change of -- Year, Category
    Show values -- graph values
    Thanks,
    ThakurS

  • Ability to display multiple texts within graphic planning board Gantt chart

    I have been unable to change the planning board Bar Chart Graphic Profile (OPG0 and OPG9) to be able to display both material text and a user field within the Gantt chart graphic.  I have copied the SAPSFCG011 profile and created my own.  The profile is displayed below from CMCH.
    Overall prof: ZBWSFCG011           SFC: View work center/capacity (3 graf.)
    ...... Select.profile:                     ZBWSFCS001      SFC: View work center -> cap.(3 graf.)
    ...... Control profile:                    ZBW___C002      Gen: Planning table
    ...... Time prof:                           ZBW___Z002      Gen: Medium-term (3 months)
    ...... Evaluation prof.:                 ZBW___A001      Gen: Standard evaluation profile
    ...... Strategy prof.:                    ZBW___T001      Finite scheduling forw./all functs.activ
    ...... Capacity planning table:      ZBWSFCL010      SFC: only main cap. (3 graf.)
    .......... Graphics profile                      ZBW___X002      BARC    1  Default profile 2 Capa. planning board
    .......... Chart sequence                      ZBWSFCT002      SFC: Main caps. (3 graph.)
    .......... Layout ID                                 ZBWSFCLA10      SFC: Work center view     (graphical)
    .......... LineRepresSelection                 ZBW___ZR02      SAP standard 2
    .......... Scale time axis                         SAP___M031      Stand. weekly per. split rough
    .......... Graph.object.select.                ZBW___OA02      Pool group order path
    .............. DStat Sq Structur Field na ROp Comparison val NStat Struct
    .............. 00000 01 KBED     TYPKZ    NE  1                      00001
    .............. 00000 02 AFVG     OBJNR    ST  SAP005         00000 SAP002 Standard operation partially confirmed
    .............. 00000 03 AFVG     OBJNR    ST  SAP006         00000 SAP003 Standard operation completely confirmed
    .............. 00000 99                   DEF                                  00000 ZJB000 Standard operation
    ................... Graphical object type               ZJB000          Standard operation
    ........................ Form type                           22              Plan. board:Graphic obj. w. ordNo matTxt
    ........................... Form group                          ZBW001
    ............................... Form definition                     PLTO22          Planning board graphic order and mat.txt
    .................................. Layout definition                   [[$a//$b]]
    .................................. Layout definition
    .................................. Layout definition
    .................................. Layout definition
    In addition to the profile change, I have configured the graphical object type ZJB000 (in OPG9) to look as follows:
    0     AFKO     Order header                          MATXT     Material description                                                                     
    2     KBED     Capacity requirements     A     SSTAD     Latest start / date     SSTAU     Latest start / time
    3     KBED     Capacity requirements     A     SSSBD     Latest scheduled start: Processing (date)     SSSBZ     Latest scheduled start: Processing (time)
    4     KBED     Capacity requirements     A     SSSAD     Latest scheduled start: Teardown (date)     SSSAZ     Latest scheduled start: Teardown (time)
    5     KBED     Capacity requirements     A     SENDD     Latest finish / date     SENDU     Latest finish / time
    6       AFVG    Order operation                       USR08    User field for date                                                                               
    I have found that the 2nd text field (USR08) must be added as the last step (#6).  When I had it as #1, the planning board did not display the USR08 value.
    Now both are displayed in the Gantt chart graphic.  However, it is difficult to see this long string of data as the bars in the Gantt chart may not be long enough to display the data. 
    Therefore we would like to use the "hover over" text which is displayed in the status line at the bottom of the screen.  We have tried using both the Info Text and the Quick Info options within the Bar Chart: Options Profile (OPG0).  Only the first text (the material descirption) is dislayed within either the Quick Info or the Info Text.
    Is it possible to have multiple object values appear in Quick Info or Info Text?  Or is it possible to control which text is displayed in the Quick Info or Info Text?
    Any help in this area would be greatly appreciated, as this is a make-or-break issue for the business to use the planning board.  Thank you!

    I'm also looking for a standard customizing alternative to do the same thing.
    Still, if you're interested, I've already done it successfully with user exit PLAT0001.
    Hope this helps.
    Best regards.

  • Legend for multiple waveform chart

    I have a Waveform Chart (and legend) with multiple waveforms.  I can control the visibility of a given waveform on the chart programmatically using the "ActPlot" and "Plot.Visible?" properties.
    Is it possible to programmatically make the legend only contain the plot names that are visible at any given time?
    Cheers,
    Dan
    Dan
    CLD

    Hello DanB,
    Following along the lines of what smercurio_fc suggested, you can use the Legend>Number Of Rows property (LegNumRows) to change the number of rows of your legend to the number of plots you are viewing, and then use the Plot>Plot Name property (Plot.Name) to edit the names of the plots yourself. I cannot see a property to extract these names dynamically, so this is probably your best bet.
    I hope this helps, otherwise please do let us know if there is anything further,
    Kind Regards,
    Michael S.
    Applications Engineer
    NI UK & Ireland

  • Display multiple channels on waveform graph

    Hello,
    I would like to display multiple channels of acoustic data on one waveform graph. I currently have them separated and controlled by tabs inside a case Structure. I sometimes have run into DAQ error because I'm looking at 10 channels of 1/3 Octave data real-time. I woundering if I display all the channels on one waveform graph would I elimnate this error.
    can anyone help?

    Philip,
    I'm acquiring data at 44KHz sample rate and my frequency range is 0-20kHz (2 ni-4472 DAQ cards). Since I been using LV (off and on now for about a year) my application is still in the development stage. I tried including pics but could only include 1 at a time, so heres a copy of my vi for you. There is several things I'd like to figure out, I'm viewing data real-time and writing data to file. However, as I'm writing data to file I don't want the data to display in real-time (I think this is where my problem is). The other issued is when I've stopped writing data to file, the case structure outside the while loop opens the file and processed the data, however I'd like to see the data in the same display (waveform graph in while loop). Take look and give me thoughts.
    R/Scott
    Attachments:
    Submarine DAQ_writing reading OFFLINE_Rev2.vi ‏829 KB

  • Interactive Report Displaying Multiple Values (Chart)

    Hi guys,
    Is there a way to display multiple values into a chart report. Normally there is a combobox and you can only select one value. But i want to display multiple values into one chart and i have to use interactive report because sql report is not enough for me.
    Apex product build is 4.0.2.00.07.
    Thanks

    Any ideas ?
    Thanks.

  • Waveform graphic / chart time display (x-axis) is wrong?

    Why the time is incorrect in waveform graphic / chart? How to solve it?
    When I run the program, I find that waveform graphic/chart show 0 to 20 (time/x-axis) but actual is running 30 second.

    The Build Waveform is on the Waveform palette. You can use it to set the dt. It's a fancy cluster. The dt is your loop rate in seconds. I would assume you have some wait or delay function that you are using to set the loop rate.
    You can also use a property node - XScale.Range. Offset and Xscale.Range.Multiplier. Look at the example called Real Time Chart.

  • Dynamic multiple waveform display

    Hi,
    I'm a labview beginner. Here I got a quick question. I want to use one waveform graph to display two waveforms (acquired from two channels). As shown in help files, it seems I need use "build array" to bundle the two data streams to one array and output to waveform graph. However, I got an error (error message: ''You have connected an array to its element type?) when I was doing this. Attached is a picture showing my simplified test case. Instead of use data acquired from hardware, in this test file, I use simulated sine waveform.
    I knew this could be a very small trick. However, I couldn'd find a way to fix it.
    Any help is appreciated.
    Attachments:
    post1.JPG ‏35 KB

    You do not lose a waveform when you use the merge signal function. It is the correct function to use when you work with a dynamic data type. If you converted the dynamic data from the simulate signal to a waveform data type or to a 1D array, then you would use the Build Array function like the help says. To see both signals, just replace the Build Array with the Merge Signals and look at your graph. You don't have to 'guess', you just have to do it and see

  • XY chart display(multiple plots) --help required

    Hi All,
    I have problem in showing data(scale on y-axis)..on the xy-chart display...
    Chart contains 2 plots...
    1.length vs 1st Speed
    2.length vs 2nd Speed..
    my problem is with the scale on y-axis and plotting 1st speed and 2nd speed(on y-axis..) with respect to length(on x-axis)....
    I attached my front panel window diagram for ur kind help....
    I can able to view the plot on the chart....but the plot's are not like plots...they are plotting like in straight lines
    One more Doubt ....in some chart if we right click it ..we can able to view the chart history length....
    but in some chart ...why it's not appearing when we right click it ..
    In that cases how we can set chart history size length...or how to enable the option.....
    Regards
    Rajasekar
    Attachments:
    speed251.vi ‏433 KB
    Front-panel2.PNG ‏110 KB

    Dear friend,
    First i misunderstood the concept...now i am clear with the graph and chart concept..Since i am new user to Labview....
    I need the xy-graph behaving like chart..with history length..(data acquistion type  by serial)..
    Now i am completed the task...with the  examples comes from NI example finder..but i need clarification.....
    I attached my vi...could u please see through it....
    if u see the attached front panel diagram named front-panel.png file...in that the xy-chart is showing a straight line...
    This is where i am facing problem...It should be continous instead of straight line....
    Latter i find that this problem is  because of history length problem of  xy-graph.
    so i added buffer.vi..(sub-vi) available in variable-time xy-chart example to overcome this issue..
    Please say ur suggestion...
    Attachments:
    Front-panel2.PNG ‏110 KB
    speedhistorylength26.vi ‏434 KB

  • How to display a waveform in XY format where X is the time in seconds?

    I am aquiring voltage from a power sensor and I am displaying this voltage as a waveform in a waveform chart. Now, I would like to display this waveform such that on X axis I have a range from 0 to 30 seconds (X axis should be displayed in seconds of recording not actual time). On Y axis I would have the value of parameter I am aquiring of course.
    Any suggestions/examples?

    It is a data signal type that has timing info in it.
    What I am actually trying to achieve is to display the data in a chart (that has seconds on X axis) only when I turn on a button. When I turn off the button the data should stop being displayed in the chart. Problem is that when I turn on the button again the new data displayed should flow from the point where old data stopped being displayed. In a chart having actual time on X axis this is not possible because the time will be different that the time when the data stopped being displayed so you will have a gap between the old and new trains of data. I want continuity and I was hoping to get this if I take the timing info out...
    Do you see a better solution for this?
    Thank you.

  • Is it possible to display a waveform with fixed length and fixed starting point?

    Hi,
    I am using DAQ assitant to acquire voltage and current measurment of my device. The voltage is a pure sine wave and current is a periodic waveform with phase difference and distortion. I use waveform chart to display the waveform of voltage and current waveform in seperate charts and they work fine.But the waveforms look like moving to the right all the time, in another way ,the phase is always shifting. Now i want to display the waveforms of both with fixed length (say 2 cycle) and also in a same chart. Apart from that, i also want to display the voltage waveform starting form 0 degree (a fixed point )rather than moving all the time. In this case, i can observe the angle difference between voltage and current. Is there any method to achieve this purpose?
    Many Thanks,
    Hao

    Hao,
    first of all, you are using a chart which has three options for updates if the chart is "full":
    Strip chart (default)
    Scope chart
    Sweep chart
    These are called "update mode". Test the modes yourself.
    Also you have to know that you will not likely have an integer number of periods of your signal in the display of the chart. Therefore, a continuous signal will "move" the graph from update to update.
    You can implement some algorithm to discard data to maintain a static "trigger" level for display, but as stated, it will leave gaps in the signal. These gaps are not a concern unless you use the displayed signal for analysis (e.g. FFT).
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for

  • Excise duty mapping in PO

    Dear Experts, I want to know, how to map the below scenario into sap. In the purchase order for capital good,  there should be a provision for taking 50 % of the excise duty in to GL accounts-( Excise duty input) for taking input credit up to 50 % an

  • Error Start Process Scheduler after configure Crystal Path

    Hi All, Kindly help me to solve this issue. I'd installed Peoplesoft HCM 9.2, Application Server and Process Scheduler run sucessfull but after i install Crystal Report Runtime Redistribute 2008 and configure crystal path (C:\Program Files(x86)\Busin

  • Unable to Storage Location in PPOMA

    Hi SRM experts, I'm working on SRM7.0 and have the following issue: Tcode: PPOMA_BBP Tab: Extended Attributes Radio button: Storage Locations I am able to select my R/3 backend system from drop down but unable find any entries for Storage Locations i

  • Career in ABAP+Flex

    Hi Experts,     I am an ABAP developer and have keen interest in Web Development and Designing. I recently came to know about SAP and Adobe Flex integration. I want to be known as an ABAP-Flex Developer in my future. I want to pursue my career in thi

  • Problem with primary key field that needs updating on commit

    Taking on someone else's form and trying to tidy it up as it has no primary key on tha table. The only primary key i can apply is (invoice number, line number) This has to be displayed on the form as a provisional number when the user enters the form