Network of myRIO Variable deployment

Hello

I just wanted to check how to do something.

I have a VI I created myRIO who has used a number of variables published network shared. These variables are hosted on the myRIO. I create the app and it deployed to the myRIO as a startup application.

I can see the variables under the myRIO on distributed systems manager.

In order to access the variables of a LabVIEW application separate executed on the PC, I have to re - create the variables to Aliasing. (right click on the node of the library-> create tied Variables..)

Is this correct?

Thank you!

Hi Nick,

You can use screws of the shared Variable Palette to access the published network shared Variables. They are in data-> palette shared Variable Communication.

In this case, you will need only to open the variable connection providing the refnum, containing the name and IP address of the myRIO and the data type of the variable.

Thank you

AREV

CTO | RAFA solutions

Tags: NI Products

Similar Questions

  • Shared Variable deployment error

    I need to use Variables shared in my code, and when I try to run the code I get the following error.

    My computer deployment
    Ventilation Library.lvlib\\169.254.192.23\Ventilation library of deployment deployment has failed (error:-2147220712, MAX: internal error (Hex 0 x 80040318): the customer has failed to connect on the server configuration, perhaps because the server is too busy or encountered an error of communication.) Note: the steps that you did which led to this error and contact technical support).
    Completed with errors of deployment

    The code was working yesterday with shared variables, but it won't deploy today and I can't imagine any changes that I made to do this. I tried to run the code on my cRIO and the PC. I have used amd 2015 2014 and I get the same error on all.

    Any help with this problem would be great.

    What is the IP 169.254.192.23? It looks like an auto-negotiation-to-peer (e.g., crossover) connection IP or the IP address of your computer on the network?

    Is the library with shared variables located under 'my computer '? If you right click on 'my computer' in the project - he shows here? IP address you think it correct?

    If you check the custom address 'specify' and put 127.0.0.1 (loopback IP address), it works?

    I also look in Windows Services and verify that the shared Variable service (and other services OR that it requires) are running.

  • I can't create a network with MyRIO

    Hey guys,.

    I have a 1900 MyRIO and I want to create a network, but I don't have this option as you can see in the picture.

    I can only choose between: 'disable' and 'connect with the wifi network. On the second picture (which is fixed), you can see my software installed on MyRIO.

    Maybe you guys can give me a clue what I need to change to be able to create a network

    Greetz Slev1n

    http://digital.NI.com/public.nsf/allkb/627507F4737474F286257CB4007984C6

    This feature has been added in OR-RIO 13.1.  Your installation shows you to 13.0.

  • network Publish shared variable

    I'm hosting the OAS of a sbRIO engine, developing with LV10.  I share an array of Boolean values on the sbRIO and I need to be modified by (1) the sbRIO by programming the control array, and (2) a LV GUI running on PC graphically (i.e. option boxes).  I share the table and PC HMI can connect and view the States of the button as established by the sbRIO, but when I try to click on one of the radio buttons, the sbRIO seems to outweigh demand and turn the reverse button (I know demand is through, I see a very rapid change in the State of button/table on a temporary HMI connected through the sbRIO project).

    Do I need a separate shared table for applications for PC/HMI that I must then analyze via w/Combinatorial logic and find the changes then send updates until the sbRIO to write in the "master" control programmatically array?  Or is it a type of feature for arbitration to a shared Variable NP?

    THX

    Hey Atlas,

    This looks like a problem that arises from the conditions of competition, access to shared variables. You always read or write variables in a loop on each application? If the Boolean values are poised to the HMI, you must use a "send" or the "write" button that writes to the shared variable. If the HMI application is constantly reading and writing to the shared variable, you can overwhelm network variable motor and see problems like these. If you still have problems, feel free to post your screws or block diagram screenshots so that we can see what you're doing.

  • Shared network stuck real Variable

    I have a Boolean NSV on a cRIO which now seems to be stuck in a real state.  All Vi on the cRIO are arrested, LV is closed on my system and development still in the DSM, I can try to set the variable to False and it will jump to True.  I have not (should not) have all bindings to this variable.  It would be nice to be able to get a full view of the internal state of an NSV engine to see if there is some weird cross or stray deployed variables.  Has anyone seen a probem like that?  BTW, I'm under LV 9.0f2

    OK - problem solved, (which was to have my coffee before posting).  Just forgotten a remote GUI running and caused the mysterious behavior.

  • Shared library error Variable deployment-2147220735

    I had to reinstall my whole LabVIEW installation, where my SSD was about to fill. I uninstalled everything and freshly installed everything on a larger hard drive. Unfortunately, I now get an error message and am wondering what I have to reinstall.

    When I want to deploy a library shared in LabVIEW 2014 32-bit Variable, it returns an error:

    Initializing...
    Calculating dependencies...
    The checking for conflicts. This may take some time...
    Prepare the items for download. This may take some time...
    My computer deployment
    Deployment deployment test.lvlib\\10.0.10.45\test failed (error:-2147220735, MAX: internal error (Hex 0 x 80040301): the specified class is not found in the configuration database.) Your installation may need to be repaired.).
    Completed with errors of deployment

    Any suggestions?

    Have you tried a repair, which sometimes works but sometimes a completely uninstall and reinstall is necessary. Have you tried to repair only the proposed below KB file?

    http://digital.NI.com/public.nsf/allkb/67E896D850D988C286257811005FEFF5?OpenDocument

    As you can see the same error in Distributed System Manager the quickest solution would probably be to uninstall LV and the drivers and reinstall them just. If the KB above does not work.

  • Network published simple Variable help

    I am writing a program to be a 'LabView wrapper' for iperf

    I need to run iperf server and client iperf on two different machines.

    Machine: iperf Server launch and write ture to a shared variable

    B: machine customer shared reading variable iperf and launch if computer A is running iperf Server

    I've never used a shared variable before, I looked at the examples, but as usual, they work but are default and one explanation as to why or how.

    I managed to get as far as a variable to shine as a network type Boolean putting published a shared on my block diagram variable I can choose the my project server variable, very well, but the shared variable is read-only?

    How can I write to a shared variable?

    Right click and change the access mode to write

  • network interface card double deployment for Expressway EI

    Hi people,

    I'm currently implementing expressway-E for this I need to deploy using double-nic deployment. The question is how can I configure double-nic deployment during the configuration of the server, I only see the LAN1 parameter. While in the settings of the virtual machine, I could see 3 network cards, there is no LAN2.

    Have you installed the license for dual nic?

  • several versions of the Variables shared on the same network

    I have 2 separate reactors working on the same network each variable deployment shared ~ 50 (different names on each process) contacting LV 8.5RT running on hardware of the FP.  One of the reactors is asked for new features and upgrade.  It is possible the Heve 2 different shared variable engine (8.5 and 2010) and the versions on the same network, and the client computer, or I'm in trouble.

    Oh boy I think you ask in trouble here!

  • How can I get the CompactRIO 9074 to communicate with TPC-2206 using variables of network?

    Hello
    I have trouble getting the Rio Compact to connect with my touch screen. The goal is to have the CRIO read in data values, update as network variables and then send them to the touch screen where they are displayed. I used the Distributed System Manager to verify that the CRIO updates the network variables.  I also created alias for the CRIO and PTC files to ensure they have the necessary IP addresses included.  I am able to PING the CRIO of the touch screen, so I don't think it's a problem of network connection. This leads me to believe that the CRIO works properly, hosts the variable library and broadcast on the network, but for some reason the touch panel knows not how to retrieve variables.  I have also noticed that when you change the "Properties" of the executable of touch panel, if the "Shared Variable deployment" section contains a box to checked then result is a mistake trying to "run" the executable file on the touchscreen, however if the box is left then repressed the executable runs without error. He still does not update the values of the CRIO however.
    I don't know what else to try, any help/ideas would be really appreciated!
    Thank you
    -Lindsey

    Equipment I use:
    PTC 2206 touch (Windows XP Embedded)
    CompactRIO 9074
    LabVIEW 2010

    Problem solved, thank you for your help!

    For anyone else having this problem in the future:

    As stated previously, the TPC2206 (touch screen) with Windows XP Embedded does not come with the support of shared variable engine installed.  To resolve this problem, I went to NI.com, typed in "LabVIEW Run-Time Engine 2010" in the search box (if you are using another version of LabVIEW, then find accordingly) and clicked on the second link "LabVIEW Run - Time Engine 2010 - (32-bit Standard RTE) - Windows 7/7 64 bit/Server 2003 R2 (32-bit) / XP/Vista/Vista x 64/Server 2008 R2 (64-bit)" "» downloaded, place the file on a USB key (my touch screen is not connected to the internet), connected to the touchscreen, installed the file and restarted the touch screen.

  • Causing problems of custom data type to deploy the shared target RT variable

    I seem to have some difficulty in using a shared variable published network created from a customized data type when it is deployed as an executable on a target of cRIO RT.  I'll start by describing why I think that this is the rub.  I created my RT VI in the LabVIEW (LV 2012) development environment and everything works fine.  This VI is quite simple, because these were quickly devolved into an exercise in debugging.  The RT VI begins by simply flashing the LED to a couple of times and then starts a loop simple acquisition to read some values out of the material using the analytical engine (while still flashing the LED of the user).  After reading the material, the values are grouped in a cluster and written in a shared variable published to the network defined by a custom control type def.  The custom control contains five floats double precision.  If it's important, the RT cRIO system hosts the shared variable in this case.

    So I have that deploy in the development environment, and everything works fine.  The LED flashes merrily along, telling me that the program runs correctly.  Running a VI host who reads the shared network has published variable gives the desired result.  Everything is good.

    Now, I want the cRIO system to run this simple program by itself at startup.  I build, set it as start VI, deploy it, and then restart the cRIO target.  The LED never flashing... the VI doesn't seem to work.  I'll spare you the major part of the work of debugging and access to the end.  I basically "diagram Disabled" various sections of the code up to the VI began to run correctly in an executable file.  I kept reducing the size of the disabled code until something has been disabled: the writing in the shared variable for the custom data type.

    So, I guess my question is this: are custom data types defined by type def would be personalized orders authorized executables to RT?  I read through the cRIO Developers Guide, my book of development in real time course of NOR and the white paper using shared Variables and I see nothing that forbids it.  I know that there are things not allowed in the executable files that are allowed in the development environment (property nodes façade, dialogue live, operating system specific calls, etc.), but no mention of the shared variable type custom data.  Any ideas as to why my VI is running in the development environment, but does not update unless I have delete the entry on the published network variable shared?

    Thank you in advance for your help!

    You must disconnect the data types of variables and then recompile. You can find it useful to keep on disk, a copy of the original lvlib.

    Don't know if this is a bug or not. It was suggested by someone in the forum that putting the ctl files in the right position (the disk? in the draft?) would allow the rtexe start; I did a quick check and it didn't work then I dropped the tests more far.

  • network variable will not work with VBAI 2010 and windows 7

    Hello

    In fact, I have a problem with 2 EVS-1464 (windows 7) and VBAI 2010.

    I have to use network variables to allow the communication between two electric vehicles, but I can't use it. My network is ok (I can ping between the two facilities) but I can't (t access the network variable.

    I did a test with VBAI2011 EVS / VBAI2010 PC windows XP--> it works. (but I don't want to use VBAI 2011).

    You have solutions to solve my problem?

    Thank you

    Ulysses

    Hello

    Here are several documents that might be useful for you:

    Using the LabVIEW shared Variable

    Troubleshooting network-published static Variables

    How can I use shared Variables to transfer data from Vision Builder for Automated Inspection (VBAI)...

    You can also try something. To do this, you must go to the EXE VBAI here:

    For 32-bit machines:
    C:\Program NIUninstaller Instruments\Vision 20XX\ VBAI

    For 64-bit machines:
    C:\Program Files (x 86) \National Instruments\Vision VBAI 20XX\

    Right-click on "Vision Builder.exe", and then select Properties.  Make sure "run this program as an administrator" is checked.

    Click OK, and then try to rerun VBAI. You may need to redeploy the variables in the variable Manager until they work properly.

    Kind regards

  • FPGA target 9146 OR editions variable defined by the user to a network

    I am developing code to use on the expansion chassis NI 9146 ethernet with 3 hanging modules, NI 9205, NI 9264 and NI 9476.

    The code is supposed to be downloaded on the chassis as FPGA code and run the code itself and the release of information on the network for the chassis, it is hanging in.  The code is simple (blood pressure measurement and convert them to pressure).

    When the code is on the host pc, it can be run through the target and runs correctly.  The pieces are just have thing chassis user FPGA 1 LED blink a few times per second, convert the voltage in pressure and variable output on the network and read some Boolean variables that are on the network.  All variables are not listed in the network in this way (by pressing the button run an FPGA VI compiled host) by pressing

    When the FPGA VI is downloaded to the flash memory chassis, configured to run once downloaded and restarting the device, the VI FPGA runs, because user FPGA 1 LED flashes on the specifided rate in the code, but variables do not put on the network.

    Attached are several screenshots of the code window and screen project.

    Thank you for your time

    Mitchell

    Hello

    The FPGA cannot write to the variables by itself.  It is usually used to make a task of high speed.  In order to communicate with a host computer, you will need the code running on the controller that uses screws FPGA Interface.

  • reconnect the stall network of shared network variables

    I have a cRIO unit communicates with a laptop using shared network Variables, one of them being a table of 21 index which is buffered.

    The system connects and communicates very well, but sometimes the wireless laptop card is to lose the signal from the WAP, attached to the cRIO.

    In this case the network never shared Variables "reconnect" and start to receive values still once the wireless link is restored.  Is this expected behavior?

    When I tried to use other WAP industry instead of the card laptop wireless, I get no abandonment.

    Hello Ryan,

    Please contact National Instruments!  I looked into the problem you are having and I wanted to ask you a few questions more.  First of all, you have a period of time which allows the reconnection?  I believe that the Shared Variables should find the connection after a short period, but it may not be a very quick process.  It may take a few minutes to the Variables shared to reconnect.

    The other thing that could happen is if you have error son being passed by shared Variables, it is possible that the error is not be deleted, and so he will always see the error and not a so never reconnect.  In this case, you will need to filter this error and then clear the error in order to use again shared variables.

    If you have more specific information about your program that can help us to determine the reason for this behavior.  As a screenshot of your code would be useful.  Please let me know if you have any other questions and I'll be happy to help you.  I hope this helps!

  • the running program on myRIO with access to controls via wifi

    I built balancing robot using myRIO. It does not perform very well and I can control it via wifi. I have now the Setup is simple enough: I can control and set PID and Kalman (accelerometer gyroscope) values. However, there are significant delays associated with the wifi connection. Therefore, if I am happy with my performance robot WiFi (all the controls value) and then I deploy my program on myRIO - changes in performance of robots since the program is run on myRIO now and there is no bottleneck related to sending the data back and forth between computer and myRIO.

    To avoid this: is it possible to run the program under myRIO but have a link with all the necessary controls on wifi?

    Kind regards

    Drakon

    Drakon,

    Looks like you want to use your computer as a GUI that will read and write variables shared network your myRIO can also connect to.

    http://www.NI.com/white-paper/5484/en/

    It is quite common to all the treatment more push to a real-time controller while having a user interface on a computer that will basically just reading and writing shared variables.  I don't know if this is what you were asking, could you explain what you are currently on your myRIO and your computer, problems you have with your current setup and you want to change?

Maybe you are looking for

  • Even if Adobe is assumed to be the default for downloads are always Firefox

    My computer crashed and after reinstalling Firefox on a new drive, I have problems.(1) even if I have it configured to use Adobe for PDFs and to always turn it on, it is still downloading pdf files and marking them as Firefox. Here are the pdf files

  • I have 2 questions...

    1. is it possible to shorten the link 'send' to the context menu? I know that it is in the drop down menu, but I am disappointed to see that he went from the context menu... 2. in previous versions of FF, I was able to force the usernames and passwor

  • How to locate where the shared Variables are used in the project.

    I'm looking everywhere where a shared Variable is used in my project. Right-clicking does not provide a find. The display hierarchy does not help. In the Project Explorer, the appellants find displays only the names of the screw called, not the many

  • Need to update my update in the service pack

    I want to watch tv on my knees a due d download silverlight, I did but I was told that I had to upgrade my service pack to obtain further updates, how and where can I update a windows xp 2002 service pack?

  • convert Excel tsv

    HelloI am logged in as superuser. When I click on Bill, I want to export details in the table in excel. By default it is tsv format. How can I do this?Thanks and greetings