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.

Tags: NI Software

Similar Questions

  • 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

  • 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

  • Opening, using Relocator and rest with my project structure

    I use Relocator to move my photos 'managed' Aperture library to be "referenced".  However, now I have to do a project at a time.  I can't get Relocator to work on multiple projects and maintain my project structure.  When I tried it, I put the subfolder 'project' format and the format of the name to "original file name.    It did not work as planned, he put each photo in its own folder.  So now in the format of subfolder 'custom name' and provide the name of the project.  This seems to be the only way to keep my existing structure.   My existing structure is the name of the event and the date, for example the Blizzard Dec 2008.    Any tips or suggestions?  I have pictures of 70 K to move! Going to take some time do this project!  Thanks in advance!

    When I select the pictures of several projects at a time and use the command "file > move...» ', the original images will be relocated in a folder for each project.  I use these presets:

    I tested with opening 3.6 on OS X 10.11.5.  What version of Aperture do you use?

  • HP deskjet 2510 is not shared with the group home

    Followed the instructions to install this new printer but can't download via setupweb cause of the above troubleshooting using Windows error message

    Try to download the full driver on your hard disk:

    32 bits:

    http://h20000.www2.HP.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=5157444&prodTypeId=18972&prodSeriesId=5157438&swLang=8&TaskID=135&swEnvOID=4062

    64-bit:

    http://h20000.www2.HP.com/bizsupport/TechSupport/SoftwareIndex.jsp?lang=en&cc=us&prodNameId=5157444&prodTypeId=18972&prodSeriesId=5157438&swLang=8&TaskID=135&swEnvOID=4063

  • 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

  • Using variables shared between the different versions of labview

    Hello

    I look at the use of variables shared between two different versions of LabVIEW. We have a 2 of the PXI system and a single PC. We are currently updating the code on the PXI system to 2014, but the PC still work 8.2.1. We now need a map of ARINC-429, which is executed only 2009 +, that is why we are to day. First tests show that shared variables do not communicate between the two. I think that the reason may be that the PXI running the version of variable motor 2014 shared, while the PC is running 8.2.1, but I don't know if it is precisely for this reason it does not work. Is there a way to communicate between two different versions of LabVIEW with shared Variables?

    Thank you!

    SOLUTION

    There are two key elements in the process of installing software that are essential for PXI to communicate with another version of LabVIEW: Legacy Server Support Variable and Variable Support of Legacy Protocol. The first, in charge of the Protocol, was automatically installed through the selection of the other ingredients (although I do not know which triggered its installation). The second has been nested in the Protocol, but was not selected automatically.

    The Protocol allows the PXI 2014 connect to shared variables hosted by devices 8.6 or an earlier versions, while the server allows before 2009 devices to communicate to shared variables hosted on PXI of 2014 (which was the initial problem)!

  • How to use substitution variables, as in Microsoft Word using Hyperion Smart view

    Can we use the Substitution Variables to copy data points and cool off in Microsoft Word? I tried and it does not dynamically (copy the data points only copies what was in excellent cell right there). It copies only the static value of this variable for this cell. I want to use dynamically in Word so that if I change the value of this variable in Essbase, it is updated in Word on refresh. Any idea?

    We need this notification feature in microsoft word and keep using data points every year (instead of copy the cells of excellent on new)

    Any help or suggestion is appreciated.

    Thank you

    You may not use substitution variables, as with the copy data points. I tried a while back (after 111.1.2.1.102) and it wouldn't work.  I checked with Oracle development and they said that I is not available

  • Using Bind Variable in a SELECT statement

    Hello

    I am trying to build my SQL query running using bind variables and in Oracle® Fusion Middleware Fusion developer Guide for Oracle Application Development Framework 11 g Release 1 (11.1.1) it is said that ' after you define bind variables, the next step is to reference them in the SQL statement. While SQL syntax allows you to bind variables to appear in the SELECT list and in the WHERE clause, you'll generally use them in this context, as part of your WHERE clause. ».

    However, when I try to use bind variables in my SELECT list because I had set a type to the string of the variable variable is inserted with quotes each side for example SELECT TestTable FROM 'Service '. Is it possible to use bind variables to insert a value in my list of selection without the quotes around it?

    Thanks in advance,
    Tom

    Hi Robinst,

    I think you want to set up column name of the table that is not possible using bind variables. With the help of the bind variables you can send a value to the SQL. The String value is therefore always with inverted commas.

    Kind regards

    Branislav

  • my project writes the data from the accelerometer on USB but variable shared do not communicate with modbus

    Hello

    I have a program that reads input 3 off 9234 modules on a cRIO, the idea of the program is to read that data and save it in a bin on a disc file hard usb connected, the program uses also the shared variables to connect signals max since the 9234 then send thm to a modbus slave, my problem is that I'm now the exact data on the USB key that I do not get anything It's the modbus link down, I attach the program for you to see, all shared variables are on the loop speed low rt, any help would be grateful.

    Thank you very much

    Jason

    Hi Tori,

    Thanks for the reply I found the flaw that it's on the FPGA 9234 principal, max run-up was forced instead to adapt to the source, now that I've adapted to the source, it works, thank you for taking the time to look at and answer.

    Kind regards

    Jason

  • 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

  • Rich project shared with IO Library?

    I have an application that needs to share resources/instruments with TestStand steps.  Requirements require the application to communicate with these resources/instruments with or without leaving the engine of TestStand.

    I understand that the suggested approach is to put ONLY the instrumentation code in a test sequence.  However, what is the best approach if the application conditions dictate the resource or the instrument must be shared?

    • Project packed library can be shared with the operator interface?
    • Is a distribution source, the only option?

    Hey LVB,

    Thanks for the information. Based on what I think you are trying to you should be able to do what you are looking for. The reason that the manuals say to not use instrumentation with the interface code user is to preserve the modularity, it is not recommended that you add an instrumentation specific Interfacing to the OI of LabVIEW TestStand as this will make the instrument specific OI. And as long the .exe OI runs will run your instrumentation process, and until your operator selects actually trial USE or simple Pass (or whatever TestStand entry point you choose) the TestStand API will just await you. This example, I think that shows what you need to do the https://decibel.ni.com/content/docs/DOC-21047.

    I hope this helps.

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

  • Why LabVIEW example projects using Global Variables?

    I'm puzzled.  I've been pretty good programmers LabVIEW talks (including some who work for the OR) and came away with the impression that Global Variables should, as a general rule, be avoided, with functional Global Variables (alias VI Globals) generally preferred for "local memory".

    I have studied some of the example distributed with LabVIEW, 2012 and 2013, in particular the proposed acquisition in real time and am struck by the use of Global Variables, where I'd be inclined to use instead a FGV.  For examples, to stop all the loops on the RT target, the overall "All the RT loop Stop" is defined; 'Constants' of configuration (such as timeouts, Streme network names, the names of the journal folder) are kept as Globals; Streme network endpoints are stored in Globals.

    [Note - there is a weird spelling of the second word of the network Streme, above - when I tried to post with the correct spelling, I got an error message saying this word is 'not allowed in this community".]  I apologize for the offense, but I must confess that I do not understand what the problem with the help of the spelling of this word...]

    Why use Globals in these cases, rather than write a bunch of VIGs to hold these data?  Note that almost all these Globals are 'Read' essentially (written once when a resource is acquired, for example) or "Read Only" (treated as if they were a constant).  Indeed, read-only variables can be written as a Subvi with only an output terminal, acting as a (visible, due to the icon) constant.

    I can see advantages to this approach.  On the one hand, VIGs can have error bounds who run the data flow (I just spotted a bug "data flow" in code, I am developing that is based on this model, to read configuration data to an XML file in a world and in the same VI, Global wiring to a "use - me" terminal, but with no guarantee that I'll read the overall after I write it).

    It is, I suppose, a matter of 'speed' - perhaps Global Variables are 'faster' than VIGs (especially if the VIG 'sits' on an error line).  My thought, however, is that this difference is likely to be trivial, especially as these VIGs (or Globals) tend to become "occasional" calls (with the exception of the indicator 'all the loop Stop' which is called once per line).

    Are there other arguments or considerations that make a Variable global to a better choice than a VIG?  Is there a reason that LabVIEW developers put in these start-up of projects LabVIEW?

    BS

    I have to ask, how do you use functional Global Variables?  Like just a Get and Set?  If so, you can use a global variable.

    Yes, globals are faster and use much less overhead.  At the summits of CLA in recent years, we talked about using globals.  The most common use is for Write-Once-Read Many and writing-never-Read Many with configuration data.  It's a good idea to use globals with the constants that can change on you.  It turns out that the world will have the same performance as a constant in this case.  This is done so that you don't have 1 place to edit the 'constant '.

    The rule on "Globals are evil" actually goes back several years when NEITHER had the huge "people of the country are bad" vendata.  But NEITHER explains well how to do things properly.  So I found people, instead of using local variables, using the value property node.  It's even worse because the property causes thread swaps and kills your performance.  It wasn't until I shouted to people to use wires and shift registers I have seen improvements in the way in which people wrote their code.  So people are always riffling in the use of globals and decided to use FGVs with the EEG and fixed rather cases.  But this does not solve the problem of the conditions of race with critical data and you cause an additional burden.

    So from my experience, I use globals all the time for configuration data.  Yes, you must be careful about the race conditions.  But as long as you understand that it is a common and useful practice.

    I would not use a global variable for data that are constantly changing (use registers to offset or Action motor) and/or processes that have critical sections of code (use a motor of Action).

    NOTE: I use the definition of Mercer to FGV (a Get/Set only) and motor Action (many cases which specifically affect the data).

  • Can someone give me an answer to confirm if netbooks with Windows XP Home, Vista Home Edition, Windows 7 starter (these BONES other than professional or company) be used in a corporate environment...

    Original title: Netbook Licensing

    Can someone give me an answer to confirm if netbooks with Windows XP Home, Vista Home Edition, Windows 7 starter (these BONES other than professional or company) be used in a business, connected to the server environment to share files?

    I read somewhere that these permits cannot connect to a domain, is this true?

    Of coz these OS has not input parameters are even to join a domain, how can they connect?

    CAN, that my understanding of that statement means that it cannot be connected to a domain server, means that the netbook cannot be connected to the server to access files shared server?

    Can the netbook share files with other computers (vice versa), other than a domain server, on a network of companies?

    So what my final question is a netbook can exist in an enterprise environment? What's a standalone machine?

    I'm not able to get an answer very Microsoft Singapore confirm after the call to them.

    Hello

    Computers running Windows 7 Starter Edition cannot connect to a domain.

    Reference: Networking in Windows 7 Starter

Maybe you are looking for

  • How to read video clips with LabVIEW in Windows 7?

    I already had the opportunity to play a video clip of my LabVIEW program.  Now, with the same program in the two operating systems, Windows XP and Windows 7, both versions work, but the version of Windows 7 will not be saved.  Trying to save it, I ge

  • Switching language from Swedish to English in Samsung i900

    I samsunng i 900 and it is in Swedish, I wonder if someone can help me with how to move to the English in language. If there isprogram for it?

  • Why the trash has not deleted a file? Where is he?

    Hello. Using Vista Business SP2. I did drag a file on the desktop in a window of the trash. I had the SHIFT while dragging. I drop the icon above the trash window. The file has literally disappeared. He is gone from the desktop. Never, he appeared in

  • In Streaming URL access problem

    I'm developing an audio application for the Webkit browser HTML5-based streaming. This application allows the user to select the URL about 500 each belonging to a different radio station. The problem is that if everything works as expected in the sim

  • Two Xbox 360 Wireless controllers Microsoft will interfere with each other?

    * Original title: Microsoft Xbox 360 for Windows wireless controllers... Two will interfere with each other? Controller: Microsoft Xbox 360 Wireless Controller for Windows (JR9-00011) Operating systems: Windows 7 I have two PCs located in the same ro