DSC "tag engine" "unable to start the citadel 5 service" "unable to start the service"

Hi, I don't know why, but I'm not able to start the
tag engine anymore. First I thought of a corrupt *.scf-
file, but this is not the case.
To investigate the problem I wrote a nice program,
perhaps it is of interest. And perhaps someone else
had the problem and was able to find the reason for the
problem. I also included screen shots of the error messages.
I'm working with LV 7.1.1 (but the problem was there
before upgrading from 7.1 to 7.1.1). I saved the example
code also in previous versions of LV.
Regards, Stefan
Attachments:
could not start tag engine.zip ‏1093 KB

Hi, I asked the support to help me, but they were not able
to help, they suggested a new installation.
To avoid that, I tried to reinstall (repair) only the Datalogging and Supervisory Control (DSC) Module and afterwards I mass compiled the whole NI directory.
For the moment, the problem is solved. Regards, Stefan

Similar Messages

  • DSC TAG ENGINE doesn't run after using eval copy of LabView

    I used an eval copy of LabView.
    I uninstalled this eval copy and I bought and installed the full NI Developer Suite.
    Now Labview 6i (6.0) works properly but I'm unable to use DSC because the Tag Engine stops immediately with this message: "This evaluation copy of Labview has expired. Engine will close".
    I'm using a Pentium III PC 128Mb RAM Win98 italian version.

    Hi Silvano,
    I found a similar case from another customer. Nationl Instruments is aware of this issue. But the only workaround for now would be (propre version):
    1) uninstall LabVIEW DSC and LabVIEW
    2) delete the registry key from the old LabVIEW eval version with regedit.exe.
    [HKEY_LOCAL_MACHINE\Software\National Instruments\LabVIEW\lvedid]
    3) reinstall LabVIEW and LabVIEW DSC
    (short version)
    1) Rename lvedid in the:
    [HKEY_LOCAL_MACHINE\Software\National Instruments\LabVIEW\lvedid] to e.g. ..\LabVIEW\1lvedid
    Hope this helps
    Roland

  • WIll using a multiprocessor system improve DSC Tag Engine performance?

    We are developing a multiple workstation vacuum chamber automation control application using the DSC.
    The chambers under control each have a set of process controllers (Opto22 "Ultimate Brains") running the fundamental interlock and process mechanisms via their own software. The brains are set up for communication via OPC, thus LabVIEW can monitor the IO states of the system as well as variable values in the brain software via DSC tags. In addition, LV can manipulate variables to make requests that the brain software branch to different subroutines. The other ("control") workstations in the system pass requests to the brains via the software on the monitoring workstation, so as to ensure that requests are enqueued properly.
    The problem is at this point there are 1300 tags configured for the DSC, and the workstation responsible for monitoring them shows near 100% CPU load all the time; most of that taken by the DSC Engine. This is with only half of the final project's chambers installed and active. As a result, it sometimes takes several attempts for a control workstation to successfully pass a request to the brains via the monitoring workstation.
    We are concerned that performance will only worsen as we bring the additional chambers online.
    Would adding a second processor to the workstation improve performance? If dual processors would help, would additional processors help more?
    Note: we are examining which tags we monitor all the time and are going to try to reduce that list to those tags critical for normal operation, with an option to temporarily expand monitoring to the larger list for debugging purposes. I am concerned that even if that helps now, the problem will get worse again as we bring additional components on line. Is it the sheer number of tags defined for the DSC engine that gates the load on the engine, or the number that we are actively reading with our program?
    Thanks for any illumination you can offer.
    Kevin R
    Kevin Roche
    Advisory Engineer/Scientist
    Spintronics and Magnetoelectronics group
    IBM Research Almaden

    I have a partial answer. We've swapped in the dual processor machine and see some improvement. The processor load was still hovering around 100%, though.
    More importantly, we think we've learned something about how the DSC engine is actually working. The monitoring workstation not only runs the DSC engine to trade data with the other workstations, but an OPC server to handle transactions with the "brains". So any requests for data from the brains really are routed via the monitoring workstation.
    We had built one common tag database because we thought that would simplify programming. We did some tests today, however, and discovered that if we stop the tag engines on the control workstations, processor load drops dramatically on the monitoring workstation.
    What we've realized is that apparently if a read tag exists in a machine's database, the DSC fetches its value, regardless of whether our LabVIEW software ever actually uses the value. We deleted most of the brain tags from the control workstation databases, leaving only the LV memory tags and the few brain tags actually used by our vis. So now the monitoring workstation is not being asked to query those 1000 tags by 3 different tag engines, only by the one using it.
    CPU load is down to about 73% now (because the monitoring workstation is still itself watching those 1000 tags). That's still high, but we have a better idea what is going on.
    So -- is there any way to have the DSC engine only fetch a tag value when you really need it, rather than always fetching every tag in the database?
    Kevin Roche
    Advisory Engineer/Scientist
    Spintronics and Magnetoelectronics group
    IBM Research Almaden

  • LV7.1 DSC tag engine VS LV8.6 DSC shared variables

    I'm currently running LV7.1 with DSC and RT. To handle communications and logging RT variables I'm using the init / read / write publish.vi's on the RT side and datasockets on the HMI side (Windows XP). This has worked out great - new tags can be programmatically created in real time with the publsih vi's and then I go to the the .scf file and use the tag configuration wizard to add them to my scf file and handle data logging. This worked very well - the wizard would organize all of the memory tags into folders by block name used by the init publish vi. I could also select entire groups of tags and add hundreds at a time to the .scf file. Hardware Tag also worked in a similar fashion, organizing tags by controller and module folders. Now - looking at LV8.6.I found I can still use the init / read / publish vi's on the RT side - great. However there is not tag configuration editor as in LV7.1 to let me add large numbers of tags through a wizard. The closest thing I've found is to create a library to represent each block name from the RT init publish.vi then use "create bound variables" option under the library to bind the new shared variables to the RT memory tags. I can browse to the tags on the controller by network items, but when I add them it doesn't bring the block name of the tag as it did in 7.1, only the item name. I use a lot of PID loops that share the same tag names (i.e.: P,I,D, mode, output), so not including the block name represents an organizational problem. The problem with this is, it's very labor intensive compared to the wizard in LV7.1 DSC, especially talking about creating systems with thousands of RT memory tags. Also, there is a similar problem with hardware channels (I'm using compact FieldPoint). To log channels via DSC do I have to create a shared variable for each channel to access the DSC logging capabilities? Again how do I add all of the hardware channels in some organized fashion? I hope I'm missing some tool that is an analog to the tag configuration wizard to bring in these channels and organize them. Any help or suggestions would be appreciated. Thanks,Brad

    Hi lb,
    We're glad to hear you're upgrading, but because there was a fundamental change in architecture since version 7.1, there will likely be some portions that require a rewrite. 
    The RTE needs to match the version of DSC your using.  Also, the tag architecture used in 7.1 is not compatible with the shared variable approach used in 2012.  Please see the KnowledgeBase article Do I Need to Upgrade My DSC Runtime Version After Upgrading the LabVIEW DSC Module?
    You will also need to convert from tags to shared variables.  The change from tags to shared variables took place in the transition to LabVIEW 8.  The KnowledgeBase Migrating from LabVIEW DSC 7.1 to 8.0 gives the process for changing from tags to shared variables. 
    Hope this gets you headed in the right direction.  Let us know if you have more questions.
    Thanks,
    Dave C.
    Applications Engineer
    National Instruments

  • How do I increase the refresh rate provided by the Tag Engine?

    Good Day,
    Part of an application I've designed reads in various analog inputs from various sources (3 serial, a handful from the NI-6229 and some temps from the USB-9211A).  My Labview software (LV v7.1) is set to read in the values at 8 Hz (every 125ms).  Though when running, the Tag Engine online provides updated information about once a second (for the both the NI inputs and the serial inputs which have been setup to be read throug the Tag Engine aswell).  When going in the tag configurator, the groups that the channels are part of is set up with "Update Rate (secs)" = 0.20s by default.  I don't even get that.  Just a bout once/sec.
    I've tried looking through MAX a bit but can't seem to find anything there myself.
    Any ideas would be much appreciated.
    Sean

    Khalid,
    Right at this time, I don't have the ability to throw an indicator into the code and run it to display as the stand is currently running clearing out a backlog that occurred over the last couple weeks.  That's why I had loaded the tag monitor while they run, and could see there that the values updated (and were timestamped) about every second.  I may try getting in there to accomplish what you suggest when they should be shutting down in about an hour and a half (if below doesn't work).  Does the tag monitor not update whenever there is a value change (and update the timestamp accordingly)?  That's what I understood from what I've read about it.
    I think you may have pegged it though on how the server was configured.  I went into the server explorer and found a setting under LookoutOPCServer->Properties->Groups titled "Update Rate (msec)" which is currently set to 1000.  I'm going to try this out and will repost afterwards (hopefully when it works ).
    Thank you much (again) for your valueable time,
    Sean

  • Engine status and shutdown tag engine

    I have an easy question... but it's not so easy that I can actually find documentation on it.
    Is the tag engine status.vi considered a VI that accesses the tag engine?
    I ask because the tag engine will not shutdown until all VI's that access the tag engine are shutdown. I would like a while loop checking the status of the tag engine to run until the tag engine is shutdown.

    Hi,
    The 'Get Engine Status.VI' does not access the Engine. (You can check this and any such VI by dropping it on the diagram and running it. If the Engine is launched, the VI in question accesses the Engine.)
    The 'Get Engine Status.VI' is meant for things like what you're trying to do. In fact, the HMI Wizard generates such a while-loop with this VI.
    Hope this helps.
    Rgds,
    Khalid

  • Is there a way to force the Tag Engine to dump its input buffer to the database?

    I have an application where I start a process and log the data, and then call a subVI that uses the Read Historical Trend VIs to get all of the data from when the process started until now. The problem is that the Historical Trend VIs only read from the database on disk, and the Tag Engine's buffer doesn't write to disk until it's full (or possibly times out; I'm not sure about that, though). Is there a way to force the Tag Engine to write to disk, so that the Historical Trend VIs will return the most recent data?
    Shrinking the buffer will help a little, but that will only result in missing less of the most recent data. One possible hack is to have a dummy tag that I simply write enou
    gh data to that will cause the buffer to be written to the database. I was hoping for something more elegant, though.

    That's a good question.
    The control about the datalogging and the DSC Engine is all done (more or less) automatically - you feel the NI ease-of-use idea
    That means the Citadel service (one of the NI Services installed by LabVIEW DSC) is responsible of taking care about the datahandling (writing to and reading from the database files including caching some data e.g. index files, frequently used data...).
    The DSC Engine makes a request to the Citadel service that this data has to be logged. Everything else is handled by the Citadel service. Internally, there are two kinds of logging periods handled through the Citadel service. One for traces being viewed (a small period: 200ms) and one for traces not being viewed (slow (big) log period: 20000ms). That
    means, if Citadel gets a request to store a value it will buffer it and store it as soon as possible depending on other circumstances. One depends on the fact if this trace data is being viewed (e.g. with Read Histroical Trend.vi) If you request/read to view a trace you should pretty much see the current values because citadel should use the fast log period.
    The Citadel service takes care as well about setting priorities e.g. the writes before the reads (We don't want to loose data - right?). That means if you really stuff the system by writing a lot of data the CPU might get overloaded and the reads will happen less often.
    If you really want to see "real-time" data I would recommend to use the "Trend Tags.vi". With this approach you avoid the chain DSCEngine-Output Buffer-CitadelService-InputBuffer-File-HD... and back.
    I hope this info helps.
    Roland
    PS: I've attached a simple VI that has a tip (workaround) in it which might do what you are looking for... However, Nationa
    l Instruments cannot support this offically because the VI being used are internally DSC VIs that certainly change in the next version of LV DSC... and therefore you would need to "re-factor" your application.
    Attachments:
    BenchReadHistTrend.llb ‏104 KB

  • Help. Windows 7: The application was unable to start correctly (0xc0150002).

    I just got a new computer. Windows 7. Toshiba. Intel 13-3110M Processor. 6GB DDR3 Memory. 1TB 5400rpm Hard Drive. Intel HD Graphics 4000. 2.40 GHz. 64-bit operating system.
    I installed CS5 Creative Suite on it (which worked perfectly fine on my two previous computers--Windows 7 and Windows 8). Since then Photoshop and Illustrator have been giving me the same error message. "The application was unable to start correctly (0xc0150002). Click OK to close the application." The programs still open and remain open after pressing okay, but the message comes back every minute or so.
    Then, with InDesign, the program won't open at all. It gives me the error message of "Cannot load the PDF.RPLN plug-in. It is dependent on the EPS PAGE ITEM.RPLN plug-in, which failed to load. Please check documentation for the EPS PAGE ITEM.RPLN plug-in." Then InDesign stops responding and closes itself.
    I have to live with this computer for two more weeks (and then I go home and can use my old one again/return this current laptop), and I have schoolwork that counts on me being able to use these programs. If anybody could help me, I would be super grateful!
    Oh, and I've already tried installing and uninstalling it.

    Without system information nobody can say anything. also check the logs in the Event Viewer.
    Mylenium

  • The application was unable to start correctly (0xc000007b)

    I have a subscription to Adobe Creative Cloud and recently installed all apps. They all worked fine until I recently installed iLivid - big mistake! (at least I think this is the culprit from other articles I found). Now I can no longer use Illustrator and I am being asked for a serial number in all most other apps. The error message shown, when I try too launch Illustrator, is as above. I've tried uninstalling and deleting everything, including wiping all traces I can find in the registry, and then reinstalling the application manager and the apps again, but no joy. Who can help me please

    Hi Magiboards_Erwin,
    A possible explanation is the iLivid software has overwritten some of the Visual C++ libraries on your OS. This is an issue which can affect many applications on your system, any which use these libraries. One solution is to put the DLL's from the library in application folder so it doesn't need to access them from the OS. I know we have that kind of solution for Lightroom but haven't seen it for Illustrator.
    http://helpx.adobe.com/lightroom/kb/error-unable-start-correctly-0xc00007b.html
    or completely remove the iLivid using some kind of Malware or Anti-virus removal software, and then uninstall and reinstall the Microsoft 2005 Visual C++ libraries,
    Note: This is OS related troubleshooting and not specific to Adobe products and outside of typical support boundaries, use at your own risk.
    Possible entries in Programs and Features
    Microsoft Visual C++ 2005 ATL Update kb973923 x86
    Microsoft Visual C++ 2005 Redistributable
    Microsoft Visual C++ 2008 ATL Update kb973924 x86
    Microsoft Visual C++ 2008 Redistributable
    For 32-bit OS
    Visual C++ 2005 SP1 Redistributable Package (x86)
    Visual C++ 2008 SP1 Redistributable Package (x86)
    http://www.microsoft.com/downloads/details.aspx?familyid=200B2FD9-AE1A-4A14-984D-389C36F85 647&displaylang=en
    http://www.microsoft.com/downloads/details.aspx?familyid=A5C84275-3B97-4AB7-A40D-3802B2AF5 FC2&displaylang=en
    For 64-bit OS
    Microsoft Visual C++ 2005 SP1 Redistributable Package (x64)
    Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)
    http://www.microsoft.com/downloads/details.aspx?familyid=EB4EBE2D-33C0-4A47-9DD4-B9A6D7BD4 4DA&displaylang=en
    http://www.microsoft.com/downloads/details.aspx?familyid=BA9257CA-337F-4B40-8C14-157CFDFFE E4E&displaylang=en
    Once complete run the Windows update and install all OS security related updates
    -Dave

  • The application was unable to start correctly (0xc0000142). Click OK to close the application. error: 0x6740090A-0x20003

    Hello,
    I have installed the app-v 5 client on a 2012 rd server. After publishing the application I’m getting the error “The
    application was unable to start correctly (0xc0000142). Click OK to close the application.”
    The registry value
    NtfsDisable8dot3NameCreation is already set on 2.
    The error in the eventlog is
     “could not be started because the App-V Subsystem 'Virtual Filesystem' could not be initialized. {error: 0x6740090A-0x20003}”
    Thanks in advance
    Rene

    See this blog post: http://blogs.technet.com/b/gladiatormsft/archive/2013/06/11/app-v-5-0-on-these-0xc0000142-errors-and-where-they-are-coming-from.aspx
    Please remember to click "Mark as Answer" or "Vote as Helpful" on the post that answers your question (or click "Unmark as Answer" if a marked post does not actually
    answer your question). This can be beneficial to other community members reading the thread.
    This forum post is my own opinion and does not necessarily reflect the opinion or view of my employer, Microsoft, its employees, or other MVPs.
    Twitter:
    @stealthpuppy | Blog:
    stealthpuppy.com |
    The Definitive Guide to Delivering Microsoft Office with App-V

  • The application was unable to start correctly (0xc00000fd). Click OK to close the application.

    Trying to move Acrobat 7.0 Standard (Version 7.0.9) to a new computer.  found the website to download a new copy of the application.  Downloaded and installed.  When trying to start the application an error message immediately pops up - "The application was unable to start correctly (0xc00000fd). Click OK to close the application."
    How can this be resolved?

    Hi mpatterson54,
    Could you please tell me what OS version are you using on your new computer?
    Regards,
    Anubha

  • The application was unable to start correctly (0xc000007b) in Audition CC. Latest fix? Win7 Prof

    Another username, password later, ..., control handed over to Creative Cloud, install Audition.... then
    "The application was unable to start correctly (0xc000007b)" in Audition CC. So re-installed. I on't want to spend hours trying to get Adobe software to run.  This was my trial application download to see how it worked. ANd it didn't. And there are heaps of posts with complicated advice... ending with - go get a chat support person. And they are not available. aaaaggggghhhhh
    I am now worried that installing any other app from CCloud may cause problems on my PC with other Adobe SW.
    What is the latest (and hopefully simple) way of getting this program to run?
    I don't have ilivid,
    I do have:  CS5, Win 7 Prof, installed via some Adobe CCloud app that I was told to install and use to manage your CC account,
    Grateful for anyone who can wave the magic wand.

    Above linked gave this soln:
    1. please try to download a dll file from  https://drive.google.com/file/d/0B4eWI-NGpmnuTUxPQVIxYThSNlE/edit?usp=sharing
    2. The package contains the files msvcr100.dll and msvcr80.dll. Extract the package contents to the following location:
    I copied the 2 DLL files to the C:\program files\Adobe\audition cc 2014 folder and it worked. SIMPLE !!!!!! YEH.
    Thanks

  • The application was unable to start correctly (0x000007b)

    cannot open my download of Lightroom 4.4. getting activation message "The application was unable to start correctly (0x000007b). Click OK to close the application.
    Message title was edited by: Brett N

    http://forums.adobe.com/search.jspa?resultTypes=&dateRange=all&peopleEnabled=true&q=0xc000 007b&containerType=14&container=3316&containerName=Photoshop+Lightroom&username=&rankBy=da te&numResults=15

  • The application was unable to start correctly (0x00007b) adobe

    HI All,
    Are you able to help?! I have just downloaded a trial version of Adobe Lightrooms from the Cloud and get the following error message 'the application was unable to start correctly (0x00007b)' Does anyone have a fix? @

    ...07b Problems http://forums.adobe.com/thread/1355374?tstart=0

  • The Application was unable to start correctly (0xc0000005)

    Dear Support,
    This is to inform you that we are using Windows Server 2008 R2 Enterprises Edition (x64) & suddently it is showing the message "The Application was unable to start correctly (0xc0000005. Click OK to close the
    application." 
     I have already checked all the technical steps as per Microsoft solutions like-
    these are the steps that I have been done.
    1. I have checked regedit Hkey_Classes_Root>exefile>shell>open>(default) as "%1" %*
    2. Uninstalled dotnet frameware & re-installed correctly.
    2. Microsoft C++ 2005,2008 redistributable re-installed.
    3. The Windows has been updated.
    4. check by "Microsoft Fix-it" & executed, the report is clean.
    5. The Anti Virus is disabled (Quick Heal).
    6. & all the junk files are cleaned as well (like- %temp%).
    But its still showing the error while we are trying to open a application (most of the *.exe), [Application name.exe has stopped working>The Application was unable to start correctly (0xc0000005. Click OK to close the application.
    Kindly do the needful solutions urgently.
    Regards,
    Akib Ahmed
    Mob- +91 8584047126
    Email: [email protected]
    Chandrani Enterprises Pvt. Ltd. | Asansol
    Nh-2, Bogra Chatti, Asansol, Burdwan - 713332 (W.B.), India.

    Hi,
    First please test if it is caused by third party application. A Clean Boot could help disable all third party applications.
    http://support.microsoft.com/kb/331796/en-us
    Meanwhile is there any change made before the issue occurs, such as Windows Update, installed any program etc? If there is a restore point before the issue occurs, it may be a quicker solution for this issue.
    If you have any feedback on our support, please send to [email protected]

Maybe you are looking for