DSC runtime engine problems

Hi, 
I recently started a project which involves DSC runtime engine. This being my first contact with runtime engines, i obviously ran into some problems. Hope someone can shed some light. Here goes: I developed a project on my work laptop on which I have LV / DSC 8.6 installed. The project is then built into an EXE application and then run on a desktop computer with DSC runtime engine.The desktop computer receives data from a PLC through an OPC server (which is not NI OPC server). At first, I imported a csv file containing the list of variables in my project with the correct path of the OPC server from the desktop. When I ran the EXE application on the desktop, I got an error (PSP Led was red) saying that the variables could not be read / written. This was because the variables were not declared in the Distributed System Manager. And so my first question is this: is there a way to import my list of variables from a csv file or something similar, and if so, how can i achieve this? Because so far, all I was able to do was to manually enter only one variable at a time in the Distributed System Manager, and after about 50 of them I decided I would really hate to enter almost 800... 
 My next question regards the Citadel Database. As I told you before, I entered a few variables in the system manager and played with them for a brief amount of time. I set them T / F, I got the correct readings from OPC server, my PLC leds light up, the works. Now I wanted to see my actions in the Citadel DB, but when i ran MAX, there was no Citadel DB, only Default DB, and I could not find any of those variables which I entered and chaged states. Is there a problem with the Citadel DB not showing up? Am I not declaring correctly the variables in the System Manager? (i followed the help directions to the letter). Anyone has an idea as to why I cannot see the varaibles in my DB?
And now for a final problem.. In the LV front panel, i have some boolean buttons which are set to switch when pressed Mechanical Action. When I have the PLC connected sometimes when I press a button, it remains stuck on the TRUE state, thus screwing up my logic scheme (e.g. for a feed mill conveyor motor I have two buttons - start, stop. If i sometimes press the start button and it gets stuck, i can no longer SHUT DOWN that conveyor, which is really a big problem. I found a so-called 'fix' - right click on the stuck button and select Reinitialize to default value, but I was looking for an answer to understand this problem, not a silly little fix).
Hope I have been clear enough and you have not got tired of reading so much,
Cheers,
Sabin

 Hi Andrew and thanks for the reply!
 I don't think I deployed the library file, because I didn't know exactly how to do it. In the Source Files Property Page on Build Specifications I only selected VIs. I never selected lvlib files, so this may be the case. On the Source File Settings I saw that .lvlib files had the property Include if referenced and I thought that was the property which deployed the library. I will change the build specifications at once and keep you updated, but it could take 1 or 2 more days, because the computer with DSC runtime is in another city, and I have to get there first maybe tomorrow.
 I have several buttons set on Mechanical Action Switch Until Released. They are all Shared Variables which are connected through OPC server to memory locations in the PLC CPU. In my LV Block Diagram, they are NOT connected to anything. They are just located in a While Loop, to get their state. The preffered action is that when I press a button on my Front Panel, I get to change a memory location in my PLC and then something happens in Ladder Logic. So, the boolean values are just there, in my Block Diagram, alone and not connected to anything. Do you have an idea as to why I get that kind of behaviour (I mean the buttons get stuck on True state)?
 And finally, someone told me that the Citadel 5 might be missing because of incorrect option checking at install. However, I remeber that on the desktop, I installed the DSC runtime engine FULL INSTALL, I mean I checked each and every tick box, everything, examples and the like. One thing I was told was to insert the install CD once again and perform a re-install. I will of course try this, but let's not consider this for a second. Do you have another idea as to why the Citadel DB wouldn't show up?
 And no, in the EXE Build Specifications, I did not check the option Enable Enhanced DSC Run-Time support. What does it do? Could you please elaborate?
 Looking forward to your answer,
Sabin

Similar Messages

  • Installer build wants wrong runtime engine

    LabVIEW 8.6
    Windows XP Pro
    When I build the installer for my application, it wants me to have available the install disk from November 2007.
    Expanding the list for that disk, I find that it wants the runtime engine for version 7.1.1.
    If I remove NI-DMM 2.9 from the 'National Instruments Installers to Include' list in the Installer Properties, the error goes away.  The description for that installer indicates it comes from the August 2008 device drivers disk.
    At one time I had other versions of LV on the computer.  I have removed all other versions, including the directories in c:\Program Files.
    My application uses the DMM device driver, so I assume that I need to check the box for the additional installer.  I've looked for more documentation on when and why I should select different items in the list, but couldn't find anything useful.  Would it be possible for the installer to automatically select those items required and perhaps let me direct it otherwise by choosing fewer or more items?
    Bottom line, do I need to select the DMM driver to ensure that my application will run on a computer that doesn't have LV installed?
     - les

    Hello all,
    I couldn't really understand what was doing on in the above questions and answers but from the forum topic I believe I am in right place. I have an issue similar to those desscribed above. I have LabView 8.6.0 installed on my computer but when I run LabView it starts asking for 'NI LabView Runtime 7.1.1'. I tried feeding in the labview 8.6.0 but it doesn't accept it and keeps asking for 7.1.1.
    The program used to run fine couple of months back and I then didn't use it for a while and I had other prgrams installed durig this time. And when this month I tried to use LabView it started giving me this trouble. I don't know what went wrong. I installed some ftdi chip drivers also. So, I am thinking if that kind of messed things up.
    Also, I have this windows installer message come up sometimes which is not when I open LabView but some other programs. I don't know if this windows installer has to do anything with it.
    Whatever the case it is could someone please help me figure out how I can get the right runtime work for my LabView 8.6 and if also possible how i can get rid of this windows installer message. I don't remember the error code right now because it comes up randomly. Next time I see it I am going to save that number. But in the meantime if anyone can help me with LabView 8.6. runtime engine problem.
    Thanks,
    Lovepreet

  • Labview runtime engine plugin problem in Mac OS X

    Hi:
    We have just recently acquired a macBook Pro and am trying to test some instrumentation modules we have previously developed online for Circuit Theory courses on the MAc platform.
    These VI's are installed on lab view server and we have no difficulty accessing them in Windows XP or Vista from a browser either Firefox or IE. Of course the latest version of runtime engine is installed on the pc prior to accessing the vi using remote panel and secondly we have to disable any virus protection software.
    I have also installed the 8.5 version of LV runtime engine on the macbook with Leopard 10.5.x OS. I can see the LV plugin with the proper version in the Installed plug in check for the Safari browser. But every time the Remote panel is accessed I get a missing plugin message.
    Here is the message:
    Safari cannot find the Internet plug-in.
    The page “Blackboard Academic Suite” has content of MIME type “application/x-labviewrpvi82”, but you don’t have a plug-in installed for this MIME type. A plug-in should be available on this page:
    http://digital.ni.com/express.nsf/express?openagent&code=exck2m&
    Do you want to open the page?
    The page it suggests is the NI site for the plugin download?
    I am really in a corner and donot know what I am doing is wrong? Any help will be appreciated?
    Vishnu

    I'm not a Mac expert, but it sounds like you are missing the LabVIEW Browser Plugin which is necessary to view remote front panels.  That plugin installs with the LabVIEW runtime engine which you can find here.  I don't think Safari requires any extra configuration to work with the plugin but it might... let us know if installing the runtime engine doesn't resolve the problem.
    Travis M
    LabVIEW R&D
    National Instruments

  • Runtime engine 8.6.1 on Labview 11

    Hello,
    I have upgraded labview 10 to Lv 11. A program that used to work on Lv 10 is giving problems now. It asks for runtime engine 8.6 ( usually gets stucked preparing the installation ). Once i cancel this process, it loads all the vi's, and it seems to work, but I can't be sure until all the devices are connected, and it can't be done until september. My question is, do i really need to install runtime engine 8.6 to make it work properly, or it can work without it? 
    And if I downgrade to Labview 10, will i solve this issue??
    Thanks in advance!!

    This is actually strange behavior because the runtime engine 8.6.1, if it is installed on the computer, should be accesible both from LV2011 and from LV2010.
    What do you mean by "downgrade to LabVIEW 2010? You may have multiple version of LabVIEW on the same computer. Did you uninstall LV2010 first? If you did, then it may happened that you uninstalled the runtime engine 8.6 at the same time.
    Do you really need or don't need the engine depends of your application. In any case, it should not be a problem to download the runtime engine from ni.com and install it. http://joule.ni.com/nidu/cds/view/p/id/1244/lang/en
    Sergey Kolbunov
    CLA, CTD

  • 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

  • Installing LabView 8.2 runtime engine on Windows 7 64-bit

    We have a product built on LabView 8.2
    For a couple of years, we have been distributing this product on Windows 7 64-bit systems with no trouble at all.
    Today, we received a customer complaint indicating that the LabView 8.2 runtime engine cannot be installed on Windows 7 64-bit.
    Our verification team has confirmed this to be true.
    Interestingly, we have several Windows 7 64-bit computers with the LabView 8.2 runtime engine already installed.
    How is this possible?
    Has something changed in Windows that no longer allows the LabView 8.2 runtime engine?
    We are confused by the fact that this appears to be a new problem and the runtime engine did, at some point, install correctly on multiple Windows 7 64-bti computers.
    Any thoughts would be extremely appreciated.
    Attachments:
    lv_install_error.jpg ‏22 KB

    No, i dont think the 8.2 installer is corrupt, but it uses the Windows Installer service, which according the image has some problems. Maybe it recently updated? It's incompatible with that old installer so you need to downgrade it? It's corrupted and needs some fix?
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • Cannot Install LV Runtime Engine 7.1

    HI,
    Some of our users are having unusual installatiion problems while
    installing the LV runtime Engine 7.1.1 on win2k. Our users have
    installed another application recently and in that process the LV
    runtime engine was removed from their computer. So, they tried to
    install the runtime engine(downloaded it from NI website) again but couldn't becuase they keep getting
    the message that they are not logged in as administrator. We logged in
    as admnistrator and  tried installing the runtime engine again,
    but the error keeps occuring and is not allowing us to install. I
    searched the NI discussion forums and the Knowledge base to find
    answers but did not see any that match our problem. From some of the
    posts I suspect it has got something to do with Microsoft hotfixes and
    windows upgrades etc.
    If anyone else had seen this kind of behavior and has found a fix,
    please share it with us. Any help will be greatly appreciated.
    Thanks Ahead
    Deepak K

    Hello!
    This is an unusual problem.  I would first go through the add/remove
    programs through control panel.  Loate the "National Instruments
    Software" item and select "change".  See if any LabVIEW
    components are there and slect to remove them. This will completely remove the
    LabVIEW components.  Then attempt a reinstall of the runtime engine. 
    If this still causes problems, you may have deleted the old LabVIEW runtime
    engine in an unusual way which is interfering with later installs.  If this
    is the case, there are some other methods that we might be able to use to
    uninstall fragments of NI software.  Removing the software does not fix
    the problem post back and let us know!
    -thanks-
    Travis M
    LabVIEW R&D
    National Instruments

  • Unable to install LV Runtime Engine 7.1.1 with LabVIEW Professional 8.5.1

    I installed LabVIEW Professional Sys. for Windows (XP) 8.5 and then the 8.5.1 update. Somewhere in the original installation, LV Run-time Engine 7.1 was installed. But I need LV RTE 7.1.1. So I attempted to install RTE 7.1.1. Problem: The LV RTE installer aborts with the following message:
    "Installation aborted. Newer version already installed." 
    Why do I need 7.1.1? I must run some commercial LV executables that were compiled with LV 7.1.1 and will not run under 7.1.

    Well, I have to correct myself. MAX indicated that LV RTE 7.1 (not 7.1.1) was installed. My complied LV app indicated that 7.1.1 was not installed. I checked Windows Add New Programs and selected "National Instruments Software" I found that LV RTE 7.1.1 was, in fact, installed. So I selected LabVIEW Runtime Engine 7.1.1 and clicked Repair. After rebooting, My app works correctly. Again, MAX incorrectly displays LV RTE 7.1 (not 7.1.1). My app works, so I don't care.

  • Runtime engine can't load vi with lvdatetimerec.ctl

    Hello everybody,
    i have trouble with TS 3.5 / LV 11.0
    I programmed a small vi that calculates the time difference between now and a time stamp. To pass the timestamp from Teststand i use a Control (lvdatetimerec.ctl) and the matching VIs to do the task.
    Unfortunally i can't load the vi into Teststand using the Runtime Engine. I get the message "Unable to load VI "xx.vi" with the Run-Time Engine. It is possible that the version of the VI or one of its subVIs is not the same as the ..."
    It is certainly the same and there is no problem until i include a constant or control of that type.
    Do anybody have an idea?
    Best regards
    Thomas
    Attachments:
    TimeDiff.vi ‏7 KB

    Try to recompile your vi hierarchy in LabVIEW (hold Ctrl and click Run), then save it, then try again in TestStand with LabVIEW runtime.
    Runtime engine does not support dynamic compiling, this vi may looks fine in LabVIEW, but TestStand will complain that it is broken. 
    Sergey Kolbunov
    CLA, CTD

  • Call a sequence of VIs (not .exe)) in VB. only LV runtime engine Installed

    I am try to reuse my labview vis in VB enviroment. I would like to call a sequecne of vi from VB just like in LV with Call By Reference. This is a production enviroment, only Labview runtime engine installed in the computer. I realize that I can call labview exe file from VB, but then I have to compile every vis (more than hundreds) and have to reference every vis servers in VB.

    Actually, the runtime engine can run any VI--not just ones built into an application. The problem will be getting data in and out of the functions.
    If you have much of the code already written in LV why are you messing around with VB? Wouldn't the easiest solution be to write the entire application in LV? Just wondering.
    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

  • Witch runtime engines must be included (COM acces)

    I have made a program that gets a pressure value from an external pressure gage. This signal is transferd to the PC by the COM-gate (RS232) and at the development system (The PC where I have made the application) it works great.
    However if I make a executable and execute this one on a nother computer I get a communication error (the error coms out of my software, but sinces in that there is none communication)
    Do I have to install a extra runtime engine to be able to acces the com gate with labview? (I have checked that I used the right COM, and the problem occured at 2 different PC's)
    Please help me!

    They're on the Additional Installers tab:
    Attachments:
    LV_additional_installers.png ‏104 KB

  • Front panel class objects are missing their icons in the runtime engine

    I have this project that contain some class objects. When run in the developer environment, the icons appear fine.
    However when I build as an executable and run it in the runtime engine, the icons are missing.
    These missing icons are purely cosmetic and the underlying logic works without a problem. Is there anyway to get these icons to display when built as an executable?

    Known issue, see http://lavag.org/topic/12980-class-control-icon-not-shown-in-run-time/
    EDIT: have you considered just making that control invisible?  Takes a bit of manipulation of property nodes and references but you can do it as shown:

  • Distribute CVI runtime engine without the installer ?

    Customer wants to distribute CVI runtime engine with their application in VB.net.
    They don't want 2 installer (one for VB.net, one for CVI).  They want to extract the files out of CVI installer, and included in VB installer.
    Any one did this before?
    For CVI 2013.
    TIA.
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

    I use CVI and deliver CVI dll to customer.
    I don't create installer.
    Customer don't want installer.
    They use VB.net, they create their own installer.
    And they don't want to call CVI Run Time Engine installer.  That's the problem.
    George Zou
    http://webspace.webring.com/people/og/gtoolbox

  • NI VISA Runtime engine

    When "Building" a LabVIEW program containing NI-VISA sub VI's (e.g. to communicate with USB), I have had problems getting the "Built code" to find my NI VISA devices, even though the NI VISA USB  Drivers are correctly installed on the "target machine".
    (The "built" code WILL run if the target machine has a LabVIEW installation on it, including NI VISA)
    So - will the NI VISA runtime engine be automatically included in the "Build" (Because of the NI VISA sub VI's), or do I have to specify this myself - And how?
    Thanks. Peter.
    Solved!
    Go to Solution.

    You specify installing the NI VISA Runtime Engine when you build and installer for your built executable. Look on the Additional Installers tab of the Installer Properties Dialog Box.  The NI VISA Runtime Engine should be selected automatically but if it's not you can uncheck the Automatically select recomended installers checkbox and select any other installers you want to include in your install.
    If you're not using an installer then no runtime engines are installed and you'll have to do that manually on each machine you copy the executable to.
    This all assumes LabVIEW 2013.  The selection process is slightly different in earlier versions but all the options are still available.
    Kelly Bersch
    Certified LabVIEW Developer
    Kudos are always welcome

  • Running Datasocket in labview 2013 open labview runtime engine 7.0

    Hello All,
    I am trying to communicate with a COGNEX camera using Labview 2013. I am using Datasocket to read tags from cognex OPC server.
    but when I open labview and run the code for the first time. An installer will automatically pop up trying to install labview runtime engine 7.0.
    When i cancel the installation datasocket throws an error. Again if i run second time, datasocket works fine and communicate with cognex camera using OPC.
    This problem comes everytime I open labview and run the datasocket. I cancel the installer. second time onwards when i run the code everything works fine.
    This is actually annoying and i doubt how things will work when i make an executable. 
    Need help. 
    Is this due to datasocket version installed... how to resolve this.
     

    Hi phil,
    That is interesting that you were unable to find the offending key that the installation is having trouble with.  Do you have Administrator privileges on your computer? You may even want to try to log in as the actual Administrator itself to make sure that you have access to all of the proper registry keys.  Also, I was going to say that I do think you're right with Windows XP not having the Scanreg/fix function, but there are several free programs that you can download as registry checkers.  You may want to try one of those to see if you can find the key and give it the proper permission.
    As far as the other part of your question, the Run-Time Engines are very important for LabVIEW to be able to run, but the 7.1.1 Run-Time Engine should not be affecting a LabVIEW 8.2 installation as it will use the 8.2 Run-Time Engine.  One thing that you can do is go into your Control Panel under Add or Remove Programs>>National Instruments Software and you can try and repair/modify your Run-Time Engine there.  If you already have the 7.1.1 Run-Time Engine on your computer, this is where it will show up so you can make any changes you want.  Also, if you go to www.ni.com and click on "Drivers and Updates" on the right, you will be able to find the Run-Time Engine there that you will need, but I would definitely try using a downloadable registry checker first before attempting to change any of the software that is currently on your computer.  As stated in the Knowledgebase article, this is actually an error from Windows saying that the registry key does not have the proper permission settings, so I am reluctant to say that downloading the new Run-Time Engine from our website will help much.  Please try some of these suggestions out and let me know how they work out for you. Thanks!
    Regards
    Noah R
    Applications Engineering
    National Instruments

Maybe you are looking for

  • Podcast Problems [Zen Tou

    A few weeks ago I discovered the CBC Radio 3 podcast (http://www.cbcradio3.com/podcast/about.html). The first few downloads have been going well, but now when I try to transfer the files, Media Source says "Error: Unable to download file. The file fo

  • How can I install CS-3 from a disk on a Mac with Mountain Lion?

    I have CS-3 on a disc, was using Mac Leopard.    Just bought a new Mac Mini with Mountain Lion and when trying to install from the disc, it did not install but put a message "contact Adobe".    The "chat" agent says he only deals with CS-6 and CC, su

  • How do I get Yahoo messenger to work

    How do I get yahoo messenger to work on new iMac as well as find the menu items for video or microphone chat?

  • How to change the name in the "To" field in Mac Mail

    My Mail program along with Address Book often put the names of both spouses in the "To" field of an outgoing message when I want, for example, to send an email to just one of the spouses.  How do I change Mail or Address book so that only one spouse

  • Headers & Footers disappearing when i export to excel

    as the title says when i try to export to excel i dont get the headers or footers i have created, they are only text, I know its probably something stupid that i am overlooking but i am totally stumped. if anyone could help i would be extremely grate