TomasAa Posted April 28, 2009 Report Share Posted April 28, 2009 Okey, I'm using LabVIEW 8.6 with the DSC-module (also 8.6). I'm working on a project that are making use of a large amount of shared variables which are connected to a remote OPC server. My problem is that the NI variable engine service is crashing, lets say 2 times a week. It seems that it crashes right after i deploy the variables and it does'nt matter if i deploy just 1 variable or 100 variables. After the service crashes it seems that the only way to fiks it is to reinstall labview and DSC. Has anyone encountered this problem before, and is there a way to go around it? Thanx, Tomas Aasgard Quote Link to comment
nhollenback Posted April 28, 2009 Report Share Posted April 28, 2009 Hi Tomas, I have worked on several DSC projects but have not experienced this yet. First, how are you deploying the shared variables? Second, can you provide some additional information. How did you determine that you had to do the reinstall to get the SVE working again? What other options did you try? What did you see when you launched the Distributed System Manager? Also, the Colorado LV User Group (ALARM - Advanced LabVIEW Architects of the Rocky Mountains) has spent some time with NI R&D at a recent meeting and we'll be continuing some technical disucssions next week. Check out our community page for more info: http://decibel.ni.com/content/groups/alarm . The current plan is to allow others to remotely join the May 7th meeting. Nancy Quote Link to comment
TomasAa Posted April 29, 2009 Author Report Share Posted April 29, 2009 Hi Nancy, thanks for your respond. Yeah, it seems that few or non have experienced this before and its really annoying, especially since this is a supervision project. So, I'm programming on a desktop with labview 8.6, the variables are hosted on a Schneider OPC server witch are hooked up with a simulator/testbench. Firstly the OPC-groups and the variables are defined in a spreadsheet. The variables are also given different attributes like alarming levels, start level etc. Then the spreadsheet are run trough a instance generator which result in a txt file. The txt file are imported in a "config vi" wich gives the variables the different attributes and then creates and deploy them programatically. Secondly, when i look at the event viewer after the SVE crashes I see these errors: - Service control manager (The National Instruments Variable Engine service terminated unexpectedly). - DCOM (DCOM got error "General access denied error " from the computer abpc10858 when attempting to activate the server:{13486D51-4821-11D2-A494-3CB306C10000}). In that order. When the variable engine service crashes it doesent respond to anything, I cant stop or restart it and it doesnt help to reboot the computer. When I encountered this the first time I tried to google the problem, without results. And since I'm a beginner conserning SVE and windows servicesI just desided to reinstall labview + DSC. When i launched the DSM I didnt see anything out of the normal (probably because I dont know what to look for). edit start: You can drag and drop Xcontrol widgets to the frontpanel. These widgets, when placed on the frontpanel, get a reference to their respective variables through a initiate VI. The crash have occured when I have undeployed and deleted the variables, and then generated and deployed the variables again without deleting and reinserting the widgets. So it is a posibillity that the SVE crashes because of an inconsistency between references (just an idea). edit finished Thanks for the tip, the 7th may meeting sounds interesting. Tomas Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.