Quantcast
Channel: Multifunction DAQ topics
Viewing all articles
Browse latest Browse all 6878

Unstable Shared variable engine (tagsrv.exe)

$
0
0

Hello all.
I have some trouble with my monitoring system with the use of network shared variables. The Shared Variable Engine (SVE) keep crashing. No popup messages appears. I have to check taskmanager\services to see if it runs or not. I will notice that the SVE is not running in my applications, but the SVE seem to be just as unstable when none if my labview executables are running. In both cases the variable libraries are deployed to the SVE and in run state.
The crash may happend a couple of times a week or ceveral times a day. It varies. I have not succeeded in finding the direct cause for this unstable SVE.
In Windows Event Viewer\Windows logs\System i have noticed an error message that pop up around the same time as the SVE crash, every time, and is as follows:
Application popup: Microsoft Visual C++ Runtime Library : Runtime Error!
Program: C:\Progra...
R6025
- pure virtual function call
See attached files for more details from events and error reports.

Logging and alarming is working perfectly good and is doing just as expected most of the time. A restart of the SVE (nitaggerservice) usually fix the problem. But this results in a lot of "unacknowledged" alarms every time it crash. These cannot be ack'ed at a later time, and I am stuck with an extreme number of active alarms in my database.

My system is used for monitoring and logging at a slow rate (1Hz) and raises alarms if neccesary through the DSC module. The libraries holds around 300 variables in total. 3 libraries (1 which includes 9 sublibraries). Most of the variables are connected to FieldPoint, compactFieldPoint or DAQmx channels.
Since our hardware includes FieldPoint (and compactFieldPoint and compact DAQ) Ethernet devices we are unable to use any labview software after 2011. This limitation is set by the Fieldpoint driver.

The computer is a virtual machine running MS Windows Server 2012 R2 with the following NI SW:
- LabVIEW Run-Time 2011 SP1 f2
- LabVIEW DSC RTS 2011 SP1
- FieldPoint 6.0.10
- DAQmx 14.5.1

Have anyone else experienced a similar problem or? Any ideas for a solution would be greatly appreciated.

Best regards

Kenneth Henriksen

Norway


Viewing all articles
Browse latest Browse all 6878

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>