to find instances of a variable shared a LabVIEW project

I am trying to upgrade an existing (LabVIEW 8.6.1) program with many screws dynamically called and the author has used the shared Variables for exchanging data between the screws (I used probably globals functional, but I have to work with what's here). With shared Variables, it is not possible to right click > find all instances, and you can not use Ctrl-F

Anyone know of a 'trick' or maybe a third tool (LAVA or perhaps JKI) which returns a list hence a shared Variable is read/written in a project or in the VIs in memory?

HI Imd2,

There is already a tool to get what you want. Please see this link.

Mike

Tags: NI Software

Similar Questions

  • Use of Variables shared with RT-project / home-VI

    Hi all

    I have a small question which is certainly easy to answer for those who have already worked with a RT - VI containing two periods loops and a user interface that is deployed on a host PC.

    Q: is there an advantage to the data acquisition in the urgent loop by using a variable shared unique process (active FIFO) and then through the data on the host computer the nondeterministic loop simply through a shared network-published (new FIFO active) variable that directly passes the data on the host PC?

    Thanks in advance,

    David

    Hi Kolibri,

    The advantage of having the network publishes the variables in your non-deterministic loop as opposed to the evanescent loop is that it reduces the resources needed to perform the evanescent loop.

    Send the data to a different loop in the same program with unique shared variable or process with RT FIFOs requires fewer resources than to send data over the network. This allows the loop of high priority execute more deterministic way, without having to manage communication networks.

    Kind regards

    Stephen S.

  • How to deploy Variables shared with aliases (project Variable), when some machines are offline?

    Hi all

    I have a distributed application (PC + some CompactRIOs). My PC contains the variables having the aliasing enabled - they are related to the variables on the cRIOs.

    Of the cRIOs is currently offline. I am deploying some changes that I made on the side PC. Unfortunately, LabVIEW refuses to deploy libraries to my PC, because it cannot connect to the cRIO-related variables.

    How can I bypass this check and force my PC to update? (I don't see why it is mandatory for the cRIO be online for this :-/))

    Thanks in advance!

    Hi JKSH

    In order to deploy the variable, there must be communication with the binding variable, in this case that the cRIO is not connected nor presented here is not any communication and the deployment fails.

    As a work-around of what we can do is go to the library of the target to the PC while the target RT is not present by doing this, the variable will be in the computer and you can deploy the library PC. Don't forget that we might need to save the project in order to save the movement of the RT to the computer file.

    Kind regards.

    R. Esteban

  • Variable shared do not get updated in host VI

    Hi all

    I recently bought a surfboard myRIO and began working with her. I would like to use the shared variable to get the rates of local lines all in porting my labview code later. However, I am not able to use the shared variable functionality at all, even for a simple code. I created a variable that is shared in the host pc and used in the RT and host VI. I guess that when I run the RT VI and VI of the host, the value given to the variable of the RT VI should be included in the host VI. However, this is not the case. The indicator to the host VI is still zero himself. I went through all the threads of myRIO related, but could not get any guidance. Thanks in advance.

    Arya

    Hi Sam

    The program works now. I find this strange because I didn't have even a single change on my system, not even a reboot. I have a open and run the example of shared variable comes with labview. It worked fine, then I tried my code, and also, it began to update the loop counts. Quite strange! Thanks for the reply.

    Arya

  • I try to use my Time Capsule as external hard drive. But when I look in the Finder, nothing is available for shared devices.

    I have a Macbook air running OS X El Capitan. I try to use my Time Capsule as external hard drive. But when I look in the Finder, nothing is available for shared devices. I don't know if I need to restart the time Capsule or change the wireless setting, etc. ?

    Please advise...

    The TC appears in airport utility? If not then it is probably not part of your network or is lost... upgrade installed you El Capo because there a lot of questions.

    What is the TC plugged into the network by ethernet? And configured properly? Are you to internet via the TC... but can not see his drive... that would be typical?

    Have you set Finder preferences to display the network drives? Apple keeps making it difficult for some unknown reason.

    You actually have to mount the drive TC if it appears under shared... it still may not appear if you double click on it. Under the search box on the top of the right hand you see Connect (As) box, type the name or IP address of the TC in there... Make sure that you save the password from your keychain.

    I try to use my Time Capsule as external hard drive

    For the storage of the files it is fine.

    For the execution of direct files for an application in the Mac, you are very likely to damage or corrupt the file at some point.

    And how do you do backups? Time Machine can't help you... it won't work.

    Backup is crucial, especially if you do things apple say not to do... That is to say move your photos or the iphoto library to the TC and try to use direct from there... expect any day to need a resumption of the library.

  • Variables shared on the CFP becomes zero and communicate with the PSC

    I use a PC with two network cards, one on one wired ethernet, the other on a private IP directly connected to a PSC-2120 (running 6.0.5 full). I use variables shared on the CFP and aliasing to static variable on the PC (initially LV 8.6, now 2009f2 with the same problem in both). PC variables are stored in a database of the Citadel. I have the CFP program built to run at startup, and it works fine when not connected to the PC.

    When connected to the computer all variables shared on the CFP will from time to time (almost 1/min for a few seconds) and randomly becomes zero. Even if they are resized only not to allow to become zero. I can say that what is happening because I use the variables shared as relay alarm thresholds module, and relays to suddenly slam on. I confirmed this by checking that the CFP has written to its internal flash memory card, and indeed variables suddenly are nil. On the PC it says that it cannot connect with the shared variables. This happens although LabView is not running on the PC!  Manager distributed system variables shared on the CFP are listed as (disconnected) during this time, but it continues to be able to read the correct values to live of the CFP entered the module.

    Interestingly, I have the same computer with the same configuration (and a PSC-2120 different) that does not have this problem. Both PC's are new from the factory. I tried to disable the second ethernet adapter, closing all wall-lights/virusscan and re - order network cards in windows networking/advanced settings without success. Simply disconnect the cable between the PCP and the PC does not cause this problem and shared variables become zero does not trigger the network on the CFP monitoring parameters.

    My questions are:

    (1) this problem can be fixed?

    (2) lost communication for a few seconds is OK, but given the PSC variables become zero is not. Can I stop the variables of the PSC to become zero?

    -David

    To update my previous post, it turns out that the re-installation was not the solution (the problem of variables start again occurring began). I finally realized that this only happens when I put the CFP time server IP (under Additional Configuration to the MAX). I was upgrading the server time on 192.168.1.1 IP (the IP address of the adapter of the CFP has been directly connected to). However, this compensation setting solves the problem.

    I do not think that the time on the CFP must need to be addressed too often (and perhaps it is synchronized if I never re - deploy files to the CFP?), so I guess that leave it empty. Curiously, I have the same setup time on an another PSC server IP and PC (running LV 8.6) without problem.

    -David

  • variable sharing, missing data, the timestamp even for two consecutively given

    Hello

    I have a problem with missing data when I read a published network shared variable.

    Host VI:

    In a host of VI on my laptop (HP with Windows XP Prof.) I write data to the shared Variable 'data '. Between two consecutively write operations is a minimum milliseconds of wait time. I use it because I want to make sure that the time stamp of each new value of data is different then a preview (variables shared the resolution is 1 ms)

    VI target:

    the VI target cRIO-9012 bed only of new data in the way that it compares the timestamp of a new value with the time stamp of the last value on a device in real time.

    Problem:

    rarely, I'm missing a data point (sometimes everything works fine for several hours, transfer thousands of data correctly above all of a sudden failure occurs). With a workaround, I'm able to catch the missing data. I discovered that the missing data have the timestamp exactly the same, then the last point of data read, is so ignored in my data 'legal '.

    To summarize, the missed value is written to the variable shared host, but ignores the target because its timestamp is wrong, respectively the same as the last value, despite the host waits for a minimum of 10 milliseconds each time before writing a new value.

    Note:

    The shared Variable is hosted on the laptop and configured using buffering.

    The example is simple only to display the function of principle, in real time, I also use a handshake and I guarantee that there is no sub - positive and negative.

    Simplified example:

    Question:

    Anyone has an idea why two consecutively data can have the same timestamp?

    Where timestamping (evil) Finally comes (System?)?

    What would be a possible solution (for the moment with shared Variables)?

    -> I tried to work around the problem with the clusters where each data gets a unique ID. It works but it is slower that comparing the timestamps and I could get performance problems.

    It would change anything when I animate the shared on the RT System Variable?

    Thanks for your help

    Concerning

    Reto

    This problem has been resolved in LabVIEW 2010.  You can see other bugs corrections in theReadme of LabVIEW 2010.

  • Dragging Variables shared on front panel

    Hi all

    IM usin the Labview DSC module for a GI Bill is currently working on. I created my shared variables and am now trying to create my VI to display the data on a façade. The problem I have is when I select my shared variables and try slide them on my Panel until the front panel keeps minimizing. I hope this isn't a stupid question but no idea how to solve. I have attached a screenshot to illustrate my problem

    In general, before you try to select the variable shared and drag, please make sure that VI front window and the project window are not riding...

  • Change the target of the library Variable shared by program

    I have a project in real time with the code that runs on a host PC and a cRIO who communicate using a library of shared on the cRIO variables. I am hosting the variables on the cRIO because who has worked much better than the accommodation on the host PC. For normal operation, this structure works perfectly.

    However, I'm now trying to implement a system that will allow the user to choose if they want to actually run the code on the cRIO or run a simulated system. The simulated system would occur on the host PC, so it is logical for this application for variables to be located on the host PC.

    To account for these two cases, I would change the target of the variable shared library depending on whether the real-time system is running or if the simuation is executed. I can do easily manually simply by dragging the library in the Project Explorer, but prefer to automate this process.

    In short, I try to develop a code that will change the target of a shared library of variable.

    I tried to do that by opening a reference to the project file, using the properties to get the library reference and change the target. However, the target property is read-only. Is there another way to do this or I'm stuck having to do it manually?

    It turns out that I had a version of the shared library Variable on the cRIO, so even when I welcomed the variables shared on the host PC, he always wrote in the cRIO. In fixing this issue, I have been able to accommodate the library on the host PC and get all what to run much more simply.

  • deploy programmatically variable shared within the standalone version of RT (cRIO-9014)

    Hello

    I have a question about here to use variables shared single process within the standalone version of RT for the cRIO-9014

    I simplified my request of LV (LV2010) in two to test the use of shared variables.  See the attached file.

    (1) only run on the host PC: testHost
    (2) only works on the cRIO-9014: testRTcRIO

    for both, I packed stand-alone executable and source distribution.

    for testHost,.
    (a). I copied \builds\testcRIO\Host to d:/or-rt/xmlrpcFEU source Distribution...
    (b) I run... \builds\testcRIO\Host.exe
    (c) xmlrpcFEUlog - host.txt is generated.

    for testRTcRIO,.
    (a) .d FileZilla to connect to the target of RT on network, I copied... \builds\testcRIO\Source Distribution\c\ni - rt\xmlrpcFEU

    to/or-rt/xmlrpcFEU on the target of RT
    (b) I copied also... \builds\testcRIO\Real-Time Application\c\ni - rt\startup to/or-rt/startup on the target of RT
    (c) Max, I restarted the cRIO-9014.
    (d) xmlrpcFEUlog - RT.txt is generated.

    We see that the shared variable does not work inside the RT target. but worked well on PC. the deployment programmatically method does not work.  any suggestion?

    Another thing is:
    can I use telnet for the RT 9014 target and start the RT app directly? What is the command inside the terminal telnet RT?

    Currently, I can telnet into the cRIO-9014, but, what I can do with it?

    ================
    220-national Instruments FTP
    220 service Ready

    530 journal please with USER and PASS
    USER
    331 user name okay, need password
    PASS
    230 user logged
    Help
    211 - USER PASS ACCT STRU TYPE
    211-MODE CWD XCWD PWD XPWD
    211 CDUP XCUP PASV, RETR, REST
    211-PORT LIST NLST QUIT SYSTEM
    211 STAT HELP NOOP STOR, APPE
    211 STOU HELLO MKD XMKD RMD
    211 XRMD DELE, RNFR TRAVEL SIZE
    211 MDTM
    ===========================

    Concerning

    Xiaofeng


  • Variables shared by using two computers and crossover cable

    Just trying to put together a simple testbed linking two computers by a crossover cable.  They correctly ping to each other.  I used examples of LabVIEW for TCP connections and they speak properly that way too.  I try to create and deploy variables shared on a computer, but the other computer will not identify not the SV on the first computer and vice versa.

    Can someone give me some details on how to build, deploy, and use effectively SV?  I have read all the documentation NOR, but I don't get the step-by-step approach very well.

    Thank you.

    Are you making them shared variable network published and linking them to each other? This document gives a very good step by step:

    http://digital.NI.com/public.nsf/allkb/7815BCE435DCC432862575DA006FEBF8

    -Ryan

  • Impossible to use variables shared when deploying an exe file

    I tried to use variables shared for some time. I have been all over the forums and still have had no luck. I can get these VI to work until I have install on another PC while they do any work. I don't know what I'm doing wrong. I forced libraries to deploy, but they still do not work on the machine, that I install the exe file. I don't think that libraries are being installed. I can't see in the Distributed System Manager. I can see libraries on other machines, but not on the one that I have.

    Have you included libraries in section always included the source files.  You did, and then change the destination of the library of media files on the Source code file settings tab?

    In the code are you using the correct path when calling the libraries deployment method.   Current path of the VI should be stripped twice and have "data\name.lvlib" built in the end.

  • How can I configure the variables shared between executables created in sepparate projects

    Hello

    I have several projects sepparate with their own respective executable files and I would like to be able to these executables to all share the same variable (one program control the value of the variable, while others read her).

    I got this configuration to work on my home computer (being able to access the variable Manager, etc.), but I need to deploy these executables on different computers that do not have the labview development program. What should I do so that I am able to put these executables on any computer (I guess I have to configure a path to the shared variable which is always in the same folder, etc.)

    Thank you

    Vlad

    Hi Vlad,

    I think that this article may answer some of your questions about the variables shared in deployed applications.

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

    Looks like you already have your executables built, but this article may answer some questions about their deployment to other machines.

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

  • Problem with Variables shared in exe running on Windows 2000

    Anyone know if there are problems with the Variables shared on Windows 2000? I can't get the LabVIEW executables that use shared Variables to work Windows 2000 on a computer with just the runtime engine.  Everything works perfectly on XP on a machine with just the LabVIEW runtime engine installed (using LV 8.5).  Shared variables are supposed to work less than 2000.  I have attached the sample code that is based on one of the examples NOR to the Variables Shared - editor and the Subscriber - with some extra stuff for the diagnosis, I added.  On Windows 2000, you can only run one or the other exe.  It seems that as soon as the other come to the part on the diagram with the shared variable node it crashes.  Shared variables are getting written in the because if you close the editor and then run the exe subscriber it reads the latest values set properly.

    On Windows 2000 I tried with the administrator account and off the ladies of viruses, firewalls.  There may be another Windows 2000 setting that causes this problem with the two exes trying to access shared variables.  I do not have the development environment on Windows 2000 computer that the purpose of this exercise is to see if its worth using shared variables.  Windows 2000 computers remain the same in the Test and measurement world.  A research on Developer Zone does not there is no particular problem with Windows 2000.

    Any suggestion is appreciated.

    Hi André,.

    Thanks for the comments!  Your feedback will help us improve LabVIEW for our customers.  This bug has been reported to R & D (#45493), and they're currently investigating this issue.  For now, the best solution seems to be using a different operating system, as this seems to occur only in Windows 2000.  Thanks for the comments!

  • Deployment of local variables shared on a real-time target

    Hello everyone, once again

    I read more posts and knowledge base articles about this topic than I can count at this point, and I'm scared, I'm still not clear on exactly how it works, and I hope that someone can delete it for me, if it is to earn themselves some laurels more.

    I have a project with a real-time quote and the other Windows.  They shared communication via network-published variables.  The real-time part also uses shared single process variables to communicate between the loops.  I have the intention of all 3 libraries of shared variables (Windows-> RT, RT-> Windows and RT Local) to be hosted on RT target for reliability.  Real-time executable must start at startup and run even if side Windows is not started (on the side of Windows is optional).

    I realized that real-time executable will not start the variable engine shared and/or deploy itself shared variables.  I also read that I can't deploy the shared variables programmatically from the side of RT.  This leaves only two options that I know of:

    (1) their deployment programmatically in Windows-side program.

    (2) deploying the shared variables on the target RT manually via the project in the LabVIEW development environment, and

    About option 1, as I said running Windows is supposed to be optional, so you have to run a program on the Windows side before the side RT will work is highly undesirable.  Moreover, even if I do a little "Deploy shared variable" application that runs at Windows startup, I can't guarantee that it will work before start of the side RT executable will run.  In this case, the executable file RT will fail due to not having the variable engine shared running?  If so, and side Windows, and then starts the engine / deploys the shared variables, the side RT begins to work automatically?  If not, is it possible to trigger this restart of the Windows startup application side?

    Also, I just read everything and tried the option to build to deploy variables shared in the application of the side Windows.  Not only that my RT shared Local Library variables not listed as an option (given that the application of the side Windows does refer to it in all for obvious reasons), but when it deployed two other libraries at startup, the program side of RT (which was running in the development environment) stopped.  I'm not positive that would happen even if he was running like a real executable file, but it is certainly enough to make me nervous.  I assumed that the library is not listed may be resolved by including a variable network-a published in the local library of RT and including the app side Windows.

    About option 2, I don't understand how I'm supposed to deploy my libraries shared variables without stopping the execution of the startup on the target real-time application.  Once I did, the only way to restart the application of the RT is to restart the computer RT, correct?  In this case, I just undid all the interest to deploy the shared variable libraries?  Unless libraries remain deployed and variable motor shared running even after restarting the computer of RT, which would solve the problem I guess.  Certainly, I would like to know if this is the case.

    However, option 2 is complicated by the fact that when I manually right-click on any of my shared variables libraries and select "Deploy" or 'Deploy all', libraries still do not appear in the Manager of the distributed systems, even after clicking Refresh several times, on the local system or the target system.  The only thing that shows up, on both sides, is the Group of 'System', with FieldPoint, etc. in it.  The same is true when I run my application in real-time in the development environment, even if the shared variables are clearly working, as I mentioned earlier.

    So, if you have done so far through this mammoth post, thanks!  I have three main questions:

    (1) are that all my descriptions above correct in what concerns the variables how work sharing?

    (2) what is the best way to meet the requirements I have described above for my project?

    (3) why shared variables libraries not appearing in my manager of distributed systems?

    Thanks for any help you can give on any of these three questions!

    -Joe

    1. Yes, as soon as you deploy the project the NSV is tranactional.  EVS is loaded by MAX when you configure the RT target and begin to operate as part of the boot sequence.

    2. you can see anything on your target rt in the DSM?

    3. Yes, NSV and EVS are persistent resets.

Maybe you are looking for