5 seconds sweep chart

Hello,
I have a chart displaying a real-time sine waveform with a sample frequency of 300Hz and amplitude 5V.
On the time axis (X) I would like to display 5 seconds of data with the Sweep Chart Mode, how can I do that?
I want the red line of the sweep chart mode to move from the left side to the right side of the chart in exactly 5 seconds, and then start again from the left side.
Solved!
Go to Solution.

I was doing the same thing but nothing was changing 
then I just close everything and restart it again and it worked.
Thank you!

Similar Messages

  • Seconds in charts

    Hi,
    How to show seconds level records in chart in obiee line chart for one day record
    i.e. if i enter date 02/02/2012 from prompt it should show the records on seconds level in chart
    thanks

    Hi,
    Can you try to use in your chart view -->column -->fxn
    Syntax:
    Cast(Cast(CURRENT_DATE AS CHAR) AS TIMESTAMP)
    example Try this
    Cast(Cast("Time"."Calendar Date" AS CHAR) AS TIMESTAMP)
    Note: CURRENT_DATE change to your date columns
    in the line chart view -->set data label display always.
    Thanks
    Deva
    Edited by: Devarasu on Jun 13, 2012 3:54 PM

  • Auto update waveform chart error

    Hi all!
    I have come across the problem when working on my VI. As you can see from the VI that I have attached, there is a waveform graph on the front panel for data acquisition. The value shown right now is from time, 00:00:00 to 00:05:00 (0-5minutes).
    The problem that I am faced right now is, everytime when I hit the run button, LABVIEW seems to automatically change my time value to some sort of generic time. What I want to accomplish here is that, I want to acquire data on the waveform graph from time 0 to 5 minutes. Also, I would like to specify the increments myself. For example on the time scale (x-axis) from 0-5 minuntes, I would like a 30 seconds interval between them. How do I actually accomplish it?
    I have tried absolute time format and changing my waveform chart to sweep chart.
    Thanks for any help!
    Jlam
    Attachments:
    PDaq- Modified_07-08-2010.vi ‏61 KB

    The problem here is that Waveform Charts and Graphs always assume a constant delta time between data points. If you are absolutely certain the data points are guaranteed to be sampled at consistent intervals, the Waveform Chart or Graph is a good fit for the data.
    On the other hand, if data points are sampled at arbitrary time intervals, it will be necessary to use the XY graph, where different timestamps for each data sample determine the t-axis (time, horizontal axis).
    The deal here is that your horizontal axis is N, Sample Number, not t, sample time. Your samples start at 0, and increment 1, 2, 3... Therefore, if you are taking 120S/sec, it will appear two minutes - 00:02:00 (HH:MMS) - have elapsed in the first second! One way to convert Sample Number to Time is by mulitplying that scale by the factor 1/120. To add a multiplier (or offset) to your scale, go to the properties of the Chart. Likewise, you can use a property node to programmatically set scaling factors on the scale.
    a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"] {color: black;} a.lia-user-name-link[href="/t5/user/viewprofilepage/user-id/88938"]:after {content: '';} .jrd-sig {height: 80px; overflow: visible;} .jrd-sig-deploy {float:left; opacity:0.2;} .jrd-sig-img {float:right; opacity:0.2;} .jrd-sig-img:hover {opacity:0.8;} .jrd-sig-deploy:hover {opacity:0.8;}

  • Pie chart from Largest slice of another pie chart.

    Greetings!
    I'm trying to come up with a method which will allow me to create a pie chart of the subgroups from the largest slice of an existing pie chart. The "parent" pie chart will change depending upon the parameters given in the report.
    declare @dataTable table (category varchar(10), task varchar(10), timeSeconds int)
    insert into @dataTable (category, task, timeSeconds)
    values
    ('Alpha','Scrub',100),
    ('Alpha','Sweep',100),
    ('Alpha','Polish',100),
    ('Bravo','Wash',200),
    ('Bravo','Dry',200),
    ('Bravo','Fold',200),
    ('Charlie','Paint',300),
    ('Charlie','Sand',300),
    ('Charlie','Spackle',300)
    In this example, when a pie chart is produced, Charlie would have the largest slice. I then want to produce a pie chart showing only the tasks contained within the Charlie category, but which has the flexibility to render if the Alpha or Bravo groups are
    the largest slice next time.
    Thanks

    For anyone else attempting the same thing: I wound up bringing in a reference to the largest slice using a subquery in the initial query, and using that column as a filter on the second pie chart.
    I was hoping for a solution from within SSRS itself, but settled on that. I'll leave the question open in the hope someone knows how to achieve the same result from within SSRS.

  • How to extract data from Chart History?

    Dear all, I have read a lot of posts, but still don't understand how to extract data from Chart history.
    Suppose you acquired 1024 points of data every time, then use "build array" to build an array, then send to intensity chart to show, then save the history into a .txt file,  but how to extact data from the file?
    How Labview store the data in the 2D history buffer?
    Anybody has any examples?

    The simplest would be to save the 2D array as a spreadsheet file, the read it back the same way.
    Maybe the attached simple example can give you some ideas (LabVIEW 7.1). Just run it. At any time, press "write to file". At any later time, you can read the save data into the second history chart.
    If you are worried about performance, it might be better to use binary files, but it will be a little more complicated. See how far you get.
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    IntensityChartHistorySave.vi ‏79 KB

  • Mapping Org Chart to a specific role

    Hi All,
    I’m in the process in implementing NAKIZA V4.1 in my company but I’m facing difficulty in one of the requirements, I have two Org Charts configured, first one (main Org Chart) is displayed for all users which it’s rooted by User ID, it’s working fine.
    My problem is with the other Org Chart (Second Org Chart) which is limited to a group of users(HR User) & it’s rooted to Org Chart root, I checked this Org Chart in the secured items & make sure it’s not displayed for all, then went & mapped it to the role related to those group of users(HR), but when I check the user access it’s still no appearing.
    I already remove the user name and password from connection string, We are using Single sign-on with logon tickets (Portal integration).
    Example:
    There are two Org Chart,
    One called Org unit Hierarchy Organization Structure ( Root ) and I need it to display it to the HR user by mapping it to HR role, in the authorization Tree I make it as Green color and  mapped it to the HR role.
    Second one called  Org. unit  Company Structure  (User Record ) and I need it to display to the Manager user by mapping it to Manager role, in the authorization Tree I make it as Red color and  mapped it to the Manager role. (working fine).
    When I log in as Manager I can see the Company Structure org chart, however when I log in as HR it does not shows me the Organization Structure,  it shows me only  Company Structure org chart.
    I’m not sure where to check more, any directions are appreciated.
    Regard.

    Hi Rami,
    Kindly provide cds.log.Based on my experience this is related on new session and to many browser open the same time.
    Please inform technical portal to change the IView configuration from http://nakisaportal/OrgChart/default.jsp to http://nakisaportal/OrgChart/logout.jsp .
    Regards
    Mohamad Firhad Samuri

  • Apex flash Chart not working after upgrade to #5.1.3

    Hi,
    I am using oracle apex 4.0,database11g and i upgraded the apex flash chart to #5.1.3, also i am using the partial page refresh (html_PPR_Report_Page) in every 5 sec time interval.
    However after about 5 seconds the charts dissapear and never come back unless you manually refresh the browser.
    Could y please suggest.
    Regards,
    Saroj

    Like junkyardheart, mine cleared up.  After talking with tech support for 2 to 3 hours trying all kinds of things they opened a ticket to have a technician checkout the local cell tower.  The next day tech support called me and I told them it was worse.  Then they had started looking at my past reports on "Mark the Spot" app and open several more tickets and had a crew checkout the area.
    I received a call two days later and they had two bad cell sites.  With the next day being Saturday they had the whole weekend scheduled as an outage to fix the problems.  By noon on Saturday everything was great.
    I even checked out my download speed using a few speed apps and I was pulling 2-3 Mbps down and pushing 1+ Mbps up.
    I think the update exposed a serious problem that had existed for a while.

  • Change color in chart series (Chart Controls)?

    Does anyone know if it's possible to change the color within a series in Microsoft Chart Controls?  My data is X = test time and Y = response time using a column graph.  Currently when the test to collect response time fails it does not
    record a numerical value and when graphed it appears as though the response time was minimal.  I want to make it stand out when a failure occurs, for example to draw a large column and change the color to red (other values are in blue).
    I don't have much experience using Chart Controls yet.  I know you can use an alternate color with a different series of data but it doesn't appear you can change it from within. 
    This is my chart series (when a test fails, the response matches "" and not $NULL):
    [void]$chart1.Series.Add("ResponseTime")
    $chart1.Series["ResponseTime"].ChartType = "Line"
    $chart1.Series["ResponseTime"].BorderWidth  = 1
    $chart1.Series["ResponseTime"].IsVisibleInLegend = $true
    $chart1.Series["ResponseTime"].chartarea = "ChartArea1"
    $chart1.Series["ResponseTime"].color = "#0404B4"
    $DATA | ForEach-Object {
    If ($_.RESPONSE_MS -eq "") {
    $chart1.Series["ResponseTime"].Points.addxy("FAIL",9999)
    Else {
    $chart1.Series["ResponseTime"].Points.addxy( $_.TIME.Remove(5) , ($_.RESPONSE_MS)) }
    I tried changing the color within the if/else but the first .color value it picks up will be used throughout. 

    Hi Tickermcse76,
    To create a new line chart, please refer to this script:
    function New-Chart
    param ([int]$width,[int]$height,[int]$left,[int]$top,$chartTitle)
    # create chart object
    $global:Chart = New-object System.Windows.Forms.DataVisualization.Charting.Chart
    $global:Chart.Width = $width
    $global:Chart.Height = $height
    $global:Chart.Left = $left
    $global:Chart.Top = $top
    # create a chartarea to draw on and add to chart
    $chartArea = New-Object System.Windows.Forms.DataVisualization.Charting.ChartArea
    $global:chart.ChartAreas.Add($chartArea)
    [void]$global:Chart.Titles.Add($chartTitle)
    # change chart area colour
    $global:Chart.BackColor = [System.Drawing.Color]::Transparent
    } #New-Chart
    New-Chart -width $width -height $height -left $left -top $top -chartTile $chartTitle
    [void]$global:Chart.Series.Add("Data")
    # $global:Chart.Series["Data"].Points.AddXY($(get-date), $($ht.Values))
    $global:Chart.Series["Data"].Points.DataBindXY($ht.Keys,$ht.Values)
    #$global:Chart.Series["Data"].XValueType = [System.Windows.Forms.DataVisualization.Charting.ChartValueType]::Time
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.Format = "hh:mm:ss"
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.Interval = 1
    #$global:Chart.chartAreas[0].AxisX.LabelStyle.IntervalType = [System.Windows.Forms.DataVisualization.Charting.DateTimeIntervalType]::Seconds
    $global:Chart.Series["Data"].ChartType = [System.Windows.Forms.DataVisualization.Charting.SeriesChartType]::Line
    #$global:chart.Series["Data"].IsValueShownAsLabel = $false
    Reference from:
    http://poshcode.org/1205
    To change the chart color, please refer to this script:
    Charting with PowerShell
    I hope this helps.

  • Chart Web Part to not plot zeros on a line graph

    Hi all,
    Is it possible to not plot zeros on a line graph?
    I have a line chart with days of the current month along the x-axis and a value on the y-axis. I have a series representing a forecast as a line that will show what the values along for the whole month should be and a second
    line chart series representing the actual. This tells the reader how the actual is tracking against the forecast. The data is based on an excel table.
    Currently when the latest value is set the line skews back to 0. I don't want this shown, I just want it left blank. On excel you can change the zeros to na() and the line graph will not plot, however, if I leave them as na() in the source data, the whole
    column wont be imported in the chart wizard.
    Any ideas?
    Thanks
    Andy

    It's true -- the RangeBar chart type only has two field options (X and Y) while the RangeColumn correctly has an addtional Y field. The RangeBar chart should obviously have two X fields if it's supposed to plot a range, as the name and example image indicate.
    Neither this thread or the one linked has led to an answer. Can this be fixed?

  • Chart x scale update problem

    LabVIEW  8.5.1
    Sweep Chart Problem
    The x scale values do not update until after the 2nd sweep.  The red line cursor gets to the end of the sweep and starts the next, but the scale numbers do not update until the next sweep starts.
    It appears to be a problem with the chart, since it happens with any vi with a sweep chart.  I've used versions 6 through 7 for years and never seen this.  I've only recently moved to a new job with a new machine and version 8.5.1., so I'm not sure what to try.
    I've included a simple example.
    Thanks much,
    JSC321
    Attachments:
    Chart Sweep Scale Update Problem.vi ‏32 KB

    You have a typical race condition!
    There is no data dependency between the property node and the while loop, so in your case the loop starts executing first and the property node starts slightly later, immediately erasing the first point. Execution order is not defined.
    All you need to do is add a data dependency, e.g. as with the error cluster in the image. This forces the property node to complete before the loop is allowed to start.
    (Execution order is enforced even if the wire value is not even used inside the loop )
    Try it!
    Message Edited by altenbach on 12-23-2008 11:08 PM
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    HistoryRace.png ‏10 KB

  • How to set waveform chart to start data since beginning of run

    Solved!
    Go to Solution.
    Attachments:
    TCs.vi ‏106 KB

    You need to check the update mode of your chart.
    Strip Chart—Shows running data continuously scrolling from left to right across the chart with old data on the left and new data on the right. A strip chart is similar to a paper tape strip chart recorder. Strip Chart is the default update mode.
    Scope Chart—Shows one item of data, such as a pulse or wave, scrolling partway across the chart from left to right. For each new value, the chart plots the value to the right of the last value. When the plot reaches the right border of the plotting area, LabVIEW erases the plot and begins plotting again from the left border. The retracing display of a scope chart is similar to an oscilloscope.
    Sweep Chart—Works similarly to a scope chart except it shows the old data on the right and the new data on the left separated by a vertical line. LabVIEW does not erase the plot in a sweep chart when the plot reaches the right border of the plotting area. A sweep chart is similar to an EKG display.
    From the help menu:
    The waveform chart maintains a history of data, or buffer, from previous updates. Right-click the chart and select Chart History Length from the shortcut menu to configure the buffer.  The default chart history length for a waveform chart is 1,024 data points. The frequency at which you send data to the chart determines how often the chart redraws.
    Attachments:
    resp2.jpg ‏36 KB

  • Chart Axis Position

    Hi there,
    I'm wondering how I can fix the vertical axis of a chart into
    position. I have 4 charts that are vertically aligned. When the
    chart labels of one get larger than than the rest of the labels the
    chart resizes to make more room for the label. When this happens it
    throws the charts out of alignment. This is a big problem for me as
    the 4 charts share the same X-axis and I only have labels turned on
    for the bottom chart. The chart type is a linechart and the axis
    are both of linearAxis type. I have tried the verticalAxisRatio
    property of the lineChart but this has a rendering problem and
    tends to chop of part of the labels. Im wondering if I can
    explicitly fix the position of the vertical axis so they won't
    move.
    Thanks in advance.
    Tim

    Wow, I tried so many things (even tried the Scope and Sweep chart mode) but some settings must have been different then because the scope chart mode does it this time! Thanks a lot.
    Ben64

  • Chart update slows down...

    Hello,
    I've got a transparent picture control over a chart. The picture is
    used to place a horizontal line across the chart using a mouse click.
    It all works fine until the chart is filled and it has to start
    scrolling. Then it really slows down.
    If I move the picture so that it isn't overlapping the chart then the
    chart runs at a good speed again.
    Is there anyway of speeding things up? Will the chart history length
    affect this?
    Regards,
    Adrian.
    PS - My PC is a 600MHz Athlon.

    > I've got a transparent picture control over a chart. The picture is
    > used to place a horizontal line across the chart using a mouse click.
    >
    > It all works fine until the chart is filled and it has to start
    > scrolling. Then it really slows down.
    >
    > If I move the picture so that it isn't overlapping the chart then the
    > chart runs at a good speed again.
    >
    Charts, like most other controls have more work to do when overlapped.
    An overlapped chart can redraw just the small area where the new data is
    drawn until it fills up and starts scrolling. At that point, the chart
    must redraw the entire chart. One thing you can do is change the update
    mode from strip chart to either scope chart or sweep chart. You can
    also make the overlay be optional, so that
    it doesn't pay the overlap
    price except when it needs to.
    Greg McKaskle

  • Regarding Bar Chart

    Hi ,
        This is prasad new to sap xmii.In Xmii i want to display two bar charts.
    First bar chart should display by selecting the dropdown.It works fine by displaying the chart.And the next bar chart should display on clicking the Units of first bar chart.
    But it is not happening like that.To display the second one first we have to click the legend on the right side of the chart and then clicking on the chart displays the second chart.
    I would like to display the second bar chart by clicking the first bar chart  unit directly without clicking on the legend.
    Can any one give the necessary direction on this will be helpful for me
    Thanks,
    Prasad.

    In situations like this, since the ChartSelectionEvent in the chart area is visually independent of the SelectionEvent in the legend, I prefer to have both events declared.
    In the ChartSelectionEvent function you can use the .getLastSelectedTag() method to determine which associated legend 'pen' the user selected by clicking on the bar.  You can then use this number to call the .setSelectedPen(iPen); method, which will do two things:  highlight the legend item for the bar they've selected and also fire the SelectionEvent for the iChart.
    By doing this you have script access to everything you need about the particular bar they've clicked as well as the pen related information.  It also provides the visual correlation so that the user doesn't get confused by clicking on a bar in the chart for drill-down but still seeing the legend indexed to a different pen.
    fun ction BarChart_ChartSelected() {
         var myChart = document.BarChart.getChartObject();
         var selPen = parseInt(myChart.getLastSelectedTag());
         if (selPen > 0) {
              myChart.setSelectedPen(selPen);
    Regards,
    Jeremy

  • Charts - Display Top Percent and Legend Layout Questions

    I have two pie charts with problems. In one, I've set the Options Legend Layout to Both, Top Percent to 85, and the legend displays the top 85 percent with a count for each group, but the total of the count column is still the grand total, not the total of the 85 percent.
    In the second pie chart, I have the same settings, Top Percentage and Options Legend Layout Both, but the count displays as dollar values, eventhough the field is a date field.
    Does anyone know how to correct these problems?
    Thanks!
    Robin

    hi Robin,
    you've got 2 options:
    a) you can use the cross-tab method that i mentioned before...a top N in the cross tab will show a percentage that is based on the whole record set as opposed to the N values...this is different than the chart legend percentage
    b) if you are willing to show the percentage that is based on the whole record set in the chart labels instead, you can  do the following...
    if you have an On Change Of value of "country" and the summary is "sales", then create a new formula called "chart title" that has syntax similar to
    {Customer.Country} +  chr(10) + totext(PercentOfSum ({Customer.Last Year's Sales}, {Customer.Country}))
    now change the chart On Change Of to your new formula. the percentage based on the whole record set will be shown in the chart labels.
    cheers,
    jamie
    Edited by: Jamie Wiseman on Nov 25, 2009 1:34 PM
    Edited by: Jamie Wiseman on Nov 25, 2009 1:35 PM

Maybe you are looking for

  • Why the BANGLA language in firefox 4 doesn't work propoerly?

    When i write anything in Bangle language the language was putting in a wrong disorder...

  • Installation hangs at step 18-Load Java Database Content

    Hi, I am trying to install NW04s WAS. No matter, how many times I uninstall & reinstall(after properly clearing registry entries by running supplied cleaner.exe,stop the Xserver services if running), the installation just doesn't progress at step 18-

  • Creating a Nav Bar in Cs5

    Today I wanted to make a navigation bar for my website using the dreamweaver cs5 trial. I googled  "how to create a navigation bar in dreamweaver" in dreamweaver. I got a large amount of results all of which were confusing.I already have a header mad

  • Cant see a simple video on macbook pro. Please help!!

    I have a macbookpro 17" 2.2 Ghz Intel corei7 with 4 gb ram and from mid 2010 but cant see any video, non youtube, not games, not vcl!! it stops, freeze, and continues. I think it might be ram or graphic card problem... any help please?? I am a poor d

  • Two rectangles showing on screen at all times

    When I booted up a week ago, my screen came on and showed a solid grey rectangle (like the look of a new page in Word), and a dashed grey rectangle on top of it (in the shape of a new page in Word in landscape.)  Nothing I have done, including reboot