Shared variables missing in distributed system manager

I have multiple shared variables in a library (.lvlib).  These are all network-published shared variables.  I can see the library in Distributed System Manager but not the variables in the library.  When I look at the properties page in Share Variables Properties Dialog, aliasing is not enabled because the library is hosted on the same machine as the application. 
I tried to run the Shared Variable Monitor application but was given a Runtime Error for TagMonitor.exe; "This application requested Runtime termination in an unusual way.  Contact application support team."
I also tried undeploying and deploying the library as suggesting by KB 56PCQ3RR.
Why does Distributed System Manager see the shared variable library but not the shared variables in it?

Hello faustina,
Has there been any software or hardware changes on the application since the error occurred? Also I would recommend to format and reinstall the software on your Real-Time target, after this you can follow Matt’s recommendation to test this behavior with a new project and single shared variable.
Regards
Jose R

Similar Messages

  • CRIO Doesn't Show Up In The Distributed Systems Manager

    All,
     Any idea why my cRIO wouldn't show up in the distributed systems manager? I'm running Real Time 3.2.1 and I've already deployed my shared variables. I can see the cRIO through MAX and with my project just fine.
    - Ken 

    Hi Ken,
    I have a couple of questions/things we can try:
    1.  How are you connected to the cRIO? (Crossover, switch, router with DHCP)
    2.  Are you able to manually add the cRIO by IP Address to My Systems?  (Right-click My systems, select Add Systems..., type in the IP Address and select OK.)
    3.  Are the shared variables hosted on the cRIO?  If not, do you see the Shared Variables in the Distributed System Manager?
    4.  Try enabling CPU Load Monitoring through the cRIO Target Properties in the LabVIEW Project (Right-click cRIO, select Properties, go to Miscellaneous and check Enable CPU Load Monitoring, deploy the settings and reboot the cRIO).
    5.  If you already had Distributed System Manager, does pressing F5 to refresh help? 
    Finally, I would like to know what version of Distributed System Manager/LabVIEW you are using.

  • Distributed System Manager SysMan ACL.acl

    I've managed to lock myself out of the Distributed System Manager. 
    The help file http://zone.ni.com/reference/en-XX/help/372572A-01/sysman/ni_acl_db/ says to reset security settings remove the SysMan ACL.acl file from the default LabVIEW Data directory.  I cant find it
    I've completed a search on my hard drive and found no file with an .acl extension
     I was logging in and out trying to get the Shared Variable Engine operating correctly and for some reason I decided it would be a good idea to add a new host.  A message along the lines of "Changing this setting will no longer allow (Nobody) to log in"  It was a Friday afternoon and I presumed that as it was trying to log in with the User (Nobody), this was why my Shared Variable Engine would not connect to my OPC Server
    Now the host name I changed it to does not work.  It says the user is invalid.
    Any ideas how to reset the host settings so I can at least get in?
    Alan

    Hi Tony
    Thanks for your help
    See attached I went to Actions>ConfigureSecurity>then selected add New User/Host
    Then checked configure new host and typed in the username of the PC.
    Not the cleverest thing Ive done recently
    Alan
    Attachments:
    Doc6.doc ‏44 KB

  • OPC server trouble seeing tags in NI Distributed System Manager

    I have created my own OPC server for simulation purposes.  If I create an I/O server and select my OPC server I can then "create bound variable" in which I can browse my OPC tags which are all in there.  I use another program which makes use of property nodes to acquire a list of paths to these tags.  The list is empty.  I noticed that when I run the "NI Distributed System Manager" I can see the I/O Server but the sub tree doesn't show my tags.  If I got them to show up in "NI DSM" then I could get a list of tag paths.  Does anyone know why my tags would show up in the "created bound variable" window and not the "NI DSM" window?  I have tried deploying the library that the I/O server is in but this doesn't work.
    Thanks
    Matt

    Thanks for the reply Charris,
    I have two OPC servers.  One is the simulator and one that I connect to at a remote location which required some OPC client software (some service in windows registry which I am not familiar with). All I know is that I can browse all tags on the remote OPC server by first creating an I/O server (yes I use OPC client) and selecting "create bound variables".  Before I bind any shared variables to OPC tags I can go into DSM and see all the tags that are not yet shared variables.
    When I try doing this with the simulator, I first create the I/O server before I can browse all the tags in "create bound variables".  But this time when I go to the DSM, they are not listed under the I/O server.  This is just an observation.
    My real problem is that I use this piece of code found on the NI website to get a list of tags (URLs).  This code works with the remote OPC server but not with the simulator.
    I don't really understand the code.  All I know is that if I input the name of the library and the name of the I/O server as well as the path to the PC, it brings back a list of URLs pointing to tags.  Maybe there is something in this VI you can help with.
    Thanks
    Matt
    Attachments:
    Get Tag List.vi ‏38 KB

  • CompactRIO distributed system manager.

    We are using CompactRIO and would like to access each module and monitor the I/O values using distributed system manager.
    When using Scan engine mode we were able to see the modules. Now are we are using FPGA mode and cannot see the modules.
    Is there a way to use distributed system manager to access the modules using FPGA mode ?

    blindbrooks,
    Unfortunately, this is not possible, due to the way Scan Mode and FPGA Mode work.  Scan Mode is a precompiled bitfile that accesses each channel of a module in the chassis, and then publishes the values to the RT target, where they are hosted in a special Shared Variable called an I/O Variable.  This is why you are able to automatically see each of the channels in Distributed System Manager (DSM).  However, in FPGA mode, this is not the case, as you are creating your own bitfiles, and not explicitly setting the values into Shared Variables.
    If you do want to see values from your modules in DSM, you can manually publish your data to a network-published Shared Variable, which would then appear in DSM.  This article goes a bit more in depth into shared variables:
    http://zone.ni.com/devzone/cda/tut/p/id/4679
    Drew T.
    NIC AE Specialist

  • Shared variable, missing data, the same timestamp for two consecutiv​ely data

    hello
    I have a problem with missing data when I read from a network published shared variable.
    Host VI:
    In a host VI on my Laptop (HP with WinXP Prof.) i'm writing data to the shared Variable "data". Between two consecutively write operations is a minimum of Milliseconds waiting time. I use that because I want to be sure that the timestamp for each new data value is different then the preview one (resolution shared variables is 1 ms)
    Target VI:
    the Target VI on a cRIO-9012 realtime device is reading only new data in the way that it compares the timestamp of a new value with the timestamp from the last value.
    Problem:
    rarely, I'm missing a datapoint (sometimes everything works fine for several hours, transferring thousands of data correctly before suddenly the failure happens). With some workaround I'm able to catch the missing data. I've discovered that the missing data has the exactly same timestamp then the last readed datapoint, therefore is ignored in my "legal" data.
    To sum up, the missed value is written to the shared variable in the host, but the target ignores him because his timestamp is wrong, respectively the same as the last value has, despite the host waits every time for a minimum of 10 milliseconds before writing a new value.
    Note:
    The shared Variable is hosted on the Laptop and configured using buffering.
    The example is simplified only to show the principle function, in real I use also a handshaking and I secure that there is no over- and underflow.
    Simplified Example:
    Question:
    Has someone an idea why two consecutively data can have the same timestamp ?
    Where is the (wrong) timestamp finally coming from (system?) ?
    What would be a possible solution (at the moment with shared Variables) ?
    -> I tried a workaround with clusters where each data gets a  unique ID. It works but it is slower than comparing timestamps and I could get performance problems.
    Would it change something when I host the shared Variable on the RT-System ?
    Thanks for your help
    Regards
    Reto
    Solved!
    Go to Solution.

    Hi Reto,
    I had a look on your modified Example.
    Because the Shared Variables didn`t work like Queues or Notifiers (No Event or Interrupt when a new value has been written. And for sure the´re not possible over a network) you will see the issue, that the code is reading the values more often with the same timestamp (Polling Problematic) if the reader is faster then the writer. And because the timestamp is written with the value you´re able to program like you do. Filter out whats duplicated when you have the same timestamp.
    Everything is described in here:
    http://zone.ni.com/devzone/cda/tut/p/id/4679#toc1
    Laurent talked about a second depth of buffer. Please have also a look at the link. Somewhere in the middle of the tutorial you see the explanations of Buffer and RT-Buffer.
    Regarding your question: Would it change something when I host the shared Variable on the RT-System? --> No
    In my experiences, you should consider to place the Shared Variable Engine after asking some questions regarding the application.
    You will find the Answers to this 3 Questions also in the link:
    Does the application require datalogging and supervisory functionality?
    Does the computing device have adequate processor and memory resources?
    Which system is always online?
    And you`re right the smalles time interval you can see in the timestamp is 1ms.!
    What you also can do is working with an enabled "timed out". This might be more performance efficient than reading the timestamp.
    What I don`t know and not find up to now, is if LabVIEW or the OS adds the timestamp. It´s taken from the system time, this looks like LabVIEW is taking the value and adds it. 
    I hope this helps
    Alex
    NI Switzerland

  • RT Target Resources and Distributed System Manager

    Hello all,
    Does anyone know of some potential reasons why an RT target might not publish its CPU and memory usage?  This particular target is a cFP-2200 running a complete installation of FieldPoint 6.0.2 (RT 8.6) including System State Publisher.  For some reason I can't view the memory usage on this target and I haven't been able to figure it out.
    Thanks in advance,
    Jim

    Hello Hillman,
    Thanks for your reply!  I sort of
    figured that this one would go by the wayside and not be answered. 
    Actually, I'm not using RTSM; I'm using the Distributed System Manager
    - It's a relatively new tool that ships with LabVIEW RT 8.6.  In my
    humble opinion, I find it to be much superior to the RT System Manager
    in its own way.  The only downside, really, is that you can't log with
    it natively, but there are ways around that.
    You've
    got some great suggestions.  I definitely was using the correct IP, I
    could target it with LabVIEW because I loaded my application on there,
    and I didn't get any boot errors when I connected.  You're absolutely
    right, too, that the CPU is always maxed out at 100%.
    I
    guess I was perplexed because, one moment I could see the resources in
    DSM (is that acronym valid yet?), and after I reloaded the software
    from scratch, I could see lots of variables on the target, but for some
    reason the system resources weren't showing up.  After no one jumped on
    the question, I went back to tweaking various settings and realized
    that I hadn't rebooted after enabling VI Server.  In fact, I didn't
    think that VI Server would be the issue and hadn't really thought of
    checking there.  My reasoning followed that, if all of the other
    variables showed up, surely it wouldn't be VI Server, but that fixed it.
    I definitely appreciate your getting back to me, though.
    Cheers,
     Jim

  • How to uninstall NI Distributed System Manager 2012?

    Hi,
    My PC started off with LabVIEW 2012 and related modules. After I installed LabVIEW 2013, I uninstalled all the 2012 software that I could find (that aren't dependencies of any 2013 software) through the "National Instruments Software" dialog. However, Distributed System Manager 2012 persists in my system, alongside DSM 2013. How can I remove DSM 2012?
    Thanks!

    Hi Ranjeet,
    I don't remember seeing the installer upgrading my DSM, but I might have missed it.
    After I installed LabVIEW 2013 and other newer software, I restarted my computer because the installer asked me to. After that, I used the National Instruments Software dialog to uninstall LabVIEW 2012 and other older software. Then, I restarted my computer again:
    There were no error messages, but there are now two versions of DSM in my Start menu (you can see all the default icons placed by NI installers):
    All the DSM files are still in my computer:
    I can launch both versions. Their "About" boxes show that they are two different versions:
    How do I uninstall DSM 2012?
    Thanks!

  • Shared variable architecture for distributed crio system

    I have a distributed system consisting of 20 cRIOs and one central server running Windows XP. Each cRIO is a mix and match of AI, AO, DO, DI and TC modules. There are around 200 AI and TC channels and close to 100 AO, DO and DI channels. I need to acquire data from all the AI & TC channels at 10 Samples/sec and log them in the Server. In some cRIOs I have 2 to 3 PID loops, in addition to the data acquisition or generation code. Since a cRIO chassis can have only eight modules, certain PID loops will have to use data of channels that are available in other cRIOs. cRIOs can be turned ON and will be running even without the control server, but facility and test will be started only through the control server.
    We have decide to use LabVIEW DSC for this application and shared variable for data transfer, logging and alarm. We are using the following SV architecture.
    1. Each cRIO will have its own RT shared variables for AI, AO, DI, DO and TC parameters
    2. Each AI and AO parameter shared variable in RT will have its corresponding host shared variable which will be bound to the RT Shared variable. In host shared variable we are enabling logging and alarm option for variables corresponding AI parameters.
    3. In cRIO RT, data is read from the FPGA (using FIFO every 500ms, and we get 5 Samples for each channel) in binary format and scaling is done. After scaling we are updating the corresponding AI RT shared variables using DataSocket write in a loop. In any cRIO there will be only a maximum of 32 AI or TC parameters.
    4.  The server has a mimic panel where we need to display the status of DIs and allow the user to turn ON and OFF DOs. For the we decided to use Front panel DataSocket binding. 
    I would like to know whether there is any better shared variable architecture that we can follow. Considering the number of variable that we are using, will the current architecture cause any performance issues?
    Thanks!
    "A VI inside a Class is worth hundreds in the bush"
    യവന്‍ പുലിയാണു കേട്ടാ!!!

    Hi Mike,
    Looks like you are lucky as you can make use of the great feature available in 8.6. Over here I have 8.5.1 so got to do some of the things the 'hard' way But I must say, 8.5.1 is the so far the best version of LabVIEW I have worked after 7.1 as the crashes are less and less frequent. 
    BTW I faced some problems directly dragging and dropping an RT SV node  to Windows. If the RT code is running and if you try to run the Windows code, it was asking to stop the code running in RT. That's one reason I had to duplicate some RT Shared variable in host and bind them to corresponding RT Shared variables.
    This is the first time I am handling this many number of shared variables. In case I come across some issues, I will post them here.
    "A VI inside a Class is worth hundreds in the bush"
    യവന്‍ പുലിയാണു കേട്ടാ!!!

  • Labview 2011: Distributed System Manager does not load variables in process

    Hi everyone,
    I'm having problems with the DSM of Labview 2011.
    My application consists of a main VI.
    There will be loaded a sub VI in this main VI, which subVI will be loaded depends on the button that is pressed.
    The problem that I have is the following(the problem comes up on a Windows 7 system, on Windows XP system everything works well):
    - When I open a subVI, it will be opened in mij DSM, but it takes a while before it is visible, not immediately but after a while.
    - Normally, when I open the process(in the DSM) of the subVI, the variables that are present in the subVI, should be visible.
    - In this case, non of the variables is visible.
    Is it possible that there is something wrong with the DSM?
    Or do I have to make some changes to my settings on the computer?
    The firewall is off and the DCOM settings are ok.
    I hope someone can help me.
    With kind regards,
    Cheese

    I observed a similar behaviour in case I changed my configuration during development: the variables were not changed accordingly, from time to time.
    The most effective corrective actions was to manually stop and restart the NI Variable Engine service.
    Surprisingly, restarting the PC was uneffective.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011

  • Distributed system manager-could not load sysmanui.dll

    Hi all,
    Whenever I try to deploy variables in DSC, it displays "could not load sysmanui.dll file".
    I checked the location "program files>>National Instruments>>LabVIEW11>>shared" and found it was there.
    I am using evaluation version of DSC but LV is licensed.
    Any suggestion for correcting the error is appreciated.
    Thanks.

    Did someone find a solution to this problem? Whenever I tried to open the DSM I get an error message, screenshots below.
    Please Help!

  • Distribute​d System Manager trend y-axis scale

    I've been trying to monitor some boolean shared variables in the Distributed System Manager.  I've been looking at the trend, but I can't find a way to change the y-axis scale from 0-100.  With that scale, I can't see if a value switches from 0 to 1. Is there a way to change the scale?
    Thanks!
    Emily
    LV2012

    Nevermind, I see that it auto-scales now, the one that I was looking at, I was expecting to change, but it wasn't...

  • Data Logging a programmatically created shared variable of cluster or array datatype into citadel DB

    Hi,
    Is there a way to log a programmatically created shared variable of cluster or array datatype into citadel DB?
    I have attempted to programmatically create a shared variable of type 'double' and was able to successfully log the same into Citadel DB. In the attachment, Please refer to the attached project SV_TC.lvproj and specifically to SV_W.vi for the code that i have used (W.png file shows the dB in MAX and shared variable in NI Distributed System Manager)
    However when i tried the same approach to create a shared variable 'array of double', i noticed that traces are not getting created and hence data logging isn't happening into the Citadel DB. I was however able to write and read the shared variable array without issues. The same is true with cluster datatype also. Please refer to SN_NW.vi for the code that i have used - only difference from SV_W.vi is that i have tried to create a shared variable of type 'array of double'
    One observation is that if i create an 'array of double' or cluster in a shared variable library using the project explorer and deploy, i could see that these being logged into Citadel DB.
    Hence i want to understand what could be done to achieve the same programmatically? Could you please advice?
    Regards,
    Sridhar
    Attachments:
    SV_TC.zip ‏3925 KB

    Why is the transaction happening over remote?
    Because we need the information to be on our database immediately when they submit it.
    I don't know anything about streams or replication.....
    The web database is run by the company that hosts our web site. We use PL/SQL to show the pages and output the html. It fetches the data the customer is requesting from our database, but I'm struggling to get the best way to insert into our database from there.

  • Vision builder AI shared variable sudenly damaged

    Dear Ni users.
    Description of aplication.
    We use NI vision builder AI together with siemens WINCC software. We use shared variables acros NI shared variable engine, so read and write some parameters over WiNCC.
    The  aplication witch was working for more then 1 year, and sudenly we have noticed that we cannot se NOT acces shared varables in WINCC.
    After examine what can be wrong we faund that we cannot so no tags from NI shared variable engine, so we think that somehow something crashed?
    Do you have any similar cases in future. We cannot acces into any shared variables accros NI distributed system manager?
    SEE THE ATACHMENT
    Under localhost the Vision Builder  is mising, like in this white paper from Ni.
    https://decibel.ni.com/content/docs/DOC-18647
    Thank you for help
    Attachments:
    Zajeta slika.JPG ‏34 KB

    Hi Bostjan_1234,
    What is the hardware involved in this setup? Do you use smart cameras?
    Have you tried the standard steps: restarting the system, defining a new tag/variable to see if you can see it in Distributed System Manager?
    I am looking forward wih great interests in your reply.
    Best regards,
    IR

  • Picture Network Shared Variable

    Hi Everyone, 
    I am having a lot of trouble to use the network published shared variable with a picture.
    I always receive the message Unable to locate the shared variable in the SVE, 
    What is supposed to go into the chain \\<machine-name\<process>\<variable> for process name?
    How should I configure it?
    Thanks, 
    Best Regards,

    Hi nick, 
    Thanks for your answer and for your help,
    No I cannot see the variable in the distributed system manager, 
    Nor my VI works with a Shared variable node, see attached screenshots.
    Although I found a more complex but functionning solution transmitting over TCP, I would still be interested to find out why it does not work with shared variables.
    Thanks, 
    Best Regards,
    Attachments:
    Captura.PNG ‏29 KB
    SharedVariableNode.PNG ‏36 KB

Maybe you are looking for