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.

Tags: NI Software

Similar Questions

  • can not access shared folders & printers in windows 2003 server client XP pro sp3 systems error showing path network not found

    can not access shared folders & printers in windows 2003 server client XP pro sp3 systems error showing network not found path.

    After restarting pc for awhile, we can access shared folder & printer but after 30 minutes (more or less) again cannot access. In the printer folder connected printer displays status as long as it is impossible to connect to the win-2003 server. Please help me out of this problem because I support banking sector.

    Hello

    You can find the Server forums on TechNet support, please create a new post at the following link:

    http://social.technet.Microsoft.com/forums/en/category/WindowsServer/

  • RT target does not read shared variable hosted by host

    Hello

    I just started to move my LabView application to a system of RT, and I came up with a problem. When I host a shared variable network-published on the RT target, I can access through vi running on the target and the host (which is good!). However, when I have this host on the host variable (such as by simply dragging on 'My Computer' in Explorer projects or all create a new variable), the vi running on the target RT is not read.

    I wonder if there is a problem with my installation of LabView, or if there is some step I'm missing. Any suggestions would be greatly appreciated!

    My host is running Windows 7 x 64, with LabView 2009 SP1 32 - bit. The objective of the RT is a real-time OS-powered desktop PC. I have attached a very simple project to illustrate this problem: I start 'Target VI' and 'Host VI' at the same time. On 'Host VI', I change the values of the two shared variables: 'hosted host' and 'target hosted. Only the changes made to the target "hosted" appear on the 'target VI'.

    Thank you!

    Andrew

    Take a look at this link (software configuration and firewall hardware to support National Instruments products) and this link (configuration of firewalls and routers network address translating shared Variables) to see if this highlights exactly what you need to explain in your application regarding the definition of the firewall exceptions.

    David has.

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

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

  • Impossible to programmatically access a shared variable

    Hello

    I am attaching a file in project where I created 2 shared variables

    When I try to access it programmatically im getting this error "error-1967362038 occurred to read Variable in Untitled 1." "vi IAK_SHARED: (Hex 0x8ABC700A) not found."

    can someone tell me where im going wrong?

    Woof...

    found the solution

    has not deployed the library file containing the shared variable

    After you deploy the library file so I was able to programmatically access a shared variable

  • new variable networked shared in my computer, but not in the shared variable engine list

    I have a Variables.lvlib shared on a cRIO target and test algorithms when I don't have access to material cRIO. Thought I could do a new project, add the library to the windows target (workstation). I need to add a few additional variables, I did in the original (i.e., while the library was the target in real time). Then create a new project and added the lvlib to the project (under my computer), and then wrote a VI to write in these SVs. When I let fall a constant Variable Refnum shared on the block diagram and browse for objects variables under 'Variable' Motors > ni.var.psp > localhost > shared Variables, list of variables shows everything except the 6 new variables. When I switch the view 'Current project', I get the same variables for new list WITH THE 6. However if I select the variables in the list and run the VI I get an error-1950679035 impossible to locate the variable in the shared Variable engine. Of course, I forgot something, anyone out there set me straight?

    Thanks for your time - lmd2

    Hello Lawrence,.

    Looks like you'll have to maybe just to deploy the new variables - refer to this document:

    LabVIEW Help: Making static Variables available on a network

    http://zone.NI.com/reference/en-XX/help/371361K-01/lvconcepts/sv_deploying/

    Hope that helps!

  • 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

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

  • shared variables does not not on PC

    Can someone tell the attached page, why my single variable sharing does not work with the LabVIEW application that I'm running on my PC. I put the variable 48 (I thought), and again in la OR Distributed System Manager, the value is not changed.

    Reset that my PC seems to have understood things works better. The VI is now able to read/write the shared variable.

  • cRIO and 9234 modules do not work or communicate via fpga with accelerometers, fpga, connected to the real-time application is also related to shared variables related to modbus slave

    Hello

    I have a compact rio, which has a 4 way frame this chassis is the three modules of ni9234, they are related using FPGAs for application in real time, then using shared variables in the low-speed loop associated with a slave modbus to communicate with the domain controllers, the nor 9234 accelerometers linked to them with option ac coupled iepe on c modules , my problem is the real-time application seems to work well even when power loss occurs it restarts without problem and the fpga written hard disk portable bin files very well, but without an accelerometer connected I get readings of low noise as soon as I connect an accelerometer to one of the outputs 10 it just goes to a fixed number (0.03125) as soon as you unplug it again He returned to readout noise, I ran a scan on the modules and get only a spike when I connect or disconnect the accelerometer, I tested voltage at the pins on the module and I get 22 volts CC which makes it more likely that the material is not the problem, but software is perhaps the cause to hang up, I join the project and files for your perusal. I also realized a new project which, in mode directly linked scan has the module entry in the shared variable and the scenerio even once again. Help would be appretiated.

    Thank you very much

    Jason

    Whren using waveform with the 9234 acquisition, we recommend the following FPGA and RT model.

    http://sine.NI.com/NIPs/CDs/view/p/lang/en/NID/209114

    It can be extended as a datalogger with:

    http://zone.NI.com/DevZone/CDA/EPD/p/ID/6388

    or using shared variables combined with the analytical engine

    http://zone.NI.com/DevZone/CDA/tut/p/ID/9851

    The FPGA in all this, as well as the framework of RT have used successfully by 1000s of users.  I recommend giving these a try.

  • "Not a valid error code" when you create a shared variable of data type custom

    I am trying to create a shared variable with a data type of a 2d double table. I created a custom control that contains a table with a numeric type for this 2d. Manager of distributed system v12 I select 'add a variable', then select 'of the custom control. Once select my control I get the following error: "invalid data type. You want to choose a different data type. Any advice as to why it doesn't work? Thank you.

    This seems to be recorded in the CAR #405941.  All this is a bit strange, but I'll try better possible workaround solutions I can.  I tested a large number of these myself, and here is what I found.

    1. make sure that the custom control you did was created in 2012 of LabVIEW or you save it in an earlier version.  If you save on an earlier version, you may also open the .ctl in LabVIEW 2012 and resave it (I needed to do).  I tried to create my own control in 2012, as well as save the control to a previous version, the two worked, but I don't end up with the same result (I don't understand this, but I wanted to mention it so that you know).

    2. it seems that you are able to make the variable shared by program by modifying the example of the community to adapt to your needs.  If you do not need to create many variables it may be the best option if it works for you.

    I would also try adding the variable of the LabVIEW project, you are working on that.  It wasn't a direct troubleshooting step but there are several ways of doing things in LabVIEW and, sometimes, one of them is working while the other does not.

    Edit: Example of community is here https://decibel.ni.com/content/docs/DOC-16863

  • 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

  • Binds a shared variable to a NOR-PSP data object does not work

    Hello

    I want to share data between a RT-target and one or several hosts (LV 8.6.1). Shared network variables are deployed to the target RT.  According to NOR to access shared another project or host variables must be done by defining a variable shared on the host computer and the aliasing they NEITHER-PSP data object on the target.

    I did and the shared host variable was an error (0x8BBB0011) during execution.

    Next I have an alias to a shared variable, deployed on the host to another project. It worked.

    Another thing I tried was to bind the variable of the RT-target to a display element:

    This works! And as you can see that the path of the NOR-PSP data object is exactly the same thing! So, what is the difference between linking a data object to a shared variable and a display element?

    Is there a bug in the EVS, or am I missing something here?

    Home project:

    The VI editor

    Hope someone has an answer.

    Concerning

    Matthias Quade

    Dear Mr. Quade,

    Thanks for posting on the Forum of National Instruments. There is a known issue with the path of the linked with LabVIEW 8.6.1 variable

    Please download the patch for LabVIEW 8.6.1, it should solve your problem:

    http://Joule.NI.com/nidu/CDs/view/p/ID/1255/lang/de

    Best regards from Munich

  • shared folder t could not access gives error that you have not permission to use network resources

    folder t couldn't access gives error that you have not permission to use network resources while I connect with administrator

    Hello

    1. were you able to access the folder shared earlier?
    2. don't you make changes on the computer before this problem?
    3. What is the full and exact error message?
    4. how the computers are connected?

    Please answer these questions and provide us with more information. This could help us help you better. However, you can view the Sub articles that may be useful.

    Error message when you try to access a network Windows XP computer: "you might not have permission to use this network resource".
    http://support.Microsoft.com/kb/913628

    You cannot access shared files and folders or browse computers in the workgroup with Windows XP
    http://support.Microsoft.com/kb/318030

Maybe you are looking for

  • turn off errors modbus verification

    Hey,. I am trying to connect to a temperature logger series Omega ir2c without success. I just talk to Omega, and they think that the problem is that the amount of data that produced this series does not match normal Modbus quantity if I get modbus,

  • How to fix an incorrect header which stops at my cpu

    My cpu turns blue screen to make me aware that it stops it happens so quickly that I can read only a few words on this screen... I had a chance to read the bad sector of words, how can I stop this from happening and is my cpu infected I do not have t

  • Printer wants me Fax

    My printer HP6500A more recently declined a box on my screen telling me I want something I try to print, for example an email fax. When I cancel the box of fax printer yet weill not print the page. It started right after I sent a fax manually. How ca

  • Windows Vista SP2 install error code 80070002

    I even tried to delete the temporarory he began to download the files obtained at 30% and everything stopped. and now, you can download sp2. What should do?

  • Force 10 GbE 10/40 MXL: one port can be marked and not identified to any VLAN different at the same time?

    Dear all, I have to configure a 10/40 GbE switch MXL. In my scenario, each port 0/1-12 has access to 3 different networks. 1. Management (VLAN: 10) 2 storage (VLAN: 11) 3. Admin (not identified) I can assign ports to access many VLANs. (labeled tengi