How do i set the time frame of a waveform chart programmatically to be a 30 sec window or a 24 hour window

i'm using LV7.0 and what i need to do is to be able to set the time frame or range of a waveform chart programmatically before i start taking and plotting data. sometimes this window needs to be 30s wide and sometimes it needs to be 24 hrs wide. (in the first reference, i need the chart to fill up with 30s of historical data then the whole chart scrolls with each new data point). the data acquisition records data at a rate of once per second. i've tried to use the chart properties of XScale.offset, XScale.Range.Minimum and XScale.Range.Maximum but no matter what i do the time-stamp on the x-axis is always "00:00:00 PM" and "MM/DD/YYYY" even though values are seen being plotted on the right side of the chart as expected.
Attachments:
BX0265 ShelfLife DAQmx.vi ‏120 KB

Okay, there seems to be some confusion here -- the X axis values are of type double, but they can be represented in the HH:MMS MMD:YYYY format if you want in which case it interprets the floating point as the number of seconds since 6pm Dec 31, 1903. 
You can programmatically set this value using the XScale.Minimum and XScale.Maximum properties, but note that if you wire a waveform to the chart after setting these values the t0 parameter will override what you set using the property node for XScale.Minimum.  If instead you leave the t0 parameter empty you can use the XScale.Offset property and wire the same value in that you wire to XScale.Minimum.  Changing the amount you add to XScale.Minmum to obtain what you wire into XScale.Maximum will determine the time window size.
Doug M
Applications Engineer
National Instruments
For those unfamiliar with NBC's The Office, my icon is NOT a picture of me

Similar Messages

  • How do you set the size / bounds of a waveform chart at run time?

    I have a plot area that I would like to fill with as many waveform charts as the user specifies (at run time). The "bounds" property is read only and I haven't noticed an additional "size" property for a waveform chart as there is for a button. Is there a way to set the size of a waveform chart at run time, and if not, why not? (Labview 6.1)

    Look at it a little more carefully, I suspect that your assumption is only half wrong. The property does only resize the plot area--LV resizes the frame to fit the resized plot on it's own.
    You'll need to bear this in mind when you're figuring-out what size to set the property to.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How do you set the time period on IMAP email accounts (razr maxx)

    Hi Guys -
    Does anyone know how you can set the time period that the stock email will keep the already downloaded messages for IMAP email accounts?
    Mine never seems to show more than a couple of days worth at a time. I'd ideally like to be able to see at least 2 weeks worth of messages without needing to download them again!
    On other phones I've had there was a setting in the menu, but either I can't find it...or it's not there. I've found the setting for how OFTEN it checks the accounts, but not the setting I am seeking.
    Your help is appreciated!
    Best Wishes for the Holiday Season.
    -Rich

    Hey Rich.  Once in 'settings,' there should be a "days to sync' under the 'data usage' section.   You don't have that?

  • How do you set the time for this forum??? Not in nerd pleas

    how do you set the time for this forum?

    There were problems with the correct time display for postings, and based on another recent post this doesn't seem to have been fixed. My advice... don't worry about it.

  • TS4020 how do i set the time my iCloud account to Sydney Australia

    how do i set the time my iCloud account to Sydney
    Cheers

    Hi...
    On a Mac for the time zone, open System Preferences > Date & Time > Time Zone
    For an iOS device, tap Settings > General > Date & Time > Time Zone

  • How do I set the Time of Day that a sync will occur?

    Like a lot of Aussies I have an ISP plan that has Peak/Off-Peak hours. What I want to do is have my iTunes do all it's sync/podcast updates at a certain time (say 4AM) when I'm not doing anything else, it's taken from my Off-Peak monthly usage total and leaving me both free bandwidth and Peak time capacity for the month.
    I notice I can set my Podcast updates to check daily, but how does one set the time of the day?

    I believe that when it has attempted to download (or actually downloaded) it automatically schedules the next attempt after the time period. To make it execute your downloads at 4AM, get up at 4AM once and force it to check for downloads, it should schedule the next attempt at 4AM the next day, then the following, etc.
    I would schedule the first download early in the offpeak hours so that if there is any drift in the time, it wouldn.t run into the peak hours.

  • How do I set the time in icloud mail?

    I have tried to set the time zone in my account. It show CST, but is 2hours behind time and I cannot get it to change.

    Hi...
    On a Mac for the time zone, open System Preferences > Date & Time > Time Zone
    For an iOS device, tap Settings > General > Date & Time > Time Zone

  • How can I set the time in Time-based Access control ??

    I live in Denmark, where we use the 24 hour system.
    So I want to set the time-based access control to from 7.00 in the morning to 2.00 at night, but every time the Timecapsule says wrong time format, I can use the night time 23.59, but thats not late enough.

    Set two controls.. 7 to 23.59 and 00.01 to 00.20
    This is common as the control cannot handle times longer than 1day.

  • How do you set the time and date for the fax on the HP Office Jet 4622 All-in-one Printer?

    I installed the HP Office Jet 4622 All-in-one Printer and everything works wonderfu.  However on the test page for the fax the time and date are showing Jan-00-00 00:00AM.  I do not know how to change the date and time.  Please help.  Thanks.
    This question was solved.
    View Solution.

    Use the Setup (wrench icon) button on the front of the printer to look through the settings menu to set the printer time and date.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • How do i set the time on the clo

    Sorry i know it sounds dumb but i couldnt figure out how to change the date or change the current time on my mp3 player
    thanks

    It's easy, as long as you don't try to do something intuiti've like change it from the same place you display it.
    Goto Extras --> Date & Time. When the date/time is displayed, click the menu (lower right) and pick "Set Time".
    Metroplex wrote:I have the 8 gb zen microphoto, can someone please tell me how to change the time. Im sure you guys get dumb questions all the time, but i've had this thing for a few days now and cant find the info anywheres thanx in advance....
    Message Edited by Metroplex on <SPAN class=date_text>07-3-2006<SPAN class=time_text>2:29 PM

  • How can I set the time between how long my phone plays a text msg ringtone if I don't respond the first time?

    If I don't respond the first time, how can I set how many times/seconds it plays the next time until I respond?

    Actually, there is!
    http://www.apple.com/feedback/iphone.html

  • HT201250 How do I set the time of day and interval I want  Time Machine to perform backup?

    Time Machine keeps starting its backup when I'm using my mac.  I would like it to do its backup overnight - when I'm not using it.  How do I set this?  I'd also only like to do backups once a week.
    Can I also configure it to perform backup on an external hard drive as well as the internal hard drive?

    Check out Time Machine Tips 

  • The time on my firefox browser is not correct. How do I set the time zone for Firefox? It is not the same as my mac computer setting?

    I am using a hotmail acount with bigpond. The time that it says I sent an email is out by 11 hours... can you please tell me how to set my firefox browser to be at the right time? My mac is set at the right time zone...

    I was able to do what you suggested, and the time listed in the code field was correct. However, when I sent a test email to myself on the bigpond site, it said it was received at 8:04am when it was actually 18:04. So there is an error of more than half a day. I have a snapshot of the screen if that is helpful. I asked Bigpond about this and they said it was a Firefox problem... Please advise.

  • I have an A2300 camera and don't know how to use it. How do you set the time/date.

    I am a novice at this.  I can take pictures, buy can't find them. Does the cd that came with the camera show how to 
    operate the camera. What is the function key for and how do you use it.
    Any help would be appreciated.
    Thanks,
    Tross.

    Hello Tross!
    When you take images, provided that you have a memory card inserted, they are saved direct to the card.  They can be accessed in camera by going into the Playback menu.  There is a CD that has an instruction manual on it that does show you how to use the camera.  If you do not have this, you can download the manual here.
    The Function/ Set button serves two main functions.  One, it displays a small menu where you set the shooting mode and image quality options.  Second, all setting that need to be confirmed are done with the Function/ Set button. 
    Changing the date and time settings
    1. Press the Menu button.
    3. The Tools Menu appears.  Go to Date and Time.
    4. Next, operate the date and time screen:
     Set the year, month, date, and time.
     Change the year, month, and date.
    - Set the daylight saving time (one hour is added to the current time).
    5.  After the settings are completed, press the ) button.
    We hope this helps answer your questions and that you enjoy the camera.  If you need to contact us immediately, please feel free to contact us through the web site.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • How do you set the Poster Frame to display on a webpage with Quicktime Pro?

    This is how the embed code is installed in HTML on my webpage. The Poster Frame image will not display when browsing the website in iPhone nor will the image display on the cached 8 image browser window in Google Chrome internet browser. Is there a way to include the poster frame or JPEG image in the embed code?
    embed -- start
    width="853" height="496" src="htp://example.com/mymovie-Desktop.m4v"
    pluginspage="http://www.apple.com/quicktime/download/" type="video/quicktime"
    embed -- end
    Message was edited by: pasokon108

    Mark, there's a very basic .NET method on every nullable object:
    GetValueOrDefault
    EDIT: Now I see...please avoid duplicating
    questions...
    To be clear:
    Put GetValueOrDefault on every nullable field used inside your 'TotalDue_Compute' sub
    You don't need to define 'TotalDue' as Nullable anymore

Maybe you are looking for

  • After Hard Drive Erase...Macbook Pro Won't Boot

    Hi, So I was trying to do a fresh install of OS X on my 15" Mid 2012 Macbook Pro (Modified with a 512GB SSD and 16GB RAM). I turned the computer off and booted it into recovery mode.  Then I went to Disk Utility and erased the Macintosh HD partision.

  • Calendar (iPhone & iPod)

    Hello all I have a 3g iPhone & a 2nd Gen iPod I don't have a big problem In our Calandars we can set it up to have different groups within the calandar Eg: •All •Calandar •Medical •Work •Ect... all with a different colour • "dots" next to each group.

  • Select data from multiple servers(instances)

    Hi All, Is possible that we can login to SQLPLUS of one server and be able to select data from other servers. For MSSQL server we can use opendatasource but I don't know if in ORACLE we can get the data from other servers by login to SQLPLUS of one s

  • ComboBox in a Matrix

    Hi, How do I build a Combo box in a matrix? (C#, (or VB)) I have a empty matrix which the user key in data; so after row 1, row 2 has to be created with combo box, etc. Thank you, Rune

  • Connect from SAP gateway to RFC server failed - Java StandAlone app X SAP RAC System

    Dears, I'm developing a Java application (RFC SERVER) with JCo3 and I need to connect to SAP RAC system. I have configured the TCP/IP connection via transaction SM59, but when I try to start my server I face the error below (dev_jco_rfc.trc): =======