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

Similar Messages

  • 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

  • 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

  • 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

  • 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.

  • 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!

  • 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

  • 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!

  • How can I write to a Siemens S7-300 PLC tag from OPC Server.vbai page by using a Knob object ?

    I am using NI OPC Server and I can read Siemens S7-300 PLC tags such as thermocouple values from the PLC. Additonally I can write manually a constant value to that tag by selecting it in the NI Distributed System Manager. And I can read the written value from NI Distributed System Manager or from NI OPC Server. But I can not write any value to the S7300 PLC tags such as by using a knob object at the NI Vision Builder AI Inpection (.vbai) page.
    Any help is welcomed. Thanks in advance.
    Attachments:
    manual_writing_to_plc.png ‏298 KB

    The tutorial at the following location explains how to use Vision Builder AI as a OPC server.
    https://decibel.ni.com/content/docs/DOC-18647
    http://www.ni.com/white-paper/13574/en
    To allow VBAI to connect to an OPC Server (i.e. act as an OPC client), you need to purchase and install the DSC Run-time System.
    Once installed, you can create an OPC I/O client using the Distributed System Manager, create variables bound to OPC tags, then create VBAI network variables that are bound to these variables.
    Another possible technical solution to connect to OPC Servers supporting Data Access 2.0 is to use the datasocket API in a Run LabVIEW step.
    http://forums.ni.com/t5/Machine-Vision/Read-and-Write-with-OPC-through-NI-Vision/m-p/2048278/highlig...
    Hope this helps.
    -Christophe

  • Trouble reading OPC Server values with Labview

    Hello there,
    I am currently working with Siemens Equipment : a Simatic Microbox with an OPC Server.
    I would like to read some variables' values provided by the OPC server with Labview 2012 (and DSC module), but I'm experiencing some difficulties.
    I have set up my OPC Server as an I/O Server in a Labview projet. Then, I have created some Shared Values to treat them in Labview.
    In the Distributed System Manager, I can read NI OPC Client Status :
    Active -> true
    Connected -> false
    Enable logging diagnostic information -> false
    OPC interface version -> OPC DA-3
    Server ProgID -> OPC.SimaticNet.1
    When I want to check any Shared Value, I have the comment : Server Failure.
    I think DCOM/COM configuration of the client and the server are good (I can correctly read values with Siemens OPC Scout).
    Maybe the issue comes from the connection between the OPC Server and Labview.
    Has anyone had a similar problem ?
    Thanks in advance,
    Jeremy

    You don't specify whether the server and the client are on the same PC or not.
    I recently run in a situation where the Matrikon client was able to read from a remote server while the Labview program (using Datasocket) could not.
    I suggest to try with Datasocket vi's to see what happens.
    Paolo
    LV 7.0, 7.1, 8.0.1, 2011
    Attachments:
    Read OPC variant.vi ‏17 KB

  • NI OPC server no DSC

    I have been digging around for a while and am having difficulty finding anything that shows me how to get my tags into LabVIEW. I have the OPC drivers for numersou PLCs and are connecting to a GE 9030 (specifically a 341 model). I have set it up in the NI OPC servers and can communicate.
    How the heck to I get the tags into LabVIEW. Everything I find using IO Server which is part of DSC which I do not have (and do not plan on getting). I was led to beleive this would not be difficult to read tags in any PLC using these drivers... Any help is greatly appreciated.

    The link that Brian provided:
    http://digital.ni.com/public.nsf/allkb/DD1E23328AF0A303862570A4006F4134
    states the following:
    "If your application uses a subset of the DSC Module that does not
    require the RTS, it is still necessary to include the Enhanced DSC
    Deployment Support in your installer.  For more information about which
    DSC functionality requires the RTS and which does not, refer to the
    related links."
    One of those links was this one:
    http://zone.ni.com/devzone/cda/tut/p/id/3061
    Which states:
    "The LabVIEW DSC Run-Time System correctly installs the necessary and
    additional software as well as provides all the configuration tools,
    the Tag Engine, historical data logging, network data access, security,
    and other features provided by the LabVIEW DSC Module."
    There seem to be 4 components here:
    DSC Development System (~$2600)
    DSC Run-Time System (~$800)
    Enhanced DSC Deployment Support for LabVIEW 8.x (free add on installer when you have DSC Development System)
    Enhanced DSC Run-Time Support  (Can be checked inside LabVIEW project when you're building an application)
    Which features can be used in a deployed application (EXE) without purchasing the $800 DSC RTS (Run-Time System)?
    When do I check the "Enable Enhanced DSC Run-Time Support" box when I build the EXE?
    When do I include "Enhanced DSC Deployment Support for LabVIEW 8.x" when I build my installer?
    OPC is not listed above with "configuration tools,
    the Tag Engine, historical data logging, network data access, security".
    Can I bind a Shared Variable to an OPC tag without DSC Development System or DSC RTS?
    I seem to be able to deploy a library with my OPC I/O server (which I created with my DSC Development System) and a library with my shared variables to the target PC.  However, when browsing with DSM (Distributed System Manager -- which I downloaded and installed on the PC), while I can see both server and variable processes, the I/O server is not listed under the server process.  The dependent shared variables are listed in the variable process.  There are no variables included in the server LVLIB.  All dependencies reside in the variable library -- which seems to be deploying fine, despite some admonitions indicating the contrary.  The library with the server may not be deploying because I need the DSC RTS to deploy an OPC I/O server.  This same behavior has been duplicated on a PC with LabVIEW without DSC installed.
    Clear as mud?  Thanks for the help!
    Message Edited by LabBEAN on 02-13-2009 05:31 PM
    Certified LabVIEW Architect
    Wait for Flag / Set Flag
    Separate Views from Implementation for Strict Type Defs

  • OPC Server S7 1200 cannot pass data to VI

    Hi,
    I use siemens s7 1200 plc with labview 2011 and Opc server 2012. I can connect to opc server and create tags. Moreover, I am able to see data changes with quick client.
    The problem when I try to create I/O server and bound with shared variable, I pass it to VI. All tags are zero, I believe there is no communication to servers. Although there is no error message. Any suggestions?
    Please see the posts
    Attachments:
    Vi.JPG ‏43 KB
    server.JPG ‏37 KB

    Hello sir,
                   We are too handling a project and stuck with the same problem. The OPC quick client shows the updated value but while using the opc variable in the labview it doesn't shows any changes , So please help as with some good solution.
    AEI_JR wrote:
    I'm late to the party, but if you need to troubleshoot OPC communications, you should start with opening the OPC Quick Client.  Check there to see if you have good connectivity - if it is broken there, you will never receive data to LabVIEW.

  • 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...

  • How do i get rid of old files previously networked to Distributed Sytem Manager so as to create a new network file, all files have been deleted off my laptop already?

    6 old network files keep showing up in Labview even though they have been deleted from both labview and removed from my laptop. Why does labview insist on keeping them in this history as now it will not allow me to network a new file
    All help appreciated.

    Got this issue resolved, basicaly what was happening was in the distributed system manager old copys of libraries which I had created previously and deleted kept showing up in my networked items and i could not delete them, what i had to do was to stop process and remove process on any that were showing up then reboot my laptop and this deleted them off the system altogether, this was time consuming for me as I had a load of old libraries to delete before i could network my new library. Eventually got it working after my laptop reboots.

Maybe you are looking for

  • How to add layers from different images?

    I would like to use layers from several images in a single image. The idea is to give an x-ray view so that you can see images of different views of an object by selecting the opacity of the various layers. It would be similar to an image of the anat

  • How to get pixel data in the format I want

    I'm writing a format plug-in and am having some difficulty getting the pixel data from photoshop in the format I want. From what I gather from the documentation in the SDK I need to specify the following to tell photoshop what format to deliver my pi

  • Changing text in a photo?

    Please forgive me if this is in the wrong place, new to PS and this forum. Can anyone tell me if or how you can change text in a photo? I have a picture that I took of a store front with a neon sign. I want to be able to change what the neon sign say

  • CSS '%% The File System is not mounted.' error.

    While I first thought that this was a hardware problem, I've had it happen to 3 of my CSS 11503s in the last 2 weeks. I logged into the CSS and found that the prompt had gone back to the default prompt. Upon further investigation, I was not able to d

  • Dynamic JTabbedPane using Reflection

    Hi all, First time posting... I am wanting to created a dynamic JTabbedPane that creates its tabs with dynamic objects, these objects are defined at runtime. I have searched the forums and got this far but I am having trouble with casting the Method