Problem with waveform chart

Hello friends.
I'm in learning lab view and have some questions.
I get a signal with an Analog to Digital converter (an Atmega 32) and send data to com port .
I convert my data to real value in voltage and time .
But i have problem with show wave form in different frequency .
By Increase of frequency , waveform chart can not draw my data Clearly.
What i do to show data in different frequency ?
Thanks .
Attachments:
t4.vi ‏13 KB

Interfacing with hardware is seldom easy. That is why I lean toward NI stuff since they have made there stuff resonably simple and they have good supprt.
When interfacing with hardware from others, we have to look fo rthe manufacuer of the hardware to provide enough support to get started.
So I suggest you contact whoever makes your device and get some examples from them.
Hopefully they have heard of LV and have drivers.
Otherwise, ther is no guarentee it will be possible.
If English is not your primary language, plese feel free to post in both English and your native language. We have contributors that can handle most languages so do not let English get in the way.
Ben
Ben Rayner
I am currently active on.. MainStream Preppers
Rayner's Ridge is under construction

Similar Messages

  • Problem with waveform chart: time scale does not show time correctly

    Hello,
    I have some problems with a chart.
    I want to display some data and the time between two single data can vary. It is something between 50ms and 500 ms.
    The problems I have:
    1. The time is not shown correctly in the chart (allways 2:00:10 instead of the current time)
    2. the data points in the chart have a distance of 1 s (x-scale). That is not correct.
    I have tried several things but I thinkt I am on the wrong track.
    Could you please help me?
    Johannes
    LabVIEW 7.1 (!)
    Message Edited by johanneshoer on 10-14-2009 04:26 AM
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Solved!
    Go to Solution.
    Attachments:
    Chart Test.vi ‏55 KB

    I have modifierd the vi again.
    Now it looks much better.
    I have a data array and the last 10 seconds of the data are displayed.
    The array size is maximum 150 and that is more than I need to display. If new data is inserted, the oldest gets deleted.
    I wonder if this style is efficient?
    The time is stil not displayed correctly in the graph. Why does it always show 2:00:00 ?
    Johanens
    LabVIEW 7.1
    Greetings Johannes
    Using LabVIEW 7.1 and 2009 recently
    Attachments:
    Chart Test 3.vi ‏57 KB

  • Problem with Waveform Chart updating

    Hi!
    I have written a LabVIEW project for 8510.
    I have a problem with the waveform chart not updating the data incoming to it.
    that is, Y axis does not update according to 8510 display format.
    May you help me?
    Attachments:
    Network_Analyzer_8510C_nazanin_5.lvproj ‏6 KB

    Hi,
    Do you want to change the label???
    1. Just right clicl your graph
    2. in the properties window go to 'Scales' tab
    3. select the Axis, and change the name.
    Is this the solution regarding your issue....
    Or
    do you want to change the domain from Time or Frequency...??
    I am not allergic to Kudos, in fact I love Kudos.
     Make your LabVIEW experience more CONVENIENT.
    Attachments:
    Solution.vi ‏265 KB

  • Problems with waveform chart

    Hi guys,
    here I am again with another issue... I just need your help to a small issue, the attached VI is my project...the problem i have is that my waveform chart only shows 0.065 seconds of data, i needed it to show the total time of the test...if possible, coordinated with the time selected by the user in "time to test"...
    Is it possible?
    Can anyone please help me?
    Best regards,
    Jimmy
    Attachments:
    Ensaio de Rugosidade_01.vi ‏221 KB

    Hi,
    Right click your chart and select properties. In properties set the X axis scale minimum and maximum values as per your requirements. Select autoscale if you want it to be automatic. To set the X axis scale programmatically, select the property node X-axis->Range and wire the limits accordingly (in your case, you can wire it to the "time to test".
    Regards,
    Nitz
    (Give Kudos to Good Answers, Mark it as a Solution if your problem is Solved) 

  • Problem with Waveform Chart X scale

    Hi guys.
    I am new here and Labview, sorry for my english wrongs. I am from Brazil.
    So, i try have an absolute time in x scale, from my waveform chart, but the VI don't execute this. I wish make like the picture in annex. It´s the only problem in my project.
    I Use Labview 8.6 version.
    Please help me 
    Icaro Kossmann
    LabVIEW 8.6 Newbie.
    Brazil
    Attachments:
    tela labview.png ‏46 KB

    Kossmann wrote:
    This is a print of block diagram with a close in waveform chart.
    Your chart does not get any timing information, thus you need to set the dt manually or with a property node according to the update rate of your code (we cannot tell from the picture).
    If you want absolute time, you also need to set the t0 according to the start time of the chart. Then you also need to select the desired time format of the axis.
    (It really does not help to show us code pictures. I recommend you attach the actual VI.)
    Kossmann wrote:
    The datatype is 14 channel with single precision, and the format of the x-axis is absolute time, but, the VI don´t show it. And i wish to show divisions on each 5 min.
    Instead of telling us what it does not show, tell us what is shows instead and what's wrong with it.
    LabVIEW Champion . Do more with less code and in less time .

  • Can my 600MHz P-3, 256MB Ram handle a data acquisition of more than 1kHz with waveform chart support?

    please suggest tools for acquiring high speed 8 analog channel data.
    can my 600MHz P-3, 256MB Ram handle a data acquisition of more than 1kHz with waveform chart support?

    Arun,
    I have performed data acquisition on a computer with lower specs than the one you described, at rates greater than 1 kHz. I don't quite understand the "waveform chart support" portion of your question, but if you are asking if it is possible to plot the acquired data on a Waveform Chart in LabVIEW, this should not be a problem.
    If you have more specific questions, let me know.
    -D
    Darren Nattinger, CLA
    LabVIEW Artisan and Nugget Penman

  • Regarding Pages charts, when I try to 'build' a 3D chart all I get is little dots but not graphics.  No problems with 2D charts though. Guess my question is "Help?"

    Regarding Pages charts, when I try to 'build' a 3D chart all I get is little dots but not graphics.  No problems with 2D charts though. Guess my question is "Help?"

    Sorry for the delay getting back to this.
    Thanks to Fruhulda and Peter for their comments regarding the refusal of Pages to let me make 3D charts. 
    In answer to the questions put to  me in this regard :
    1. Pages version : Pages '09  v.4.1 (923)
    2. Mac O/S :          v.10.6.8 
    3. 3D chart :          Can't find a 'name', but upright bars with rounded corners ???
    4. Moved apps :    Not that I'm aware of!  All should be as installed off the disc.
    5. A note :              I have been able to create these in the past - related to a SW update? 
                          and ... can create these charts perfectly in Keynote (go figure).
    Thanks to all.
    CM

  • Problem with Area  Chart

    Hi EveryOne,
    Me having problem with area chart,i have taken 3 area series
    to plot when me plotting the values one of the series is getting
    overlapped,Why its happening like this? Me attached the code
    Thanks in advance.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml">
    <mx:Script><![CDATA[
    import mx.collections.ArrayCollection;
    [Bindable]
    public var expenses:ArrayCollection = new ArrayCollection([
    {Month:"Jan", Profit:0, Expenses:0, Amount:450},
    {Month:"Feb", Profit:5, Expenses:0, Amount:600},
    {Month:"Mar", Profit:5, Expenses:5, Amount:300},
    {Month:"Mar", Profit:0, Expenses:5, Amount:300}
    public var expenses1:ArrayCollection = new ArrayCollection([
    {Month:"Jan", Profit:0, Expenses:5, Amount:450},
    {Month:"Feb", Profit:5, Expenses:5, Amount:600},
    {Month:"Mar", Profit:5, Expenses:10, Amount:300},
    {Month:"Mar", Profit:0, Expenses:10, Amount:300}
    public var expenses2:ArrayCollection = new ArrayCollection([
    {Month:"Jan", Profit:5, Expenses:0, Amount:450},
    {Month:"Feb", Profit:10, Expenses:0, Amount:600},
    {Month:"Mar", Profit:10, Expenses:6, Amount:300},
    {Month:"Mar", Profit:5, Expenses:6, Amount:300}
    ]]></mx:Script>
    <mx:AreaChart id="myChart"
    showDataTips="true">
    <mx:series>
    <mx:AreaSeries id="ara" dataProvider="{expenses}"
    xField="Expenses"
    yField="Profit"
    />
    <mx:AreaSeries id="ara1" dataProvider="{expenses1}"
    xField="Expenses"
    yField="Profit"
    />
    <mx:AreaSeries id="ara2" dataProvider="{expenses2}"
    xField="Expenses"
    yField="Profit"
    />
    </mx:series>
    </mx:AreaChart>
    </mx:Application>

    Seems to simply be a problem with your data. See this
    code.

  • Problem with simple chart

    Hi everyone. I've got a problem with ABAP charts. I need to place a simple chart in screen's container.
    REPORT ZWOP_TEST4 .
    Contain the constants for the graph type
    TYPE-POOLS: GFW.
    DATA: VALUES       TYPE TABLE OF GPRVAL WITH HEADER LINE.
    DATA: COLUMN_TEXTS TYPE TABLE OF GPRTXT WITH HEADER LINE.
    DATA: ok_code LIKE sy-ucomm.
    DATA: my_container TYPE REF TO cl_gui_custom_container.
    REFRESH VALUES.
    REFRESH COLUMN_TEXTS.
    VALUES-ROWTXT = 'Salary'.
    VALUES-VAL1 = 50000.
    VALUES-VAL2 = 51000.
    APPEND VALUES.
    VALUES-ROWTXT = 'Life cost'.
    VALUES-VAL1 = 49000.
    VALUES-VAL2 = 51200.
    APPEND VALUES.
    COLUMN_TEXTS-COLTXT = '2003'.
    APPEND COLUMN_TEXTS.
    COLUMN_TEXTS-COLTXT = '2004'.
    APPEND COLUMN_TEXTS.
    Call a chart into a standard container, this function could be used
    for many different graphic types depending on the presentation_type
    field :
    gfw_prestype_lines
    gfw_prestype_area
    gfw_prestype_horizontal_bars
    gfw_prestype_pie_chart
    gfw_prestype_vertical_bars
    gfw_prestype_time_axis
    CALL SCREEN '1000'.
      CALL FUNCTION 'GFW_PRES_SHOW'
        EXPORTING
          CONTAINER         = 'CONTAINER'    "A screen with an empty
                                            container must be defined
          PRESENTATION_TYPE = GFW_PRESTYPE_LINES
        TABLES
          VALUES            = VALUES
          COLUMN_TEXTS      = COLUMN_TEXTS
        EXCEPTIONS
          ERROR_OCCURRED    = 1
          OTHERS            = 2.
    *&      Module  STATUS_1000  OUTPUT
          text
    MODULE STATUS_1000 OUTPUT.
      SET PF-STATUS 'GUI_1000'.
    SET TITLEBAR 'xxx'.
      IF my_container IS INITIAL.
        CREATE OBJECT my_container
          EXPORTING container_name = 'CONTAINER'.
      ENDIF.
    ENDMODULE.                 " STATUS_1000  OUTPUT
    *&      Module  USER_COMMAND_1000  INPUT
          text
    MODULE USER_COMMAND_1000 INPUT.
      ok_code = sy-ucomm.
      CASE ok_code.
        WHEN 'EXIT'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_1000  INPUT
    I created a screen 1000 in SCREENPAINTER, named it 'CONTAINER'. Then I try to launch code above and nothing appears on the screen. Could You give me some tip?

    Hi,
    delete this lines:
    IF my_container IS INITIAL.
    CREATE OBJECT my_container
    EXPORTING container_name = 'CONTAINER'.
    ENDIF.
    then it should work.
    R

  • Problem with displaying chart data

    Hello everybody,
    I have problem with displaying chart data correctly. I'm using a cartesian chart with DateTimeAxis. The stockdata I'm using is for half a year and
    with ticks for every day. The problem is, that Flex displays the data of february in march together with the data of march. I have added a picture
    to show the result. The second column of the grid is for february and the third for march.
    Could anybody help me with this problem. Thanks in advance.
    Thomas

    Hi Chris,
    thanks for your reply. Here you get the source code:
    The following method creates the LineChart:
            public function init():void
                model.upperChart = this;
                model.upperChartStyle.setChartViewStyle(this);
                this.hAxis = new MyDateTimeAxis();
                model.upperChartData.configureHAxis(this.hAxis);
                this.vAxis = new LinearAxis();
                model.upperChartData.configureVAxis(this.vAxis);           
                this.vAxisTitle = new Label();
                this.vAxisTitle.text = model.upperChartData.getVAxisTitle();
                model.upperChartStyle.setVAxisTitleLabelStyle(this.vAxisTitle);
                this.vAxisTitle.x = 10
                this.vAxisTitle.y = 0;
                this.addChild(this.vAxisTitle);
                this.myChart = new CartesianChart();
                //remove default datatip
                this.myChart.showDataTips = false;
                this.myChart.x = 10;
                this.myChart.y = 0;
                this.myChart.width = 768; 
                this.myChart.height = 196;
                model.upperChartStyle.setChartStyle(this.myChart);
                this.addChild(this.myChart);
                //Remove line shadow
                this.myChart.seriesFilters = null;
                this.myChart.horizontalAxis = this.hAxis;
                this.myChart.verticalAxis = this.vAxis;
                this.hAxisRenderer = new AxisRenderer();
                model.upperChartData.configureHAxisRenderer(this.hAxisRenderer);
                this.hAxisRenderer.axis = this.hAxis;        
                model.upperChartStyle.setHAxisRendererStyle(this.hAxisRenderer);
                this.myChart.horizontalAxisRenderers.push(this.hAxisRenderer);
                this.vAxisRenderer = new AxisRenderer();
                model.upperChartData.configureVAxisRenderer(this.vAxisRenderer);
                this.vAxisRenderer.axis = this.vAxis;
                model.upperChartStyle.setVAxisRendererStyle(this.vAxisRenderer);
                this.myChart.verticalAxisRenderers.push(this.vAxisRenderer);
                model.upperChartStyle.setVAxisDataLabelStyle(this.vAxisMinLabel);
                this.addChild(this.vAxisMinLabel);   
                model.upperChartStyle.setSeriesStyle(model.upperChartData.series, model.upperChartData.shares);           
                this.myChart.dataProvider = model.upperChartData.dataProvider;
                this.myChart.series = model.upperChartData.series;
    The data for dataprovider and series you can see in attached file dataprovider.xml.
    xfield is equivalent to timestamp
    yfield is equivalent to absolute
    I think the problem could be the configuration of the datetimeaxis. The following method shows the parameter for the datetimeaxis:
            public function configureHAxis(axis:MyDateTimeAxis):void
                axis.parseFunction = UtilityClass.parseYYYYMMDDHHNNSSString2Date;
                axis.dataUnits = "days";
                axis.dataInterval = 1;
                axis.title = "";
                axis.minimum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-01-07 00:00:00").time);
                axis.maximum = new Date(UtilityClass.parseYYYYMMDDHHNNSSString2Date("2009-07-06 00:00:00").time);
    And finally you get the function, that I'm using for string to date conversion:
            public static function parseYYYYMMDDHHNNSSString2Date(input:String):Date
                var result:Date = new Date();
                var year:Number = Number(input.substring(0,4));
                var month:Number = Number(input.substring(5,7));
                var date:Number = Number(input.substring(8,10));
                var hours:Number = Number(input.substring(11,13));
                var minutes:Number = Number(input.substring(14,16));
                var seconds:Number = Number(input.substring(17,19));           
                result.setUTCFullYear(year);
                result.setUTCMonth(month-1);
                result.setUTCDate(date);
                result.setUTCHours(hours);
                result.setUTCMinutes(minutes);
                result.setUTCSeconds(seconds);
                return result;           
    I hope that will help to locate the reason for the wrong chart visualization.
    Thanks for any help.

  • I have a problem with a chart refreshing after its bound data provider changes.

    I have a problem with a chart refreshing after its bound data
    provider changes. After the subsetHighLowData.refresh() is called I
    would expect the chart to redraw, but it still looks the same. I
    even inspected the debugger to see if the slice had taken place and
    it had.
    Any ideas coding friends?

    "nikos101" <[email protected]> wrote in
    message
    news:gib6aa$prr$[email protected]..
    >I have a problem with a chart refreshing after its bound
    data provider
    >changes.
    > After the subsetHighLowData.refresh() is called I would
    expect the chart
    > to
    > redraw, but it still looks the same. I even inspected
    the debugger to see
    > if
    > the slice had taken place and it had.
    >
    > Any ideas coding friends?
    >
    > subsetHighLowData.source =
    >
    highLowData.source.slice(slider.values[0],slider.values[1]);
    Just use the ArrayCollection's removeItemAt, and it should
    handle the event
    dispatching for you.
    HTH;
    Amy

  • PROBLEM WITH OVERLAID CHART

    Hello everyone, I'm using flex 2 and I have an application
    that shows a ColumnChart to the user, and let the user choose the
    chart type, that can be overlaid, clustered, 100% or stacked... And
    I'm having problem with the overlaid type, because in the chart
    I've put 4 ColumnSeries, and when the chart is rendered, some of
    the columns appear in front of the other ones hidding it...
    It doesn't solve my problem to change the order of the column
    series because the order of the bars will change for all the
    items...
    What should I do to have the overlaid chart working
    perfectly, showing all the columns correctly?
    Thanks in advance.

    Seems to simply be a problem with your data. See this
    code.

  • Problem with Bar Chart using Date Data

    I am trying to make a simple horizontal bar chart as a Gantt chart.  I am trying to set the min and max for the X axis but it is acting strangely. As you can see in the screenshot below, I set the min to 1/1/2000 but the chart uses 9/28/2011.  Similar problem with the max setting.  Am I doing something wrong here? Can anyone duplicate this? Anyone have a solution other than this workaround I am now using (which I assume will break my chart once Apple fixes this problem)?

    BadUnit,
    I assume Numbers, like me, is confused why you would set min/max limits that do not include the data?
    I do get the same result as you when I enter the time range for the chart as 1/1/2000 thru 1/1/2004.
    I even tried making a separate table for the chart:
    There is definitley a problem.
    When I enter, what I think are reasonable,  min and max dates for the chart
    min = 1/1/2013
    max = 12/31/2015
    The chart adjusts like this:

  • Problem with Pie Chart

    Hi Experts!!
    I've a little problem with a Pie Chart, I want to present a Pie Chart with 3 values which are defined on the Data Series, when I deploy I get the message: "Expected exactly 1 data series in XXXXX chart. Extra data series ignored". I don't understand why, because if I try to do a Column Chart with the same information, it works Ok!
    Can anybody help me please?.
    Emilio.

    Multiple data series with Pie Chart is not possible. you must have one series if u r using pie chart

  • Problem with Repositioning Chart

    Hi, I am currently working on a project for which I am trying to take a column chart and allow the user to click and drag the mouse to create a zoom window. When the mouse is released the chart is zoomed in on the area that was covered by the mouse.
    I also want a scroll bar to appear after the chart zooms in so the rest of the chart can be scrolled to in the zoomed-in view. I have written code to do both of these things but I am having a problem. When I drag over the chart to zoom in it zooms fine and the scroll bar appears but the issue is that the portion of the chart that is displayed is the left-most portion, no matter which part I selected to have the view zoom in on. The methods are called when there is a mouseDown, mouseMove, and mouseUp event on the chart, respectively.
       //Declares the zoom variables
       [Bindable]
       private var dragStart:Point;
       private var dragEnd:Point;
       private var TL:Point;
       private var BR:Point;
       private var zooming:Boolean = false;
       //Declares the scroll variables
       private var negProp:int;
       //Sets the start point for the zoom window
       private function startDraw(event:MouseEvent):void
        zooming = true;
        dragStart = new Point(columns.mouseX, columns.mouseY);
       //Draws the zoom window as the mouse moves
       private function showDraw(event:MouseEvent):void
        if(zooming)
         dragEnd = new Point(columns.mouseX, columns.mouseY);
         //Finds the top-left and bottom-right points of the zoom window
         TL = new Point();
         BR = new Point();
         if(dragStart.x < dragEnd.x)
         { TL.x = dragStart.x;
          BR.x = dragEnd.x;
         else
         { TL.x = dragEnd.x;
          BR.x = dragStart.x;
         if(dragStart.y < dragEnd.y)
         { TL.y = dragStart.y;
          BR.y = dragEnd.y;
         else
         { TL.y = dragEnd.y;
          BR.y = dragStart.y;
         //Keeps the zoom window from going off the canvas
         if(TL.x < 0)
          TL.x = 0;
         if(BR.x < 0)
          BR.x = 0;
         if(TL.x > chartCanvas.width - 1)
          TL.x = chartCanvas.width - 1;
         if(BR.x > chartCanvas.width - 1)
          BR.x = chartCanvas.width - 1;
         //Draws the zoom window
         chartCanvas.graphics.clear();
         chartCanvas.graphics.lineStyle(1, 0x000000, 0.25);
         chartCanvas.graphics.beginFill(0xd4ef0, 0.5);
         chartCanvas.graphics.drawRect(TL.x, TL.y, BR.x-TL.x, BR.y-TL.y);
         chartCanvas.graphics.endFill();
       //Clears the drawing canvas and sets the new coordinates
       private function endDraw(event:MouseEvent):void
        zooming = false;
        chartCanvas.clear();
        negProp = TL.x / wipChart.width;
        wipChart.width = (wipChart.width / (BR.x-TL.x)) * wipChart.width;
        wipChart.x = -1 * (negProp * wipChart.width);
    If anyone can help me I'd greatly appreciate it. Thank you.

    Seems to simply be a problem with your data. See this
    code.

Maybe you are looking for

  • Everytime i try to build... its crashes!!! HELP QUICK!

    Ive built a simple dvd with about 6 moving menus(audio for each). I used After Effects to built the menus and made them into a quicktime format. My problem is that when i try to build (or burn) the information the program crashes. Ive seen some simil

  • "iTunes could not connect to the Music Store" Error Message

    Hello all, I finally got my script running correctly and I can see the front page of my iTunesU site(Yay!). But I am getting an irritating error message, and what is unusual are the circumstances under which I see the error message and the circumstan

  • Access denied to NetPoint.PaymentProviderImplementation.dll

    Hello, I have set up the Bussiness One E-commerce and I have a problem when I am trying to make an order. After I press continue after the "Billing" step, the text below appears: An Internal Error has occurred. Version      2007.1.650.0 Message      

  • Output verbose to file and console?

    Hello all, I'm running my PowerShell script from a batch file, and I'm trying to output the verbose statements to a log file as well as to the console. In the batch file I have: powershell.exe -command ".\Script.ps1 -verbose 4> ScriptLOG.txt" What I

  • DataLevel Security

    Hi, Can any one tell how to provide data level security in obiee. Suppose i want user(Example:Venkat) to see only the east region data only without access whole data . then how we can provide security?