"Read Historical Trend(s)" gives one point too early.

I'm using LV6.0.2/LVDSC 6.0.2. It's my first time using LVDSC.
I'm finding that "Read Historical Trend" and "Read Historical Trend(s)" vis always return a data array with the first point being earlier than the 'start timestamp' input to the vi.
Is this:
1) normal behavior for the vi.
OR
2) due to the fact that my installation of the 6.0.2 updates did not go smoothly (I sometimes get a "secondary dll cannot be found" error msg when I start LV by opening a vi with "Read Historical Trend(s)" in its hierarchy ... no error when the vi is opened when LV is already running.)
NI Support has recommended that I do a complete unintall/reinstall which I'm about to do. I'm just curious as to w
hether the extra early point is due to my poor interpretation of what 'start timestamp' means or my bad installation.
TIA. Donald
=====================================================
Fading out. " ... J. Arthur Rank on gong."

This behavior is by design in the Citadel database's query interface.
The reason is if you drew a graph of the data returned by your query, and had the axis limits set to the start and stop time of the query. If we returned only the first point with a timestamp >= start time, <= stop time, then the graph would imply that there is NO data, or that logging was off, or that the data was bad before or after the end points. That is not true in those cases.
In terms of graphical displays, this is not a problem. You need to set the start and end time of the X-axis, and do NOT choose "loose fit", and do NOT choose autoscaling. The behavior of the graph is easy to configure to get the proper visual look, which will then also include an accurate reflection of the data in the
system.
If you want to eliminate that first value, use the Array Subset function to get the remaining values.

Similar Messages

  • Read historical trend is hanging up after 100-250 consecutive reads

    I have a state machine setup to read historical data for a selected array of tags. I have several different sets of tags that I want to read. The state machine will read data and display a trend for each of the eights tags in the array. The vi works fine on another computer. I have moved to another computer and the read historical trend vi hangs after anywhere from 100-250 total executions of the 'read historical trend vi' that comes with labview. open the file 'my 90hd all stations at once StateMachine.vi' and look at state 3 in the case structure. Inside the file 'read hist data and turn into cluster.vi' is where the program is hanging up at the read historical trend vi. Since the read histori
    cal trend vi is password protected, I can't get inside it to see what is happening. I am running logos 4.4.0.17 and the dsc6.1 updates from feb26 2003. this is on a win 2000 machine. I have also deleted the entire CITADEL database and created a new set of data. This same style of vi exectues on another computer without hanging while reading historical data. I have the state machine setup to auto update the data every 900 seconds and it will hang eventually after so many updates. Any thoughts on fixing would be appreciated.
    Attachments:
    op90_head_all_vi_files.zip ‏1641 KB

    I did not run your example/db. If you say that it happens on one PC but not on another, I guess it depends on a Windows 2000 OS setting.
    You sould make sure Start >> Settings >> Control Panel >> System >> Advanced >> Performance Options >> Optimize performance for: is set to Applications.
    I've seen this before and NI R&D told me that this is maybe an issue in the Citadel 4 interface. However, with the new LabVIEW DSC 7 and the new Citadel 5 this issue seems to be resolved and you should be able to develop a multithreaded application in LabVIEW DSC even with the setting to be in Background.
    Please let us know if the workaround fixes the problem for the Read Historical Trend.vi hang and check out the cool new features in i.com/labview/launchpad.htm>LabVIEW 7, LabVIEW 7 DSC Module.
    LabVIEW Datalogging and Supervisory Control Module Release Notes
    Hope this helps
    Roland

  • Read Historical Trend VIs do not return all of the data between start and stop.

    My Main.vi manually writes data to Memory tags in DSC. If my Main is running, calls to Read Historical Trend.vi and Read Historical Trends.vi sometimes take a very long time (~60 seconds in some cases). In addition, most of the time the last data point from that time period is missing.
    For example, I have a discrete tag that is False before the start time, and goes True and then False again before the stop time. I know that this happens because I can see it in the Tag Monitor. However, when I call Read Historical Trend.vi, only 2 data are returned: a 0 with a timestamp from before the start time, and a 1 with a timestamp just after the start time. There is no 0 with a timestamp befor
    e the stop time, but there should be. If I wait for several and then try again, sometimes the data will be correct. But if I stop Main.vi and try again with the same exact timestamps, the data are returned immediately and nothing is missing.
    I also occasionally get Error -1967390704 occurred at CIT_ReadStringTrace.vi. I'm not sure what causes that, because it doesn't happen every time.
    I am using Labview 6.0.2, DSC 6.0.2 with the fixes, and the latest Logos (4.4).

    Jake,
    We have identified the issue and developed a potential workaround. Please create an email (not discussion forum) request so we can contact you on this.
    Regards,
    Michael Shasteen
    Applications Engineering
    National Instruments
    www.ni.com/ask
    1-866-ASK-MY-NI

  • Outlook displays date of birthdays one day too early in MS Office 2007, 2010 and 2013

    Hi
    We are supporting several clients that has issues with Outlook. Different versions of Windows, Office and different exchange server versions. Some contacts' birthdays
    just "magically" changes to one day too early.  I have done extensive research with no answer. I have experienced this issue personally as early as about 2005 or 2006 with a Windows Mobile PDA.
    Our local time is GMT +2 without daylight-savings. I have checked the settings in Windows (Vista Pro and Win 7 pro
    x86 and x64) and the calendar settings, I have reloaded a couple of pc's, created new profiles, installed new server hardware with newer exchange.  Even tried a few off-the-wall ideas like resetting all views to default.
    Some users' address books are shared, some not. Some uses Apple, Android, BB or Windows phone, some don't.  Some connects through VPN, some don't. Some uses
    AVG, Avast, Eset Nod, Forticlient, Mcafee, etc....
    I have been fighting this problem for months, and can find no conclusive answer that resolves this.
    If I manually open the contact and rectify the date, it will stay correct for a very random time period and then shift
    again.
    I am about to lose a couple of my biggest clients, and probably my job as well, so I need urgent help.
    Please no remarks on OS version, Office version or mobile devices, as this is definitely not the issue.
    HELP!

    Hi,
    Have the users check on OWA, does the issue persist? Please also make sure the timezone of Exchange is also properly configured.
    I'm not an expert about Exchange, I hope this blog can be helpful:
    http://blogs.technet.com/b/fun_with_powershell/archive/2013/04/30/where-is-the-time-zone-property-stored-in-exchange-2010.aspx
    To further dig the problem, rectify the date on owa and drop Outlook for a while(or one day), check the result the next day if the problem will come back.
    Regards,
    Melon Chen
    TechNet Community Support

  • Some calender appointments show one hour too early after sync

    when I sync my calendar from ical to my iphone, some appointments (that are repeated weekly) are shown on time and some one hours to early. This occurs with all apointments dated after november 1st (switch from summerclock to winterclock in Europe). I supposed it has something to do with timezone. I had this problem on my mac as well, so I turned timezone support on, and the problem was resolved. But the problem remains on my iPhone. And strange enough, some appointments are shown correctly on the same time before november 1st, but some of them are shown too early. I use my calender and iCal MobileMe sync all the time and need it for all my apointments. But now it's not reliable.
    Can someone offer help?
    thank you.

    I found this solution on another discussion (http://discussions.apple.com/thread.jspa?messageID=8399991&#8399991) It worked for me!
    On my iPhone I went to Settings, Mail/Contacts/Calendars, All the way at the bottom is a selection for Time Zone Support, it was still listed as GMT-4 which would be correct for DST. I turned Time Zone Support off and then back on again and it changed to Washington, DC (GMT-5). All of the items on my Calendar were then correct.

  • Remember Reminders are firing too early

    Hello all.
    My remember reminders are firing exactly one hour too early. Calendar reminders and alarm clocks are fine but any reminder for a task created in the remember app is one hour premature. This is very annoying. Has anyone else met this and if so how to resolve?
    I just updated to 10.2.1.2941 and hoped it would help but it hasn't.
    Colm

    Hi,
    Bumping this one in hopes!
    This one is a huge show-stopper as _nobody_ will be happy with the potential for losing the terminal three seconds of their adverts upwards of half the number of times they are played!
    Seriously, am I the only one to have noticed this?
    G

  • I can no longer type in unlimited information on my adobe reader in pdf. At one time this was an option, it would give you an icon that would allow you to type in more information. This is no longer an option. What happen?

    I can no longer type in unlimited information on my adobe reader in pdf. At one time this was an option, it would give you an icon that would allow you to type in more information. What happen?

    That is not an option of Adobe Reader, but the way a PDF is created.

  • How do I update a waveform chart with multiple plots one point at a time?

    Hi,
    I am updating multiple plots one point at a time.  That is, every time I update the chart I have a value for one of the plots.  If I put in a cluster with NaN for each of the charts except the one with the data I can only get individual points on the chart.  I would rather have them connected.
    Any clues?  The only thing I can think of is to delay the update and do interpolation between samples - too complicated for me.
    Thanks

    Are the points within a given plot equally spaced in time?  If so, perhaps you need to maintain your own history of the data and used a waveform graph rewriting the history data to the graph each time.  If the points are unequally spaced, then you will need to do it as an XY graph.

  • Safari gives up loading images too early

    Hi
    I have noticed that Safari (currently I am using 3.1.1 but I had noticed this behavior on earlier versions as well) usually gives up on loading images too early.
    I have a 30Mbps internet connection and also in Firefox and Opera I do not experience the same problem.
    Is this a known issue? Are there currently any workarounds around this problem?
    Regards,
    Behrang

    From your Safari menu bar click Safari > Preferences then select the Privacy tab.
    Click:   Remove All Website Data
    Then delete the cache.
    Open a Finder window. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following
    ~/Library/Caches/com.apple.Safari/Cache.db
    Click Go then move the Cache.db file to the Trash.
    Quit and relaunch Safari to test.
    If nothing above helped, troubleshoot Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test.
    If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • How do I find a previously passcode to link a wireless keyboard (Model A101urs6) to a Mac Power Book G4 running 10.5.8.  The keyboard was linked at one point in the past, but then not used.  When I am trying to hook it up now, it requires the passcode.

    How do I find a previously passcode to link a wireless keyboard (Model A101urs6) to a Mac Power Book G4 running 10.5.8.  The keyboard was linked at one point in the past, but then not used.  When I am trying to hook it up now, it requires the passcode.  Where can I find this, or is there a general number I can use?

    Hello, and welcome to Apple Support Communities!
    Try entering four zeroes.

  • One point voice mail not sending notification to cell phone

    I have been through the prompts to set up one point voice mail and even have entered the phone number to send notification to but never receive and such service. Voice mail does work and the prompt is in place asking for notification number and time to do so but again no such service.

    Call your phone number from your phone and when they prompt to change password you can select set up password. You will be able to set your password and review them on your phone.

  • Can I use my new 4gs on a line different then the one it was upgraded on. I have many phones on my account. I am not eligible for upgrade but I had to buy two new phones for others. Can I give one of them my old iPhone 4 and take the 4gs.?

    I have many phones on my account. I am not eligible for upgrade but I had to buy two new phones for others. Can I give one of them my old iPhone 4 and take the 4gs? Thinking maybe switch sim cards? Thanks in advance for any help

    Yes.
    Just call your provider and tell them what you want and they will help you get it done properly.

  • On my app store I what to update an app but the e-mail is my husband it in a light color making it so I can't change it to my e-mail address. It ask for a password can't give one because of the e-mail how do I change this I'm lock out?

    On my app store I what to update an app but the e-mail is my husband it in a light color making it so I can't change it to my e-mail address. It ask for a password can't give one because of the e-mail how do I change this I'm lock out?

    This is your husband's app, only your husband can update it. Apps are forever tied to the Apple ID that purchased them. No other Apple ID can update someone else's app.

  • Can I show a data label for only one point in a series?

    Forgive a newbie question from an Excel convert, but can I show a value label for only one point in a data series? If yes, how?
    There are a number of graphs where I only want to value of either an extreme value or the ending value to show. Having all the labels in a series makes the chart too busy. This is pretty easy to do in Excel.
    If this can't be done, I guess that adding a text box over those points would work.
    Thanks

    Hi W-T,
    Welcome to Apple Discussions and the Numbers '09 forum.
    wahoo_tiger wrote:
    Forgive a newbie question from an Excel convert, but can I show a value label for only one point in a data series? If yes, how?
    Sure. Here's and example labeling only the MIN and MAX points.
    Column B contains the data charted with the blue line.
    Column C extracts the MIN and MAX values using the formula below. Those two values are charted as a separate series, using the green data point markers, and are labeled with their values. The intervening empty string values appear to have doused the lines connecting the two data points.
    Formula: =IF(OR(B=MAX(B),B=MIN(B)),B,"")
    Regards,
    Barry

  • I have a Windows 7 laptop using I tunes 64 and all my music files are on an external disc. I rarely use I tunes and at one point moved all my files (including the music files) from one external disc to another without considering what affect this wou

    I have a Windows 7 laptop using I tunes 64 and all my music files are
    on an external disc. I rarely use I tunes and at one point moved all my files
    (including the music files) from one external disc to another without
    considering what affect this would have on the I tunes library. When I eventually
    attempted to use I tunes, every selected a song from the library resulted in a
    message stating that the file couldn't be located. After following some of the procedures
    explained in this community I was able to reconnect the library back to where
    the associated music files are presently stored. However, there are still 2
    problems that need to be corrected. 1) Every song file now has a duplicate. One
    file works and the other file will result in the same message stating that the
    file couldn't be located. Before there were 4,000 songs in the library, now
    there are 8,000 songs. I need to eliminate the 4,000 dead song files. 2) All
    the playlists are still associated with the dead song files which makes the
    playlists unusable. Can the playlists be reconnected to the usable files
    without manually having to recreate them? Thanks in advance for the help.
    sdkr

    So am I understanding correctly?
    You used your iPod as a hard drive (drag and drop) instead of having iTunes install the music?
    If you used drag and drop your choices are different than if you used iTunes to transfer.
    Good luck!

Maybe you are looking for

  • Blue screen, no workaround

    My Macbook Pro was hanging so I needed to reboot it. It reboots, passes the gray screen and stay in the blue screen where I see nothing. I did all I could: * Boot verbose, works fine * Boot single, works fine * ran hardware tests, also extended one,

  • No sound after restart

    I have an A505-s6985. Sometimes when I restart my laptop the sound isn't on. I messed with the settings and got it to work again, but it's doing it again. I've tried to reinstall the drivers, and nothing work. I've also set the Speakers as default an

  • Report Designer - Error when Loading Report

    Hi, We have created a report in Report Designer (7.0) and saved it. When we execute it runs fine. After closing the report and trying to reopen it, the report does not open. It gives an error "Error when Loading Report". Our BI frontend patch is 14.

  • Window Title Problem

    Guyz, I configured webutil 6 month before and its working fine till date the only problem with window title. i didnt change anything in formweb.cfg file i use the below code for MDI_FORMS_WINDOW. SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW,WINDOW_STATE,MAXI

  • GE60 2OE- Playing games Battery vs. Plugged In mode

    Hi Guys, This is the first time i bought an msi "Gaming" notebook and I am very disappointed. When I try to play games on the battery (without charging it, also using high performance/gaming windows settings) GPU is running like my 10 years old gpu c