Adjust time scale in chart

Hi,
I am trying to write a VI that can adjust the time scale in a chart. Wired 2 number controls for the x.scale.max and x.scale.min. With only these two controls, the display flashes. Had to add another button control to only read the two number controls to be read once at a time. But the display still flashes back to 0 when updating, even briefly.
Wondering if there is an elegant way to control the time scale without the extra button or even a better way.
Also would love to know if there is a better way to control the y-scale.
Are there examples that illustrate controlling of x-scale and y-scale programmatically?
Please see the attache VI.
Thanks,
Rut.
Attachments:
Scales11.vi ‏28 KB

Thanks for the replies.
To use the Event Structure, I have to make lots of changes on the real program. This VI is only a test on the scaling. The mechanic change did work better.
I de-selected the Auto Adjust Scales from Adavnced. But the flashing is still present.
The X Scale button is still needed. Without this button, ie, the X Scale.Range:Maximum and X Scale.Range:Minimum controls are directly connected to the corresponding properties, the display flashes all the time (please see the attached VI without this button; the previous VI has this button). With the button to ensure only one time control, the flash is short and acceptable.
My question is whether there is method that I don't need the X Scale button at all and only need to have some property combination that works properly. Or I have to live with it. Thanks.
Rut
Attachments:
Scales3.vi ‏25 KB

Similar Messages

  • Gant Chart time scale on quarterly basis

    Hi All,
    My requirement is display of Gant chart time scale on Quarterly basis. Currently it is coming month basis.
    Can you please suggest me settings.
    Thanks in advance
    Regards

    in CJ2B select
    Settings > options
    and adjust graphic as you required and save the node while exiting..

  • Can't adjust the default time scale when creating a new appointment in Outlook 2010

    Good Afternoon, I have found a question on these community boards that propose an issue that I am currently experiencing. The answer; however, was not the solution for me. I used the same name as the original post and will add the original text as it is
    exactly what I am experiencing.
    "When creating a new appointment in the month view Outlook 2010, the default time scale or duration is 2 days.  I tried resetting the view, adjusting the time scale, and creating a new profile.  It only seems to happen when creating the appointment
    in the Month view.  ???  Day and week view work fine and appointment can be created w the standard 30 minute time scale.  But the time scale in the month view although says 30 mins, it creates appointments in 2 day durations."
    This is exactly what happens to the user I am assisting. When in "month view" double clicking the day will bring up a new appointment with the times within the same day. If you click the "new appointment" button in the ribbon it
    sets the end time to the following day. This only happens in the month view every other view works as it normally should. I have tried it several times being sure multiple days are not selected. It still gives me an end time for the following day. I have reset
    the view, changed the time scale but nothing seems to bring it back to the default same day appointment. Any ideas?
    Thanks for any assistance you can provide.

    It is a default in Outlook 2010 in month view.  The "time scale" selection is greyed out.  Very frustrating.  Everytime I select "New Appointment," a duration of 1 day is automatically selected; midnight to midnight.  I end up doing
    most appointments twice because I forget to change to end date back to the day of the appointment.  "New meeting Request" works fine.  So does "New All Day Event" when you deselect "All Day Event."  I can't see how this default behavior
    provides optimal results under any circumstances.  Very frustrating.

  • Question about waveform chart time scale

    Hello,
    I have question regarding to time scale on my chart, I want  it to show the actual measured time, for example  from 0-30 seconds, but instead my minimum value is 302654789854 . Please help me to fix it.
    Regards ,
    Stella Deheryan

    You can modify the way the time is displayed on the axis by right clicking the chart and selecting properties. On the display format tab, select relative time. This should show the X-axis scale as HH:MM. Or pick any other type of formatting you want.
    Best Regards
    Michiel
    Applications Engineer
    NI Belgium
    http://www.ni.com/ask

  • Creating chart with "Time Scale" on group axis

    Hello,
    I am using Visual Studio 2005 with Crystal Reports (ver 10.2) and I would like to create a report with a "Date axis line chart". The group axis of the chart should act as a timeline, so I selected "Show Time Scale" in the general options of the group axis. I'll give you a short example of the input data:
    It is just a simple table with 2 columns. In the first column there is a timestamp (X/group axis), in the second column an integer value (Y/data axis) that represents a status of something:
    col1. . . . . . . . . . . . . . . . col2
    2012-01-01 00:00:00 . . . . 2
    2012-01-01 01:00:00 . . . . 1
    2012-01-01 09:00:00 . . . . 3
    2012-01-02 12:00:00 . . . . 1
    .... and so on.
    As you can see, the differences between the timestamps are not equal. Therefore I have selected the "Time Scale" option to get the values placed correctly on the timeline. When I execute it, the line is shown correctly, but the group axis has just one label per day. I would like to have one per hour, but I did not find any way to realize it. Is it possible to change the division of the group axis? In the tab "scales" of the options dialog you can only select "Day", "Month" and "Year" for the base unit. Is there any way to change the base unit from day to hour?
    Thanks,
    Jan

    This being more of a design question I asked the CR design guys for some guidance / comment. (BTW., you posted to the correct / prefered forum here as you're using the bundled CR). Anyhow, the answer I got is not particularly encouraging.
    We looked at the stand-alone / full version of CR but only confirmed that  there is no other options than Day, Month or Year for this type of chart - even in the full CR designer.
    Suggestions that did come up:
    - Create a SQL Query that generates the missing data. Unfortunately, it would be up to you to figure this out...
    - Use the subreport technique to fill the missing time. ( I have attached a sample report with some explanations )
    If you have more questions, I'd recommend creating a thread in the [SAP Crystal Reports Design|SAP Crystal Reports, version for Visual Studio; forum. Quote this thread and see if they can provide further assistance.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup
    Got Enhancement ideas? Try the [SAP Idea Place|https://ideas.sap.com/community/products_and_solutions/crystalreports]

  • How to adjust the scale of a chart between 2digits?

    hi,
    I made my charts for different processes that I wanted,I just need to adjust the scale of a chart between 2digits now,I need a method which is possible to be applied for both X,Y.
    thx,

    forexample:
    for my Y:
     I need it to be set from -1000 to 1000 (as it is my current)
    for my X:
     I want it to be set from 0 to 80
    and also I want my X,to be work as seconds(from second 0,till 80seconds after),so I need it to follow the period of 1seconds between it's scales,
    thx,

  • Problems with auto-scale vertical charts when change time zones

    I have built an application that utalizes Vertical Strip Charts.  Basiclly, XY Charts that are filled with 100 points of data each loop cycle.  To get the Time portion of it I use the Get Dat/Time in Seconds Function and then typecast it to a double.  I have built the application and installed in on several PC in my same time zone no problem, but when I send it to someone in the UK on GMT time the strip chart does not update correctly.  The scaling is off.  The interesting thing is the most recent time on the chart is correct and is updating correctly, but the time at the top of the graph is not correct.  Any suggestions or thoughts would be appreaciated.

    Can you post a copy of this application, or an example that would demonstrate this? If you change your timezone on your computer to UK's timezone and restart LabVIEW (which is necessary for the change to take affect in LV), do you see this behavior?
    Jarrod S.
    National Instruments

  • Relative Time Scale for X-Axis when creating a Line Graph in CS3?

    Is there a way to get the APPROPRIATE RELATIVE scale for the X-Axis (Category) when you're using dates?
    Example:
    If this is my data set:
                        Group A          Group B
    01/03/99                1                5
    01/04/99                11                3
    01/05/99                6                12
    11/27/07                63                54
    If I plot this in Xcel, by default, each date (x-axis) will be spaced the same distance apart. However, there is a checkbox to "time-scale" the X-Axis which will place the dates relative to one another. In other words, if we're talking about a bar graph, the first three bars would be close together on the left side of the chart, and the 4th bar would be waaaaaay on the right side of the graph.
    So, below, if 'x' is a bar, I keep getting this in CS3:
    x     x     x     x
    I want to get this:
    x x x             x
    Get it?

    Is there a way to get the APPROPRIATE RELATIVE scale for the X-Axis (Category) when you're using dates?
    Example:
    If this is my data set:
                        Group A          Group B
    01/03/99                1                5
    01/04/99                11                3
    01/05/99                6                12
    11/27/07                63                54
    If I plot this in Xcel, by default, each date (x-axis) will be spaced the same distance apart. However, there is a checkbox to "time-scale" the X-Axis which will place the dates relative to one another. In other words, if we're talking about a bar graph, the first three bars would be close together on the left side of the chart, and the 4th bar would be waaaaaay on the right side of the graph.
    So, below, if 'x' is a bar, I keep getting this in CS3:
    x     x     x     x
    I want to get this:
    x x x             x
    Get it?

  • How to set the correct time scale of VI ?

    I created a VI to display waveforms on the waveform graph. The problem is the time scale of the VI is always the year 1904.I tried to select absolute time in Property options of the waveform, but it remained the same. Can anybody help me with this? Thanks.

    > The x-scale is always 01/01/1904 even after I selected the 'absolute
    > time' option from waveform chart properties. If I add 2004 as offset
    > of x-scale as suggested by the previous post, the waveform of the
    > signal cannot be displayed, the system think it is still running in
    > 1904.Could you give me some further help?
    >
    Your description doesn't give enough information to pinpoint the
    problem, so I'll list off a few things that could be going on.
    The graphs and charts accept many datatypes. If you are using the
    waveform, display it on a regular waveform indicator and see what the
    timestamp and deltaT are. If these are correct, then the graph should
    be able to display things with no further changes except that you may
    need to turn on X Scale Autoscaling so that it will zoom and shift to
    show the plotted data. Charts will shift, but by default will not zoom
    in, and it might make sense there sometimes too depending on the delta T
    and amount of data plotted.
    If the timestamp on the waveform is incorrect, then it is much easier to
    construct the properly marked waveform than make the graph add to it to
    label the waveform's time differently.
    If you are not using the waveform, then you may be using a cluster of
    X0, dX, and Y array wired to the graph. This is very similar to the
    waveform, and again, it is better to add offsets to get the X0 to
    display correctly on a numeric. You can extract this number or display
    the cluster in an indicator, then format the numeric to display absolute
    time.
    If you are simply wiring the Y array, then LV will construct the X
    values based upon the number of points beginning at 0 and incrementing
    by one by default. When displayed as absolute time, this will default
    to midnight Jan 1 2004 plus an offset based upon your timezone. In this
    case, since there is no X information being piped into the graph, it is
    better corrected by going to the graph properties for the X Scale and
    setting the X Offset to the seconds between now and 1904. This is a
    constant you can compute when your program starts up or you can use a
    calculator, whichever is easier. You will also likely want to set the X
    Multiplier to the deltaT between successive points. 0.001 for 1KHz, 1
    for 1Hz, etc.
    Finally, if these suggestions don't make sense or don't help, you might
    want to explain more about what doesn't work.
    Greg McKaskle

  • Show Time Scale

    Hi,
    Just evaluating CR 2008 having used CR 2008 Basic through Visual Studio 2008. The reason for considering the upgrade is to benefit from the enhanced formatting abilities in the full version.
    My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?
    Secondly, is there any way to change the scaling and date format of the X axis when scaling by time e.g. is there anyway of changing the scale to monthly and showing the date format as mm/yy. Also if I wanted to view the chart using a yearly scale is there any way of doing this and setting the date format to yyyy.
    Kind Regards,
    Mark

    >
    Raghavendra Gadhamsetty wrote:
    > Did you try adding the formula year(datefield) in X axis by removing the existing datefield?
    >
    > Regards,
    > Raghavendra
    Thanks for the answer regarding dates. I'm still awaiting an answer on the following part of my question:
    "My problem is that I am trying to configure a stacked area chart to show various related financial figures over the period of a year or more. My problem with a regular stacked area chart is that because of the large number of data points (daily) the X axis becomes far too chaotic with the large number of labels. The obvious option seems to be to use the "Show time scale" option in axis settings, however when you chose this option the "Date axis area" chart type is automatically chosen and this chart type doesn't seem to allow stacking. Can anybody help?"
    Thanks in advance for your help.
    Kind Regards,
    Mark

  • Time Scale Customizing - To Omit Chunks of Time

    Hello,
    After reading an existing post titled "Time scale during non working time" it's been confirmed the user cannot remove particular periods of time from the gantt chart on 2013, (a shame).
    I need to do this as the project I'm to continue on had a hiatus for almost a year due to a colleague leaving the company. Therefore to print the schedule there are several pages in between start and finish dates with horizontal lines which is wasted space/paper.
    My next thought was to convert to PDF and simply omit these "wasted" pages in between for a more concise document.
    Is this possible within the view tab to omit these pages or do I need to print 1st page, last page then combine the 2 in PDF?

    Yacob - The timescale in Gantt View is designed to show all calendar days / weeks / months / etc. From your question, you want a concise version of your entire schedule.
    Option 1: In View tab, click Entire Project in Zoom group. This will fit the entire plan within your screen. Then, copy the Gantt Chart as a picture by using Copy ... Copy Picture in Task ribbon
    Option 2: Install a PDF printer driver (just google). This will install PDF driver as one of the printers. In File backstage, choose Print. Select the PDF printer and select page setup. Change the scaling radio button to "Fit to 1 pages wide by 1 page
    tall"
    Sai PMP, PMI-SP, MCTS Project, MVP Project

  • Different positions of time steps on Time scale for multiple plots of same signals

    Hi,
       I am facing a strange behavior of graphs of time-domain signals in "Data View". I am using DSA devices to acquire signals. I am plotting three analog voltage inputs (attached to Ch0, Ch1 and Ch2 of same DSA device). The vertical scales of these three signals should be same and follow the maximum signal level. So I plot these three signals on one "Display" in "Data View" and duplicate three such displays. For first "Display1" I change interpolation such that only first signal (Ch0) is visible. On the second "Display 2" I change interpolation such that only 2nd signal(Ch1) is visible. Similarly third signal(Ch2) is displayed on third "Display 3". Now for these three displays, the time scale is not the same. The starting point is 0 and is aligned among these three displays. The end points of time axes are different. For example these are 989.966m, 990.391m and 1.00034 for 102400 points acquired at sampling rate of 102400  Samples / second. Similarly the major grid lines are also not aligned among these three graphs when we move towards end of time scale.
        I have tried changing "Time Stamp Type" to "Relative to Ch0" for all three displays but this problem remains same. I tried my best to work around it but could not succeed. I tried to save the signals and then plot after reloading while taking same time information from column 1. This solved the problem of time axes but now auto-scale stops working on vertical scales whenever signal amplitudes goes down (The scale does not follow decreasing amplitude of signal but remains fixed).
       Can anyone help me in this matter? I shall be very thankful for an earlier response.

    Hi Vivek
       I need to align time values in all the displays (in Data view). The time values should already be aligned since I am using DSA PCI-4474 which is a simultaneous sampling digitizer.
        I explored it in detail. If I add displays in Data Views while there is no data acquired and save the project then it works fine. However if I save the project after acquiring data and doing some zoon In/ zoom out etc. then I face this problem. Please let me know if there is a way to avoid it.
    Moreover I need a confirmation from you on my following application development:
    I have a simple application of showing 12 analog signals on 12 different graphs placed vertically in aligned position. I have to develop a user interface so that if user wants to display signal no. 1, 4 and 6 out of total 12 signals, he should make selection using check boxes and click a re-draw button. It should result in these three signals displayed as separate graphs aligned vertically and adjusted to fit window size of Data View. Similarly later user can change his selection of displaying signals (from same acquired data) say 1, 3, 5, 6, 8, 9, 11 & 12 and click Redraw button. It should result in clearing of Data view (or opening a new Data View tab i.e Data View 1) showing all these signals as separate graphs which are aligned vertically and resized to fit the window.
    Can I achieve this user interface design using Signal Express only (without using Lab view)?
    Regards
    Mnuet

  • Time scale tool tip

    Hello there!
    How can I create a function to write a tool tip that gives details of the date that the mouse is pointing in the time scale bars??
    All and any help would be appreciated.

    I'm using a ilog elixir gantt chart component and I would like to create a tool tip that would indicate what time is the mouse pointing to.
    This component has two bars the one in the upper side is more generic. Both of the bars in this component indicate time but the one that is on top is more aggregated.
    The mx: tags that I'm using are the flex and the ilog ones:
         xmlns:mx="http://www.adobe.com/2006/mxml"
         xmlns:ilog="http://www.ilog.com/2007/ilog/flex"
    Thank you

  • How to change the time scale on Dynamometer's profile

    I am using LabVIEW 7.0 and running the Dynamometer Kit. I have tow questions:
    1) How to change the x-increment on the time scale? Right now it is fixed at 0.25 minute per mark. Changing 'x-increment' under VI Hierarchy only changes the mark before the origin (0,0). For example, I changed the value of 'x-increment' to 0.1, I get a -0.1 on the x-axis, however, everything else remains at 0.25 increments.
    2) How to save/load the results of the profile? In other words, how would I save the data into files that I can recall later.
    Thanks

    Hi,
    To address your question, are you referring to the attached dynocode.llb files? I didn't see a waveform graph or chart in these files, but I am assuming your x-increment question is pertaining to a graph you are using. To set the marker spacing on the x-scale, right-click on the front panel where your graph is located and select Properties >> Scales. Then, there is a drop down to select the x or y-axis. Choose the appropriate one and deselect Autoscale. You can then set the offset and multiplier options. The multiplier will set the marker spacing (x-increment) on the graph. Sometimes, the waveform graph doesn't modify correctly and you might want to replace it with a new waveform graph instance. Tight-click on the graph, choose Replace and then
    navigate to the Waveform Graph.vi.
    To address your other question regarding saving/loading the profile information, I would suggest looking at the Read From Text File.vi and Write To Text File.vi example programs that are in the LabVIEW Example Finder under Help >> Fundamentals >> File Input and Output.
    Let me know if you have any further questions or if this does not resolve your issue.
    Thanks again and have a great day!
    Kileen C.
    Applications Engineer
    National Instruments
    Attachments:
    dynocode.llb ‏5997 KB

  • Logarithmic scale in Charts - please clarify your prior answer

    I have seen this CRVS2010 Beta2 -  Logarithmic scales in Charts in the forum.
    I don't think the question was clearly answered as I have a graph open in the 2008 Crystal Environment not Visual Studio and
    I see Time Scale, Ordinal Scale and Numeric Scale.
    My boss tells me that Logarithmic scale was in the older versions such a 8.5 .
    What happened to it. Is is available and I just don't see it...??

    Hello,
    Moved your post to the Report Designer forum.
    What that post indicated, because it was in the .NET SDK forum, is that to access the Chart Options is not available through our report engine. Nothing has changed, we've never been able to access those features in an application you write.
    The Charting dll is supplied to us by a third party company called 3D Graphics. For what ever reason either 3D removed it or there were problems reported by us with it and it was removed.
    If you want it back add your suggestion to the Idea Place, top right corner of this page, and if it gets enough votes PM's will look into it.
    Thank you
    Don

Maybe you are looking for

  • Error while executing report RSSDBCHECKDBMRFC in se38 in sap for sap MaxDB

    Hello experts, Let me tell you i do not have more knowledge on SAP MaxDB,  I am getting some back up issue .When i checked the report RSSDBCHECKDBMRFC in se38 i got following error. ERROR: D:\sapdb\programs\pgm  was not found ERROR: Set the following

  • List of Employees through custom security profile - SSHR

    Hi, A coordinator sitting in a region required access to all those employees who are coming in his region. This thing has been done and tested in PUI using custom security profile but can we give the same access to coordinator at Self service level,

  • Meeting place and SRST feature

    Hi all, I am new to Voice communication. So, i need help from you guys. One of my customer one to have cisco Meeting place express on their premises. Basic requirement is - i) Voice, video and document sharing ii) PSTN and PABX integration with the s

  • Single Core vs. Dual Core - Temperature Differences

    Does anyone else notice that CPU temperature is affected by turning off one of the cores using the apple CHUD tools? For me, the extensions report that it's running 15-20C hotter when I'm running single core. The case temperature seems to confirm thi

  • Embedded Linux – mechanism for deploying firmware updates?

    I am considering developing on the Yocto project for an embedded Linux project (an industrial application) and I have a few questions for those with experience with embedded Linux in general -- Yocto experience a bonus. Just need to get an idea of wh