Editing tag values logged in tag history / citadel database

Hi,
I having been logging data from input/output tags and memory tags to my citadel database over the past week and due to some errors in my vi (my fault) some values are showing on my trends that are incorrect. These values are affecting my calculations (e.g. zeros, infinite numbers etc) and I would really like to delete them if possible.
Does anyone know a way of going in to the database/tag history and selecting and deleting values whilst still leaving other data in tact?
Many thanks,
Stuart

You can remove the data from a Citadel database using LabVIEW, Lookout or Measurement and Automation Explorer (MAX). This is a two step process:
First you archive the data that you want to delete. When archiving, choose to delete this data from the original database. The archiving operation will move the data from your database to new database.
The second step is to delete the new archived database. This removes the extra database that was created by the archive operation. Once the data has been archived you can remove the archived data by either deleting the database manually or by using file VIs from LabVIEW.
The document elaborates this process for MAX, LabVIEW and Lookout separately
Measurement and Automation Explorer (MAX) You must have Historical Data Viewer installed. It comes with Lookout 5.0 and LabVIEW DSC 6.1.
To remove the historical data in MAX, follow these steps:
Under the Historical Data folder in MAX, select the database that you want to remove data from.
Right-click the database and select New View»Trace. This creates a trace view with the default name of New View under the database folder.
On the Trace Attributes page, click on Add new traces. Select the traces you want to archive.
Select a starting and stopping time.
Right-click New View and select Archive.
Enter a directory path to store the archived data.
Check the Delete data from source database checkbox to delete the data from the source database.
Click Start.
Once it is complete, click Close.

Similar Messages

  • How do you change values after logging data to the citadel database (DSC)?

    How would one go about changing values that already exist in the citadel database.  So say I were logging a numeric value with a timestamp for 1 year and then wanted to change a few values for the month of June because my sensor wasn't working at that time.  How could I do this?  Is it possible without re-creating the whole database over?
    Thanks
    Matt

    mattyk wrote:
    Hey Ben,
    Thanks for the quick response.  I called NI and asked about this because this would be a big show stopper for me.  Their applications engineer said that the best way to change previous data would be to read in the trace that you want to change, modify it and save it as a new trace.  I am also looking into SQL querying.  I was able to connect to the citadel database by setting up a ODBC data source and using the database connectivity toolkit to query the database.  This worked.  Now I am trying to come up with a statement in SQL to change previously saved data.  I'll Keep you posted.
    Thanks
    Matt
    That reinforces my suspicions.
    I have an app running for about 8 years now that keeps a paper trail to enusr ethe cartdiges used in respirators (operated NIOSH National Institute of Occupational Safety and Health par teh CDC) that use DSC to enusre nobody can ever falsify those records. If they can be hacked I my customer and anyone using a respirator with a NIOSH sticker on the side of it, want to know.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Logging large .ctl to citadel database is slow

    Hi, All
    I'm using LV 8.5  with DSC.
    I'm logging my own.ctl types shared variables to citadel database. This own.ctl  includes 52 piece doubles, strings and boolean datatypes. I have 200 piece this tape of shared variables and I record all that shared variable information to citadel database. All operations as writing, reading, achieving, and deleting database are very slow. They also consume lot CPU time. Is there any capacity limits on citadel database ? Which is best structure to record this kind of data to database? I have tested (see attacment) structure but it seems to be very slow because I have to delete and create database trace references after 1st database is full.
    BR,
    Attachments:
    code_structure.jpg ‏51 KB

    When you say "...to Log Data only when necessary... " I assume you are using Set Tag Attribute.vi to establish this behavior.
    National Instruments recently added a feature (as a hot-fix) to the DSC Engine to be able to ignore timestamps coming from servers to prevent to log values with "back-in-time" timestamps. Citadel is really critical taking values back in time (logs a ) and therefore retrieval of Citadel data with such back-in-time traces could act wired.
    You can find more info from:
    Why Do I See a Lot of NaN (Not-a-Number) In My Citadel Database When I Use the Set Tag Attribute.vi?
    blic.nsf/websearch/B871D05A1A4742FA86256C70006BBE00?OpenDocument>How Do I Avoid Out-of-Synch (a.k.a....
    The Hot-Fix can be found:
    LabVIEW Datalogging and Supervisory Control Module Version 6.1 for Windows 2000/95/98/ME/NT/XP -- Fi...
    I assume you run into such a use case - maybe. It happen to me, too . And I've created a small VI which would analyze traces on back-in-time (NaN - Not a number) values. I assume the missing Data in DIAdem are those Not-a-Numbers aka Break.
    If you still encounter some problems after applying the DSCEngine.ini UseServerTimestamps=false, you might contact a National Instruments Support Engineer.
    Hope this helps
    Roland
    Attachments:
    BackInTimeAnalyzer.llb ‏622 KB

  • How to archive citadel database. we have DSC 6.0.2

    we have LabView 6i & DSC 6.0.2 . we develop a application using tags. we want to log our data to citadel database but some time the data is lost for some reason (like system hank or restart).so we want to take a backup of our citadel database.how it will possible.

    Pilla,
    Unfortunately, 6.0.2 does not have the capability. This was one of the new 6.1 features. Check Table 3 on page 7 in this manual. The Archive Database is what you need for programmatic archive. In 6.1 there is also a new utility called Historical Data Viewer, that allows you to do it manually.
    http://www.ni.com/pdf/manuals/322955b.pdf
    I remember seeing some online document about archiving Citadel database. ... oh, ya, here it is (I searched ni.com for "archiving citadel" and it was the first hit):
    http://zone.ni.com/devzone/conceptd.nsf/webmain/2F24997EAD7C53A686256B6E00686D64?opendocument
    Have a good weekend.
    Dr.Tag

  • Repeating Regions and Editable Tag Attributes?

    I want to produce a template that will let users create pages
    that list items as a thumbnail image and a short text description,
    one after the other.
    I can set this up as a repeating region, but I would also
    like to make only certain attributes of the image editable (src and
    alt for example). However, when I use editable tag attributes to do
    this, the image in each repeated region ends up with the same
    attribute values - when I add a new repeat region and then change
    the src tag through the Template Properties dialog,
    all of the images take on the same src value. Looking at the
    code, it looks like the editable instances in each repeated region
    get the same name, and so I can see that DW will get confused.
    Is this a limitation in DW? Is there a work around anyone can
    suggest?
    TIA

    So, you have some number of people who are editing the child
    pages and you
    want to constrain their editing choices? Are you using
    Contribute?
    Anyhow, I am not aware of any convenient way you can do
    something like this
    using DW's Template features.
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "manicbananic" <[email protected]> wrote in
    message
    news:g7pimq$fvg$[email protected]..
    >I want to produce a template that will let users create
    pages that list
    >items
    > as a thumbnail image and a short text description, one
    after the other.
    >
    > I can set this up as a repeating region, but I would
    also like to make
    > only
    > certain attributes of the image editable (src and alt
    for example).
    > However,
    > when I use editable tag attributes to do this, the image
    in each repeated
    > region ends up with the same attribute values - when I
    add a new repeat
    > region
    > and then change the src tag through the Template
    Properties dialog,
    >
    all
    > of the images take on the same src value. Looking at the
    code, it looks
    > like
    > the editable instances in each repeated region get the
    same name, and so I
    > can
    > see that DW will get confused.
    >
    > Is this a limitation in DW? Is there a work around
    anyone can suggest?
    >
    > TIA
    >

  • [Solved]Editing tag's ncmpcpp.

    Hello yesterday I Installed mpd + ncmpcpp and it' great but I can't try tag editor
    When I want to edit tag song I got message:
    configuration variable mpd_music_dir is not set but , it is set in the config of ncmpcpp and in the mpd.conf .
    Last edited by SpeedVin (2009-08-07 19:25:33)

    toad wrote:
    SpeedVin wrote:Ok problem solved to try tag editor you need to have your config files in ~/.ncmpcpp :|
    As it happens I installed ncmpcpp (BTW, that must win the world championship for worst name ever!) yesterday and am flabbergasted at how good a command line music player is. Having read your post, however, I tried this tag business and got the same error message as you.
    My ~/.ncmpcpp contains an empty error.log file. So what did you do to get tag stuff working? What does your conf look like?
    Cheers
    Copy file keys and config from /usr/share/doc/ncmpcpp to your $HOME/.ncmpcpp

  • Is there a way to create editable tags in a dashboard section?

    Is there a way to create editable tags in a dashboard section?
    The requirement is - User should be able to enter comments in a edit box for a section in a dashboard and save it. For other users, this should show up as a non-editable comment while for the user it should be editable box.
    Example: In a report in a section on dashboard for Supplier Trends, a Purchase Manager should enter the commments -" This weeks trends show no issues. Next week watch out for supplier X". For everyone other than him, this should show up as comments.
    1. Is there a way to achieve this functionality?
    2. Can this be achived using write back option?
    3. Or will this require java scripting?
    Thanks

    Hi,
    If you want to have a better experience of your music files, how about just use WMP to enjoy all the songs, you can
    sort by Artists or Album or whatever you like. There, you can have a better and easier way to organize all your music
    files.
    For Windows Explorer, did you mean
    medium size icons in artist, while list icon in albums, you can just organize as you want like the following screenshot.
    If I'm missing something, please free contact me.
    Regards
    Yolanda
    TechNet Community Support

  • ITunes 11 Edited Tags Changing/Reverting

    Hello,
    I have an iTunes collection that has been building since 2006. I divide my music into a few categories using the "grouping" tag. Often times when I edit the "grouping" tag I am overwriting either the label or a web address which had been previously added to that tag. I also use Mixed In Key software to analyze my music before adding the music to iTunes. Mixed In Key enters the key of the song into the "comments" tag and the BPM into the "BPM" tag.
    I have been doing this for years and lately I have began to notice a problem. On some songs (most songs don't do this), when the song is played iTunes "refreshes" the tag and often times the "grouping" tag changes or reverts back to the info that was previously in the tag, such as the label or web address.
    Further, sometimes the key that is written in the "comments" field will change to a long code of digits... something literally like 00007658935482748193.. Always beginning with several zeros.
    Is there anything that I can do to have iTunes hard rewrite these fields so that they do not change by themselves?
    Thanks.

    Yes, others are seeing this. Something in purchased media (I am pretty sure this has only happened with purchased media) is periodically checking back with the iTunes Store and resetting the tags in the iTunes library file but not in the actual media files (metadata are stored in both).  I haven't seen a truly systematic diagnosis of the issue (I use an old iTunes and have no iTunes account so I can't test anything myself).  There are temporary workarounds but tags will still revert after a time.
    Something to try (post by turingtest2) - https://discussions.apple.com/message/26454072#26454072
    If the above doesn't work:
    2014 discussion about edited tags for Store purchases reverting to originals - https://discussions.apple.com/message/26077896#26077896 - edited tags are still present in the media file but revert to the originals in the iTunes library file.  Workaround is to refresh tags so media file tags are re-read and used in library file.
    https://discussions.apple.com/message/26193185#26193185
    https://discussions.apple.com/message/26335620#26335620 - user ended up rebuilding iTunes library from scratch
    Send feedback to Apple about this so they know it is an issue they need to investigate: 
    http://www.apple.com/feedback/itunesapp.html
    Don't expect an immediate solution but maybe the next time they update the software it may be resolved.

  • Help! Can't edit tags, everything is grayed out.

    Hey there.
    I've recently got a new laptop and my iTunes library is located on an external hard drive. When I try to edit a single song (via "Get Info") I cannot change anything, everything is grayed out. However, it allows me to change the information when I select multiple songs (strange).
    I thought it might be due to "read only" files, but they files are not "read only". It says I have full reading and writing permission, I can edit the tags through WinAmp, but why can't I edit tags through iTunes?
    Not all the songs are grayed out though, the songs that I've recently ripped I can edit freely in iTunes.
    I'm using the latest iTunes version 7.5 and Windows Vista.

    The the music folder on the external drive was created on another computer, it is possible that Vista does not regard it as yours and has not granted write permission.
    Here is some help on permissions in Vista:
    http://windowshelp.microsoft.com/Windows/en-US/Help/2464a180-e5dc-45d1-a2b8-3c8a 2b571e9d1033.mspx
    You need to check that your account has full control rights on your music folder.
    ANother possiblity although unlikely, is that your music files have somehow been made read only, you can check this by looking at the properties for a problem file.

  • After updating itunes 4.10 when editing tags in file adds two covers. This problem is represented as in 10.6.8 and in 10.7.

    After updating itunes 10.4 when editing tags in file adds two or three covers. This problem is represented as in 10.6.8 and in 10.7.
    Earlier albums were edited with the same cover.
    or 3

    I think I have the answer.
    I was experiencing the exact same problem. I tried lots of different things but what I think works is to exclude your iTunes folder from Spotlight. Open the System Preference for Spotlight, click on the Privacy tab, and then drag your iTunes folder (in your user/Music folder) into that window pane. In fact, I think it is faster when I am fixing tags!
    Let me know if it works for you too.
    Scott

  • Validating Pages that use InContext Editing tags

    When will be possibile validate the pages with InContext Editing tags, when running it through the W3C validator?

    Hello SallivanV2,
    Here are a couple of links to unobtrusive Spry Data samples:
    http://labs.adobe.com/technologies/spry/samples/dom_utils/unobtrusive_spry_data.html
    http://labs.adobe.com/technologies/spry/samples/dom_utils/unobtrusive_spry_data2.html
    But I think you might be better off posting the question in the Spry Framework for AJAX forum, since I'm certainly not the foremost expert on Spry:
    http://forums.adobe.com/community/adobe_labs/spry_framework_ajax_prelease
    I hope this helps!
    Best regards,
    Corey

  • IPhoto Crashed Whenever I Edit Tags

    I installed the new iPhoto this morning, and spent several hours editing Faces and Places. Then, when I began renaming some photos and editing tags, it crashed. Now iPhoto crashes every time I attempt to edit any tag information. Any suggestions???

    try trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    Regards
    TD

  • Why can I not edit tags properly when I click on the star/bookmark icon?

    Firefox 6.0
    When I try to edit tags, I cannot see the text I'm typing and when I type something and say "Done". The changes are saved so that's fine. I also noticed when I choose the folder for where the bookmark goes via clicking the star/bookmark icon, it doesn't update the choice I've made visually.

    What happens when you click the star (now colored gold) a second time? See the steps in the process of adding a bookmark by the method you are using. Step 1, step 2....
    See: http://support.mozilla.com/en-US/kb/Bookmarks#Making_new_bookmarks

  • Unable to Edit Tags

    For the last few hours I have been unable to edit Wiki article tags. When I click "Edit tags", modify the tags, and click "Save", I get the message "An error occurred while saving or formatting tags." I have tried in IE
    11, IE 9, and Firefox. Anyone else noticed this? I can edit articles, but I try to avoid that if I only need to edit tags.
    Edit: OK, now that I have reported the problem, I seem to be able to edit tags most of the time, but not always. I cannot see any difference between cases where I succeed and where I get the error.
    Richard Mueller - MVP Directory Services

    The problem seems to be with just two Wiki articles (the two I was working on at the time). I have been able to edit tags on other articles with no problem. The articles are:
    http://social.technet.microsoft.com/wiki/contents/articles/6233.introduzione-a-windows-intune-v2-it-it.aspx
    where I was attempting to add the tag "Has Image", to match the duplicate article I marked for deletion. And
    http://social.technet.microsoft.com/wiki/contents/articles/5816.aspx
    where I attempted to add "Windows Server 2008" and change "Has Images" to "Has Image".
    I will wait awhile for anyone else to investigate, but then I will attempt to edit the articles (instead of edit tags), change this thread to a discussion (since there will be no answer), and consider the situation closed.
    Richard Mueller - MVP Directory Services

  • Unable to edit tags with Sonata/MPD

    I am having issues trying to edit tags with Sonata but I get this error (which seems pretty common) but I cant seem to find an answer to my problem.
    Taglib and/or tagpy not found, tag editing support disabled
    I have both taglib and tagpy installed, but I have no idea how to enable tag editing in Sonata, I have had a good search through Google with no result.
    I am using version sonata-git v1.7a2.r49.g1d75758-1.  Can anyone possibly help here please?

    Can anyone help here please?

Maybe you are looking for

  • How to edit/deactivate when hard drive is gone

    Hi, I am a paying subscriber to MobileMe. I used to have 10.4.11, and I used iWeb to create and manage a resume webpage to help find myself a job in the profession for which I was trained. I have now gotten a job, and I ought to edit/delete the iWeb

  • How can you tell where the time source is on solaris 9?

    we have a time synch issue that needs resolving and I have to check where each server involved gets its time from. I know in windows you just run a query of net time /querysntp what do you do on solaris 9?

  • How to know if an transaction is in display mode or change mode

    Hi, I have to set an information message if any transaction is in display mode and an error message if it is in change mode for a particular condition. How would I know programmatically that it is in display mode or change mode for a screen?

  • Premiere Pro CS5.5 unresponsive on iMac

    I am experiencing a number of issues with PP on my new iMac 21.5 i7 12 GB RAM 1TB SATA. This is certainly not the most powerful machine to edit AVCHD footage, but that's what I can afford. Now the problem I want to report is not that AVCHD footage is

  • Why do my videos freeze when I try to sync video and data?

    When using DIAdem 2010 to view synchorized video and data, it always works well on the first playback.  But then on subsquent playbacks the video will freeze while the data keeps playing.  I'm using MP4 videos.  I'm thinking it's not related to the P