shared variable of mutual FUND not updated of DSC

Hello world

I have some problems with shared variables and the OPC Client IO server functionality in Labview 8.6.1. I have the DSC module installed as well.

I use a lonworks OPC server a company called us. I am able to monitor my traffic lonworks successfully using this software. I set up a server of e/s of Client OPC called Lon server in my library. From there, I've added a shared variable called nvoUI [1] in a simple VI. When I run this VI, I get no errors or warnings, but I have also no output, either in the data field or the timestamp. I read a lot of documents on the forum and knowledge base, but I could not do this work.

I have attached a picture of my setup project and in my opinion of OPC server, along with a photo of my diagram VI and the front panel. I hope someone can help.

Thank you

Dale Borelli

Just to wrap things:

I realized that my problem was multi-party.

(1) suggestion of the cancellation of the deployment of all of my libraries deployed Charlie was a good, I got a lot of active libraries which were all referencing the same variables on my OPC server, which may have caused problems. I knew not that libraries remained deployed, a bit silly, I assumed that they were cancelled when the associated project has been closed.

(2) I didn't know at the time, but I had several copies of my OPC server on my local machine. A copy has been started automatically in the background when I started to labview. It does not appear in the taskbar or system tray. I only found it by looking in the Task Manager.

By cancellation of the deployment of my unused libraries and a second instance of my OPC server won't start not, I could get my shared variables to work properly. Thanks for your help Charlie.

Dale

Tags: NI Software

Similar Questions

  • shared variables crio RT does not not after compilation

    I have a cRIO project that uses static variables. There are variables located on the host computer and a double set of variables on the RT.  While the project is open, everything works fine. I can DL the FPGA VI for flash, deployment and execution, the value of the RT VI car can run my desktop VI in EXE application.

    Once that I close the project window and close labview, the office program (host VI) will work but doesn't get over all values of the shared variable. I have read all the FAQs and have contacted technical support (which was told the fair questions).

    Apparently I'm supposed to add code to the RT VI to deploy the shared variables in the RT the RT VI executing. When I try to do, the variable deployment method requires a path. I don't know which way to turn in.

    Any ideas?


  • How to deploy target (Crio) shared variable configured RT chassis, NOT of LIBRARIES

    I have a PC, connected to a switch RT target (Crio) THROUGH 5 port host.

    I want to be able to run a program on the host computer, that will load and run a RTexe on the target of RT.

    However, I want to be able to load and run different RT exe, which have different chassis configuration variable. Scaling, PWM DIO, ect... may be different from one program to a program for different channels.

    I know how to deploy libraries, but how do I Deploy/undeploy the chassis configured static variable?

    Hi teslaaaa,

    The attached photo, it seems you're looking for your e/s Scan Mode programmatically. We have a white paper section that deals here. The first section of the article discusses discovered by program your I/o modules, which you will get a reference to your modules. Then you will be able to configure the modules with nodes of this reference property.

    Let me know if it helps!

  • published RT cRIO-9030 with network-a project of shared variables cannot communicate with host VI when compiled and deployed as executable startup.

    I have a project including a VI RT running on a cRIO-9030 and a host VI running on a desktop computer.  The two programs communicate via shared variables that are hosted on the cRIO.  As shows, when I run the screw of the project, everything works as expected.  When I compile the RT VI in a start-up executable can deploy for the cRIO, as well as the libraries of shared variables (the record of support in the build specification-oriented), I am unable to connect to the executable running in real time.

    I have 'Disable Autodeploy Variables' checked on the cRIO target, if I no longer get the prompt to stop the currently running application to deploy the variables.  The host VI opens and appears to run, but has no connection with shared variables (data does not update).  Compilation of the host VI as an executable file and it works outside the project result in the same behavior.

    I read some relevant posts / knowledge base articles related to this problem, but still can't seem to find a way around it.  I note a number of articles on the series in double bond of variables, but this is in contradiction with my possible behavior for this system: I finally have a number of cRIO controllers identical all runnning the same executable RT and want to be able to have a single host VI which allows the user to select from a list of available controllers (using the screw system configuration) and extract the host name of the controller selected, that would be later used for programmatic addressing of the variables on the host of part VI.

    In any case, I want to start with the simple fact of being able to get that first controller running without an open connection to the RT VI project.  With the deployed executable start, I checked via programmed behavior of LED application of the RT and FPGA are running on the cRIO.  The problem, I think, has to do with shared variables, but I'm not sure where to go from here.  I want to connect to RT executable running from the VI to the host (in project) to verify that the compiled executable of RT works as expected and then the subsequently compile host VI in an executable that can be run from any desktop on the local subnet.

    Thoughts?

    It seems that the error has now been corrected.  There were three things, I changed: the file startup.aliases in the startup on the target directory (Home: / lvuser/natinst/bin) put in 'localhost' as an alias for the controller.  I changed it to the IP address of the controller.  Then, I got some features of IO files in my application RT relative paths using the path obtained by the 'current path VI' VI.  As this path changes according to the location / delivery system, I had to create a VI that has used the Application property: type with a case properly structure band / build railroads desired regardless of the runtime system data files.  This may have broke my RT request.  Finally, I got a property node in one of my RT SubVIs, who attempted to change an indicator in the Subvi, which is not taken care of in an RT compiled executable.  I can't do this for debugging purposes somewhere along the way, but in any case, I removed it, and after a recompilation and the deployment of the executable of RT, everything seems to work as expected today.  The host VI on the desktop can connect to the application of the RT project, and when it is compiled into an executable file, which also works.

  • shared variables stops when I use RT Set date and time.vi

    Hi all

    I have a problem that I can't solve. I run a project of RT on a PXI-8106 module using LV8.5. I used shared Variables to transfer data to and from my host computer for about 6 months with no problems. Recently I neeeded to the synchronization time RT with my host PC of time (to collect time-stamped data of the target RT) and I decided to use the "RT set time and Date.vi ' both before the beginning of each synchronization test.

    As soon as I started using this vi, I noticed that my shared variables would either stop updating, or slow down considerably (this includes loss of data during the transfer of data between the PXI to host PC with shared variable). I do not receive any errors or warnings from any of my shared variables, and no errors are generated when using the RT set time and Date vi, so im at a loss for where to start. Ive disabled this feature for now and my system works well again, but I want to get this to work because the timestamps generated in the data by the RT system are out and I need a method to synchronize the time with the host pc.
    Any ideas would be appreciated,

    Thank you

    David

    Thanks for the info. I'll avoid upgrading to 8.5.1 at the moment so I'll just remove the VI. Instead, I create a 'elapsed time' timestamp which should do the job.

    See you soon,.

    David

  • Event does not work when I have my variable of variable mutual FUND!

    Hello

    I programmed a labview vi to add a field to a list view when a Boolean variable value is changed. I used a case Event (value change event) structure to determine if a variable value is changed, it works when I force the Boolean control with my mouse click, but it does not work when the value of the variable is modified by the mutual FUND. What should I use instead?

    Value change events are based on the interaction of the user (or the same ejection programmatically based on the value property node (signaling).)  It is not based on a control change via a regular, variable property node local, terminal or any other connecito0n programmatic or binding.

    You must simply query the variable and determine when it changes.  In this case, you can then use the node value property (signs) in the case of event fire.

  • Embedded FPGA vi - network shared variable not updated

    Hello

    I work with an ethernet RIO 9149 of data acquisition. I use a hybrid programming mode.

    I have a very simple FPGA VI that I downloaded on the flash memory. I used the indicator led to show my VI runs once the power of the RIO. Everything is fine, except that my shared network variables are not updated in the DSM ("no known values" displayed). However when I run the FPGA VI of my laptop, only once then stop and close (with 'interactive execution'), then my shared variables are updated in the DSM.

    Any ideas why is this and how do I get the RIO update automatically shared variables without having to run the VI once?

    Thank you very much.

    Hello

    I did a few tests and research and discovered that it doesn't seem to be possible. It is important to note the difference between Network-Published static (NSPV) and Variables of e/s of Network-Published.

    The other are "user defined variable I/O" to communicate between FPGA and RT (RT absent on chassis Ethernet as the NI 9149) host. If these variables are checked to be published-network (in properties). They are accessible by VI running on the hosts of the same LabVIEW project, so you need to run a VI to access, as you mention. This is explained on the next page, Variable IO data custom FPGA of e/s (real-time Module or Module FPGA):

    https://zone.NI.com/reference/en-XX/help/371361H-01/lvioscanhelp/io_vars/#user_IOV

    I did find a way without a host (host RT or Windows PC) running a VI. If you have a cRIO with RT and NPSV host in the RT VI it is possible.

  • Why is portfolio not updated quotes from mutual fund manager?

    For the last week, Portfolio Manager is not updated my registered quotes of the mutual funds in any account.

    Hi John,.

    What Portfolio Manager are you using?

    If you use the MSN Money Portfolio Manager, you can contact MSN support for assistance.

    How to contact MSN customer service

    Hope the helps of information.
    Please post back and we do know.

  • shared variables does not

    Hello, I'm writing because I'm having a problem with the use of shared variables. I am doing a project for College and I use the DSC for his shared variable function. The problem im having is that shared variables do connect it no more. I followed a document "Getting started with LabVIEW Datalogging and supervisory Control Module" and managed to build an IOServer and shared variables in accordance with the document to deploy successfully. It was a few days ago. Today when I opened the project file even shared variables would not connect. IM also having the same problem with other projects that I made over the weekend that worked, but do not work now.

    Does anyone else have this problem?

    Hi Justin,

    I am pleased to see that you are able to work with your LabVIEW installation now. 0x0000002A error message reported only in what concerns the communication between the shared variable engine and part mutual FUND of the DSC module is blocked.  This was usually resolved by inspecting the security settings Windows for the firewall, as discussed earlier.

    As for your second question, it might be better to start a new post.  However, please specify what files you want to move and what wisely win. Where would you like the directory that is to be held and for what benefits?  If you are hoping to achieve a gain of performance or similar, there may be different approaches other than moving files.

    Kind regards

  • Do not access shared variable

    Hello

    I have a host (exe) application that uses variables from shared network to read the values of an RT application on a target of cRIO (exe all built with LV2010). The host application uses a method node to deploy the shared on RT target variable library. As I run this application on the pc where I have the development system, it works fine... when I put the application on a pc with the LVRunTime only, get a strange behavior: node library method does not return an error with the Distributed System Manager, I see shared variables actually deployed on the target... BUT the application of the RT is unable to update the shared variables!

    At first, I thought there was a problem because the target RT boots until the library is deployed by the host application, but it works on my development pc. So what don't understand me?

    Thank you for any clue,

    I'm sure that you can not deploy the hosted cRIO SV programmatically. This must be done by the project.

    Try to start over again, cancel the deployment of all libraries in the project and redeploy it manually.  Remove your method "deploy".

    and then check that your RT code is updated the NSV using DSM.  Then, try to read or write of NSV from the host application.

  • How to make a shared variable, which is an update on the host channel?

    Hi all

    I'm relatively new to LabVIEW, so I apologize in advance.  I'm working on a vision for research application and I'm trying to convey an image of the smart camera target to the host.  I flattened the IMAQ image to a string and pass the string to a shared variable.  On the end of the host, I unflatten image and try to post to see if I don't really get the image data on the host.  However, it only displays the first image and after that the image is not updated.  In addition, the shared variable itself is not up-to-date.  I have a loop timed on the target and a loop of simulation on the host.  Help or direction would be appreciated.

    Thank you very much.

    I thought about it and will post here just in case it might help someone else.  For some reason, the IMAQ flatten channel gives a format that did not like the unflatten of the chain.  When I have no flat chain, it didn't recognize it as an image.  Instead, I just used the generic flatten the string on the target and then block when I have not flattened image on the host computer, I had to only give the guy I got to report the allocation of memory IMAQ.  Maybe I'm just slow, but if this helps someone else, fine.  Thanks again.

    mkillpack

  • Update of address of the card "shared Variable.

    Hello Experts!

    I have a question about shared variables:

    Now I create a variable Shared (81O_G01) in the library, and it is related to:

    My Computer\SVCREATION.lvlib\Modbus1\410611

    Question is: How can I change this address SV (410611) when tha variable has already been opened?  is this possible?

    Thanks in advance!

    Anibal

    Hey Anibaldos,

    Looks like you're trying basically change the binding of a /A1 to /A2 variables at run time. I think that there are a few options for this:

    (1) in LabVIEW DSC, you can access a hosted variable and change the link address by using a property node. If you run the server modbus on a windows machine, this is the best option. Otherwise, I'm guessing you don't have a DSC. If this is the case you can always edit links by editing the library manually, but it seems that this will not help you.

    (2) it may be possible to open a variable connection shared using pallets (Data Communication > shared Variable) to this specific address, to which cases you have no need to use the shared variable. You can simply open a connection to two addresses different modbus and read one or the other as needed.

    (3) if #2 does not work, then I think you can still use datasocket API to perform such an operation. There is a bit of research you need to do to use it (for example, URL editing and UI thread problems), but it does not work. In my opinion, this is the approach taken by this document: https://decibel.ni.com/content/docs/DOC-13508 (I know from experience, you have to dig a little to find the screw, but they are there).

    (4) you can use the Ni Labs library: http://ni.com/labs

  • VI refuses to run when the published network shared variable is not available

    I have a VI of logging data on my PC that gathers data from several sources, including several shared variable published network hosted on an RT target.

    The problem I have is that the data logger VI refuses to start if the target RT is disabled and the VI is abandoned if the network connection is interrupted.

    Is there an easy way to detect when running, be published these variable network are available and use a placeholder value, if they are not rather than the current behavior of refusing to work?

    I saw many people using data sockets, but I try to avoid the overhead of setting up and testing a loop of treatment relatively complex network on both ends when the network has published shared variables are so simple to use and works perfectly as this abnormal behavior.

    You can replace them with programmatic access (shared variable aperture and friends) and the dummy data placeholders if the variable is not accessible.

  • Executable does not connect to the hosted PXI shared Variables

    Hello

    I'm developing an application to run with RTE 8.2.1 on Windows XPe machine. Data are passed through network shared Variables in a target RT PXI. I developed on a laptop with the top Suite Developer Pro and everything works wonderfully here. When I create a program installation (and an EXE version) and on the port to the XPe machine, variables don't connect with each other (as seen to drag the control to the public Service, view the small arrow to the right to the status of the connection). I think it's due to not having the right drivers on the target XPe. Do you have any suggestions as drivers that I should include in the installation properties? I currently have:

    OR LabVIEW 8.2.1 RTE

    Engine OR Variable

    And NI-DAQmx is already installed on the machine (I think... a previous installation, the wizard sees a newer version about this than what I'm trying to install). I have also included the library with the shared variables in the properties of the EXE in the part of the Support files.

    I know this is a very old version of LV, but if you have ideas, or things to check, I would be very happy to help.

    Thank you!

    I understand the problem!

    In the structure of the Project Explorer files, I had included the buttons under the heading of the library (HMIvariables.lvlib), with the rest of the variables. I guess when you try to deploy by programming, he's trying to deploy the control files and get the dreaded error 1. I moved out of the library control files in Project Explorer and it fixed the issue and deployed the library, as verified by the Manager of shared Variable.

    I got 1 Core 3, and on the RT 1 and 2. Nobody never mentioned against it and could not find any documentation talking about do not do. I hope it helps someone else!

    Thanks for your help.

  • datasocket read stop but shared variable can be updated

    Hello

    I program with datasocket open/read, sometimes stops playing and after some time, maybe 10 seconds, it go on reading, I compare with variable shared (DSC) and found

    the shared variable can be updated, I don't know what happens to my program.

    (the reason why I want to use datasocket is that I need to dynamically change the ULR, I have several OPC tags to read (automata 100 times 80 labels per PLC))

    Thanks for your help!

    Hi ~

    The reading function is expecting that the items to be updated, and 10 ms is the default time for this expectation. Affecting false wait the update value will probably solve this problem.

    PS: Variables URLS could be changed programmatically, see this document if you wish.

    Nice day

Maybe you are looking for