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

Similar Messages

  • "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.

  • 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

  • Photoshop Elements 13 running in Windows 8.1 hangs immediately after starting

    Photoshop Elements 13 running in Windows 8.1 hangs immediately after starting.  Has to be shut down by Task Manger.  Task Manger shows that it is still using some CPU.  Ran Procmon (part of Sysinternals) which shows that it is in a loop.   Stack trace shows it is executing code in AMTValidateProductLicense.dll.  Started happening about a month after I installed PSE.  Everything used to work fine at first.  Have tried going back to an old image of Win 8.1 on a different hard drive, otherwise same computer, and installed PSE 13 from DVD.  That installation never worked, it aways hangs.  If I do a clean boot, it sometimes runs long enough for me to click on a menu item and then hangs the same way.  And, yes I bought a new DVD to run on this computer, never been used in any other way.  Any ideas how I can get PSE running properly?

    It really doesn't look like a licensing issue, it seems to be code in the area of license validation that isn't working.
    I took your suggestion and initiated a couple of chat sessions with support, but so far still no luck.  The latest session with Neeraj seemed to be promising.  After some investigation he asked to reinstall.  First he uninstalled with Revo Uninstall, which seemed to be pretty thorough.  That required a restart, so he set things up to restore his conference session and took my phone number.  Unfortunately I guess his connection didn't come back.  When I didn't hear from him after a couple of hours I tried installing Photoshop and Premiere myself.  As before, Premiere works and Photoshop doesn't.  When I start Photoshop, the window opens and for a couple of seconds menus open when I click on them.  Then the window freezes and I have to use Task Manager to kill it.  So basically, I've tried several things but I'm back where I've been all along, I can't get Photoshop to work.  I'd really appreciate suggestions about something else to try.
    I wish someone at Adobe was interested in the Process Monitor traces I've made, because I'm sure someone who knows the code would be able to figure out pretty quickly what's happening.  Is it trying to read a file that's not there, failing to write a file, failing to make an internet connection or what?  It really shouldn't be this hard to figure out.

  • I have an email account causes the machine to hang up after being in use for a day.  It only occurs on my Macbook Pro and only one particular account.  The problem account works fine on my iMac and Windows Machines.  Any ideas what is causing this?

    I have an email account causes the machine to hang up after being in use for a day.  It only occurs on my Macbook Pro and only one particular account.  The problem account works fine on my iMac and Windows Machines.  I have been to the local Genius bar and through trial and error we have determined that Mail is working ok but somehow the account is causing the problem.  I have used this account for years.  Any ideas what is causing this?

    No idea why, but one thing you may try if you have the time, is create a new user, and set up the problem mail account in the new user space. See if it causes your MBP to hang as well.  That will tell you if it is something wrong with your main User, or something wrong with MBP.
    Assuming this works, I'd nuke the problem account in your main user space, re-start, and reinititate the account and see if that helps.
    Depening on how many email accounts you have setup, it may be necessary to nuke the whole Mail folder in your User/Library....   Hard way to get it to work, but just my idea.

  • I forgot my ipad on charge after 100%,is this bad for ipad battery?

    I forgot my ipad on charge after 100%,is this bad for ipad battery?

    Once the battery was fully charged, the smart circuitry stops charging the battery.  Power is then used just for running the device, and the charging circuits will not cut back in until the battery has spontaneously drifted down by 5%-10% of a full charge (which should take days with a normal, healthy battery).
    You cannot over charge any Apple device.

  • Indesign CC keeps hanging just after Startup... Can someone help?

    Indesign CC keeps hanging just after I open a file/start a new document/look at it. Sometimes it's during open, sometimes it's before I even get to the open a file dialog box. I ended up forcing a crash with Activity Monitor so I could get a crash report. If someone could help me, it would be greatly appreciated.
    Running Mavericks on a Macbook Pro.
    Trashed the prefs, cache, saved application state, etc.
    Crash Report is here: http://pastebin.com/JYCs0A0n
    Thanks,
    Arielle

    It didn't earlier, but I've done a re-install since then. I can try again.
    Really, in the short term at least, I just need to pull text from a single, multi-page document. I have it as an .indd and an .idml. Is there another way to grab the text? I tried incopy, but it also crashed on me, freshly installed.
    Of course in the long run I still need indesign, but for today, I really just need the text from this doc.

  • Trying to download acrobat pro trial. program hangs up after about 30 seconds

    trying to download acrobat pro trial. download hangs up after about 30 seconds

    Hi mumsilla
    Please download it from below link :
    Look near the bottom of the page linked below to find a link for Acrobat X pro and Acrobat 9.  Before attempting the download, be sure to follow the Note: Very Important Instructions section on that page.
    http://prodesigntools.com/adobe-acrobat-x-10-pro-reader-suite-direct-d ownload-links-ddl.html
    If you're looking for Acrobat XI : http://prodesigntools.com/adobe-acrobat-xi-pro-standard-reader-direct-download-links.html
    Follow the Important Instuctions Carefully

  • My iPhoto hangs right after it opens - i can open it remotely but not on my main machine

    My iPhoto hangs right after it opens - i can open it remotely but not on my main machine

    Before anyone can help, they need information to work with. Basic stuff:
    - What version of iPhoto.
    - What version of the Operating System.
    - Details. What were you doing when the problem arose?
    - Did it ever work properly?
    - Are there error messages?
    - What steps have you tried already to solve the issue.
    Anything else you can think of that might allow someone else to understand your issue.
    With this kind of information somebody can develop a starting point for troubleshooting the issue.
    Posts that consist of "iPhoto doesn't work. Help" or "iPhoto won't print" or "Suddenly I have no photos!!!!!!!!!!" mean that any helper is simply guessing. With information, s/he may be able to get your issue resolved sooner.

  • Still awaiting bill credit for iphone 5c "free after $100 bill credit" promo 3/1/14-3/3/14

    upgraded to iphone 5c on 3/1/14, special offer for that weekend was "free after $100 bill credit" (purchase price was $99.99).  have not recvd the $100 credit yet.

    I have been going back and forth with them. They do not like giving big credits so they keep saying it will be on the next bill and the next bill etc. I even had a rep text me the details of the promotion telling me I would get it last week. Every rep I speak with tells me I am not eligible, puts me on repeated holds, then I have to tell them the exact name of the promo to look up in their system. Thank god I know the exact name. Here is the screenshot I took.
    I any of you have any luck with this let me know.

  • Charging iPhone after 100%

    Hey guys,
    Im going to buy this device and wanted to ask a couple of questions:
    http://www.ebay.com/itm/Station-Charger-Docking-Cradle-Charging-Data-Sync-Dock-S tand-Holder-For-iPhone-6-/201179347106?pt=AU_MobilePhoneAccessories&var=&hash=i t em2ed73938a2
    Questions:
    1 - Is it "bad" letting my iPhone stay on this device for several hours even after 100%?
    2 - If ill plug my charger into this device, and then put my iPhone on the device, will the iPhone alert me that it is non-original cable?
    3 - Do you think that this device is also compatible for my 5 / 5S ? (I couldnt contact the seller)
    Thx ahead for help,
    have a great day
    Amit

    "I don't want to overcharge the battery, my question is if I forget to finish the charging of iphone after 100%, this make trouble for battery life?"
    Again, No.
    "This cellphone automatically stop the charging to prevent damages to battery? "
    Again, you cannot overcharge the battery.  The iphone cannot be overcharged.  You can leave it plugged in as long as you like.

  • HT6154 Hello my iPhone 5 keeps going dead fast after 100 % charged.

    Hello my iPhone 5 keeps going dead fast after 100 % charged.

    I did that, and the issue persisted.  I'm several hours from an Apple store, and I can't be without a phone for that long.  Not to mention they want $269 to fix it, and I only paid $399 for it.

  • HT4060 ipad 4 - Should i keep charging after 100% ?

    Should i keep my ipad 4 plug in even after 100%, just the way i do for laptop? As i charge my ipad twice daily from 40%, as my heavy usage is mainly on games that i play through wifi daily. and some streaming on it through my desktop pc.
    right now i dont charge after 100% at all, but would it be alright and not damage my battery life!
    And how long will my ipad 4 battery life will last and how to confirm how many cycle is left?

    It will not damage the battery. The battery does not charge further at 100%
    See here on battery life: https://www.apple.com/batteries/

  • My iPad 2 gets hanged often after updating my iOS from iOS 7 to iOS 8

    my iPad 2 gets hanged often after updating my iOS from iOS 7.1.2 to iOS 8,what should I do?

    I'm sorry, but Apple does not provide a downgrade path for iOS. Because downgrading is unsupported by Apple we cannot discuss it on these forums.
    You may leave comments at Apple Feedback.

  • Why does my phone automatically hang up after 2 hours of talking?

    Why does my phone automatically hang up after 2 hours of talking?

    I don't know the particulars but it's not hard to image that when the connection detects no traffic for a certain period of time it automatically disconnects.

Maybe you are looking for