Best practices - dynamic distribution of VI with LV2011

I'm the code distribution which consists of a main program that calls existing (and future) vi dynamically, but one at a time. Dynamics called vi have no input or output terminals. They run one at a time, in a subgroup of experts in the main program. The main program must maintain a reference to the vi loaded dynamically, so it can be sure that the dyn. responsible VI has stopped completely before unloading the call a replacement vi. These vi do not use shared or global variables, but may have a few vi together with the main program (it would be OK to duplicate these in the version of vi).

In this context, what are best practices these days to release dynamically load of vi (and their dependants)?

If I use a library of project (.lvlib), it seems that I have to first build an .exe that contains the top-level VI (that dynamically load), so that a separate .lvlib can be generated which includes their dependencies. The content of this .lvlib and a .lvlib containing the top-level VI can be merged to create a single .lvlib, and then a packed library can be generated for distribution with the main .exe.

This seems much too involved (but necessary)?

My goal is to have a .exe for the main program and another structure containing the VI called dynamically and their dependents. It seemed so straighforward when an .exe was really a .llb a few years ago

Thanks in advance for your comments.

Continue the conversation with me here is the solution:

Runs like a champ. All dependencies are contained in the packed library and the dynamic call works fine.

Tags: NI Software

Similar Questions

  • Best practices for client internal connectivity with Horizon view 6

    Hi all

    I saw configuration with a server connection and security.  Internal clients connect directly on the connection to the authentication server, while the external clients through the Security server.  Recently, one of my friends and I had to discuss our configurations.  It has all of its traffic to the Security server.  Its installer seems to be supported by the latest diagrams in the view documentation 6.  What is the best practice?

    Thank you!

    I can certainly see how this diagram is confusing, but it is intended to show the internal clients through directly load balancing to servers connection. If you look at the architecture guide and white papers, they are all show internal clients without going through the security servers.

  • Best practices for vCenter 5.1 with Microsoft SQL Server 2008 R2

    I am looking for a best practices or really any documentation on configuring vCenter 5.1 with a SQL Server 2008 R2 database. I see that SQL Server 2008 R2 is supported, but that's all. Any help is appreciated.

    Unless you have a huge (and I mean huge) environment, the vCenter database in general is not that big of a deal or go-getter and was apparently not deemed worthy for some secret magic tips because of this.

    Standard SQL "best practices" and observe the standard installation documentation when deployment vCenter and you should be good to go.

    Some documents on the vCenter more in-depth database are here:

    http://www.VMware.com/resources/TechResources/10162

    http://www.VMware.com/resources/TechResources/10302

    Also, I highly recommend you watch this recording of VMworld:

    http://www.YouTube.com/watch?v=5Ly64_ca7-I

  • Best practices for the replication SAN with SRM

    We have a 20 MB MPLS pipe between our HQ and DR sites. Is this enough for replication? What are the advantages\disadvantages to use a VPN tunnel to the SAN replication over the internet?

    Unfortunately, it is really dependent on your replication technology of storage, replication, or modes, the data change and RPO rate if asynchronous replication.  I saw the replication occur on a 10 MB line very well even if the technology used has bandwidth capabilities very high compression.  What do you use?  Could someone here more to add experience with replication tool.

  • Best practices upgrading to 11g

    Hello

    We have a SAP ERP 6.0 with Oracle 10.2.0.2 on AIX 5.3 database management EHP5 SPS6.
    There is an available for installation of Production DR Standby Database.

    We need to upgrade the DB to 11g R2.

    Please let me know if the DB can be improved with very little or no interruption of service.
    Please share best practices for upgrading the DB with very little or no interruption of service.

    Kind regards
    Narayan

    There would be a minimal downtime. 11202 onwards upgrades would be out of place so the downtime would be less compared to previous versions. Please visit the following link and download the slides for the upgrade and the upgrade migration group of Oracle Corp.
    http://Apex.Oracle.com/pls/Apex/f?p=202202:2:P2_SUCHWORT:migrate112

    Aman...

  • Distribution dynamically to user input; best practices?

    Hi all

    Using LabVIEW 2013 (32 bit). Taking my first foray in LVOOP and I am currently designing our user input. This user of VI entry is distributed dynamically. The goal is to allow the user to "mix and match" different parts of the application as much as possible. The request is for a controller of a biological system. In particular, we have the notion of 'Controller', a 'model' and a 'Patient'. All patients have the same characteristics, but the controllers and models only share an external interface. Some controllers can control to a set point, some of a range, some to a set of ranges depending on the time and the current status of the Patient. As such, I would like to have some kind of dynamic dispatching on the phase of input from the user. The way I thought to do was via sub-panels, with a tab control to allow the user to move between different parts of the installation.

    This is a model of the façade of the user input:

    http://i.imgur.com/sMZ7xFD.PNG

    So if you have a controller of some, this interface panel controllers user come in a secondary, through a kind of dynamic distribution. This would allow you to move seamlessly between the controllers and have always a consistent user experience, for example, 1 controller can have you choose a range to control (two digital figures), while the controller 2 can have a control point (just a digital), as follows:

    http://i.imgur.com/6QpKXco.PNG

    http://i.imgur.com/u2mla8N.PNG

    You can assume that we have access to instances of the controller class, the class Patient and the model class at this stage of the dynamic allocation.

    When I tried to implement this, I came across some problems:

    http://i.imgur.com/2ZZqdka.PNG

    The error is: "call by reference: refers to a dynamic member VI; The stream of strictly typed reference VI entry connector includes a terminal dynamically a reshipment, which is that he is part of a method of a class of LabVIEW. Dynamic member screws are not supported in this version of LabVIEW by calling the reference node. »

    I understand the problem, it's may be too general for LabVIEW manage cleanly, but is there a way for me to maintain the "kindness" of dynamic distribution in this case accurate?

    What I did do a VI 'protected' which was the dynamic distribution to get the reference to the GUI VI.  This way I could make the object show GUI of the parent if I wanted to rather than making yet another screen.  This VI was called by a public VI that only the top parent class should manage (static shipping).  I did not use the asynchronous call, but I think it would work.

  • Summary of functions (two entries) for classes of brother with a dynamic distribution of entry: the static entry retains the type of the parent class.

    Suppose that in a hypothetical example, I have a superclass (number) with two children (real and complex) classes.

    I would define a function of sum for these classes, using dynamic distribution.

    Real or complex would have its own method of the sum (VI) which would be subject to various operations, such as the real and complex numbers are different.

    As I understand it, the normal way to proceed in OOP is for each of these methods to have an entry of dynamic distribution and a static entry of its own type.

    Problem: Labview doesn't let me do this!

    I first define an input method dynamic-shipping dummy for the numberof the parent class, but only the first entry can be dynamic-Envoy while the other is statically typed as number.

    Then, when I create override methods in my two children classes real and complex, the second entry (static) remains under the number (the type of the parent class). This is not fair, because then I can't access the private data of the child class of type real or complex that will be connected to the second input (static).

    What is the solution to this problem (usually)?

    I think that, in LVOOP, you use only a dynamic terminal or a static terminal to the terminal object.

    You can have several other terminals, but all the dynamics VI (methods with the same name) must have the same API (terminals).

    If you have to understand your preferred mode to pass, use multiple terminals, not used by each method, or use a cluster that contains all the numbers to pass (real or complex, both of which are not used in each method) or you can try a Variant, as shown.

  • Combining LVOOP DVR with dynamic distribution class and asynchronous Runtime Preserve

    OK, the title seems like a cornucopia of terms LVOOP.  But there's a reason.  It is sort of an extension of THIS thread.

    Do I have recently created a LVOOP approach to load completely asynchronous user interface elements into sub-panels.  This I have combined with a global repository for objects (which are essentially the singletons with functionality of the user interface) which are shared via DVR, thus eliminating a large number of synchronization headaches).

    This means that I can have a universal framework to initiate a secondary user interface elements.  Changes made to the object there are automatically reflected in the global repository.

    So far so good.

    What I do like is a combination of two buildings of apparently clumsy code that I need to keep things running.

    Construct odd 1:

    I defined a function "Launch UI" in my parent class which is the dynamic distribution (which allows to take care to launch its own UI of each object).  It takes a parent DVR as second entry object which sure is the exact type and the type of object called using the code below.  The Type REAL to two entries for the launch of VI in PEI are identical.  This is guaranteed because I need every new class instead of this function.

    Here I pass the DVR from outside to 'Launch' VI International preliminary examination, but the object obtained within the IPE retains information for DD thereby ensuring that the VI called for the launch of the user interface is identical to the type of object in the DVR REAL.  It works well and putting this bizarre construction within the parent class, abuse is minimized, it works very well and seems to have no major side effects.

    So now we have a VI running asynchronously in the background that belongs to a specific object, but has a DVR which it * thinks * is a parent Type, but because of the measures taken previously, is actually of the same type as the object itself.

    In order to make use of the functionality defined in this kind of real object, I continually have to re - interpret the object within the IPE as described below.  Otherwise only the Parent feature is available.

    If I access only methods of the parent class, then the Preserve feature is not necessary.

    Is there a more elegant way to do it?  I find the net result of this code and cast to be really useful and much easier to manage the road non - DVR since synchronization problems disappear.  Through the use of the near-atomic REI, we remove the chances of blocking.

    All editing in the asynchronous interface user of VI is automatically reflected in all subsequent use of the DVR.  Even if digital recorders are not shared between the screws, this makes it easier (for me) the puzzle of the synchronization.  If you start this expansion beyond the limits of a single VI, the benefits in synchronization becomes really huge.  You can even have several interface user objects based on the same data in the background without additional synchronization needs.  Required only one synchronization is a global 'data updates' for the object in question, in which case the UI elements simply update their indicators and the DVR's controls again.  It is trivial.

    So, I am convinced that the net result of this is very beneficial.

    My question is if there is a better, safer, or more 'official' way to do?

    I was about to start a new idea to combine the 'Preserve Run time class' and Terminal DVR of the International preliminary examination so that the casting is done automatically.  We could then have a double entry in PEI, the DVR (of the base type) as well as the ACTUAL Type of the object, but of course to return an error if the types are incompatible.  It would be like an "imposter" DVR of entry for International preliminary examination which allows a re-interpretation of the object type.

    Would all of this go away if we allowed dynamic distribution work with DVRs?  No doubt.

    Shane

    I agree that the deletion of bizarre construction #1 probably requires a dynamic send on DVR.  Unfortunately, if you look at the post of the exchange of ideas on that, there are a few nasty subtleties concerned by the application, so I wasn't expecting any time soon.

    For bizarre construction #2, you can cast the DVR itself.  Make a constant DVR that refers to the class of the child and lowered it seized goes in PEI.  If you need to return the parent type after the International preliminary examination, branch just the wire DVR before melting and use it as your lead.

  • Best practices with streams WCCP of WAAS

    Hello

    I have a module WAAS SRE 910 in 2911 router that intercepts packets this router with WCCP.

    All packets are received by the external interface (gi 0/2, connected to a switch with port configured in vlan WCCP) and are sent back to the router via the internal interface (IG 1/0 connected directly to the router):

    WAAS # sh interface IG 1/0

    Internet address: 10.0.1.1

    Subnet mask: 255.255.255.0

    State of the admin: to the top

    Operating status: running

    Maximum transfer unit size: 1500

    Entry errors: 0

    Entry packets dropped: 0

    Packets received: 20631

    Output errors: 0

    Output packets dropped: 0

    Load interval: 30

    Input rate: 239 bps, 0 packets/s

    Output: 3270892 bps, 592 packets/s

    Packets sent: 110062

    Auto-negotiation: on

    Full Duplex: Yes

    Speed: 1000 Mbit/s

    WAAS # sh interface 2/0 gi

    Internet address: 10.0.2.1

    Subnet mask: 255.255.255.0

    State of the admin: to the top

    Operating status: running

    Maximum transfer unit size: 1500

    Entry errors: 0

    Entry packets dropped: 0

    Packets received: 86558

    Output errors: 0

    Output packets dropped: 0

    Load interval: 30

    Input rate: 2519130 bps, 579 packets/s

    Output rate: 3431 bps, 2 packets/sec

    Packets sent: 1580

    Auto-negotiation: on

    Full Duplex: Yes

    Speed: 100 Mbps

    The default route configured in module WAAS is 0.0.0.0/0 to 10.0.1.254 (interface of the router).

    It would be better that the packets leave module WAAS of the external interface (instead of the internal interface)?

    Is there a best practice recommended by Cisco on this?

    Thank you.

    Stéphane

    Hi Stephane,

    That's right, internal interface means SM1/0.

    The best way is to have traffic at the start of the internal interface module so that we are sure, it hits the redirect exclude statement and that we do not have the crest of the loops because WCCP.

    Kind regards

    Nicolas

  • Best practices for network configuration of vSphere with two subnets?

    Well, then I'll set up 3 ESXi hosts connected to storage shared with two different subnets. I configured the iSCSI initiator and the iSCSI with his own default gateway - 192.168.1.1 - targets through a Cisco router and did the same with the hosts configured with its own default gateway - 192.168.2.2. I don't know if I should have a router in the middle to route traffic between two subnets since I use iSCSI ports linking and grouping of NETWORK cards. If I shouldn't use a physical router, how do I route the traffic between different subnets and use iSCSI ports binding at the same time. What are the best practices for the implementation of a network with two subnets vSphere (ESX host network: iSCSI network)? Thank you in advance.

    Install the most common iSCSI would be traffic between hosts and

    the storage is not being routed, because a router it could reduce performance.

    If you have VLAN 10(192.168.1.0/24) iSCSI, VLAN 20 (192.168.2.0/24) ESX

    MGMT and VLAN 30 (192.168.3.0/24) comments VMs and VLAN 40 (192.168.4.0/24)

    vMotion a deployment scenario might be something like:

    NIC1 - vSwitch 0 - active VMK (192.168.1.10) MGMT, vMotion VMK (192.168.4.10)

    standby

    NIC2 - vSwitch 1 - current (VLAN30) guest virtual machine port group

    NIC3 - vSwitch 2 - active VMK1 (192.168.1.10) iSCSI

    NIC4 - vSwitch 2 - active VMK2 (192.168.1.11) iSCSI

    NIC5 - vSwitch 1 - current (VLAN30) guest virtual machine port group

    NIC6 - vSwitch 0 - MGMT VMK (192.168.2.10) standby, vMotion

    VMK (192.168.4.10) active

    You would place you on VLAN 10 storage with an IP address of something like target

    192.168.1.8 and iSCSI traffic would remain on this VLAN. The default value

    gateway configured in ESXi would be the router the VLAN 20 with an ip address of

    something like 192.168.2.1. I hope that scenario help set some options.

    Tuesday, June 24, 2014 19:16, vctl [email protected]>

  • Question/design architecture with best practices?

    Question/design architecture with best practices?

    Should I have separate Web server, weblogic application and IAM?
    If yes that how this time will communicate, for example can I webgate on the server that will communicate to each other?
    Any reference to decide how to design and if I have weblogic separate one for enforcement and one for IAM that how session management will take place etc.

    How is general design happens IAM project?

    Help appreciated.
    I have a business web application deployed on weblogic1 and OHS1

    deploy webtier on this OHS1 to protect the resources on OHS1. webtier will be recorded at OAM (where will be able to communicate with OAM)

    I also IAM deployed on weblogic2 & OHS2

    IAM components have weblogic. then ok. But you don't need to ohs2 here, unless your application itself requires OHS for hosting. But here, you mention that it is fair to IAM - so no need to OSH here. IAM installing requires weblogic.

    wanted to know where should I create provider (weblogic1 or weblogic2), and install webgate (OHS1 or OHS2 or both)?

    I hope it is clear now. If this isn't the case, query post for what is not clear.

  • Work with several sequences-best practices

    Hello.

    I ve just started using Adobe Premiere CS6. My goal is to create a long movie, which is based on 30 hours of footage in raw gopro recorded on a recent trip of 2 hours.

    Now my question is, what is the best practice for working with many sequences/clips?

    You have a single file of heavy project, with all the clips?

    Or make you small chapters that contains number of sequences x/x minutes long and ultimately combine all these?

    Or how would you do it the best way, so its easier to work with?

    Thanks a lot for your help.

    Kind regards

    Lars

    I make a primary sequence in your project and then modify the individual scenes in the form of separate sequences, and then nest them in the primary sequence.

    That way, you would have a single file of project heavy with all the media files (raw video, music, etc.).

    I find it easier to work with. With the help of several project files would get too complex and fragmented throughout the of your computer.

    I work with a lot of video GoPro, so I wonder what your Setup looks like. What device you have, and how your computer/Premiere Pro is configured?

  • The best practices with only 4 cards network network

    I'm used to esx with fiber channel without configuration.  This will be my first experience connecting esx to an iscsi san.

    I just have 4 network cards on the server and wonder what is the best practice.

    I think that 2 of the 4 network cards will be dedicated to the San for HA.

    But the other 2 types of throw me a loop for.

    I know I want to console, vmotion and trunk for VLANs, but I don't think I can have all 3 on the same vswitch?

    Am I stuck with having the console and vmotion on a network card and the trunk of the other?  IE - no failover?

    Is there anyway to get console, vmotion and trunk at all exist together?

    Thank you in advance.

    If it were an election, I vote for Josh26

    Just a few additions to his recommendation:

    vSwitch0:

    2 natachasery connected to the ports of the trunk on the pSwitch (vmnic0, vmnic1)

    Service - VLANxxx - Portgroup (vmnic0, vmnic1 active standby) Console

    VMkernel Portgroup for vMotion - VLANyyy - (vmnic0 vmnic1 standby, active)

    Machine Virtual Network - VLANzzz - (vmnic0, vmnic1 active standby)

    vSwitch1:

    2 natachasery (vmnic2, vmnic3)

    VMkKernel Portgroup for iSCSI

    With the above configuration you separate iSCSI traffic, what is most important.

    SC and the VM network share a teddy and vMotion has its dedicated Teddy.

    Everything is redundant.

    André

  • Best practices with two natachasery

    Hello

    I'll put up a small environment Vi3 with two HP DL380 G5 machines ESX and NFS on NetApp for storage. This must be installed in a field of laboratory and serve as both a learning platform Vi3, we, the admins and a test environment for some of our customers run their own virtual machines with the test software and others. For this purpose, safety is a higher priority than redundancy, roughly equal performance. What is a decent way to implement the two natachasery for this configuration?

    vSwitch0 and pNIC1:

    -VMkernel (vMotion and NFS)

    -Console service

    vSwitch1 and pNIC2:

    -VM network

    This would obviously no redundancy (not counting the vMotion between hosts) but separate VM and non - VM traffic. Is there anything else I should be concerned?

    Thanks in advance,

    Daniel

    Hi Daniel,.

    Available seems very well, simply create a trade.

    (Depends on the load, you might want to consider making another Nic dual or quad). I have 2 natachasery for virtual machines and 2 for NFS...

    Here is a great link to the blog created by Texiwill: (best practices for up to 8 NIC explained)

    It was useful for me (thanks Texiwill..!)

    http://www.astroarch.com/wiki/index.php/Blog_Roll#Cisco_Subnet_-_Blue_Gears_-_Virtual_Networking

    Alex

  • Best practices with the virtual directories CFIDE and Jakarta

    Right now I'm going through implementation of our new virtualized ColdFusion 10 Application/Web/database server, and I noticed that during installation, since I had 'Connect all IIS sites' selected, he created maps of handler for each, but each also gave a virtual directory for "CFIDE" and "Jakarta".

    Best practices guides told to restrict access to the "adminapi', 'administrator', 'componentutils' and 'wizards' records under the CFIDE directory, but is - it safe to simply remove these virtual directories (and leave the mappings Manager) so that sites can always treat the types of file associated with CF?

    1 the site we have is the default localhost is linked to, I felt I would just let these virtual directories, since to reach CF ACP this server, we'd have to goto: http://localhost/CFIDE/administrator/index.cfm

    I know that if a file from a site needs to access things like file CFScripts, CF will automatically take the virtual directory is there and create < script > tags use a src of "/ CFIDE/scripts" (which if I remove this virtual directory, would break the functionality, but assuming that I do not use this technology to other sites) It removes "CFIDE" and "Jakarta" is going to hurt anything?

    Look at the Guide of ColdFusion 9 Lockdown that Pete Freitag wrote.  A large part of it still applies to the 10 ColdFusion, especially security aspects of IIS.  There is an article on the creation of filters of aggregate demand which allows you to block access to most (or all) of the subdirectories in CFIDE.

    Regarding the Jakarta virtual directory, you need this one.  That's what allows the IIS connector to function.

    -Carl V.

Maybe you are looking for

  • Satellite L100 - L112 (PSLA3E) - problem with Gigabyte WLAN card

    Hello! Sorry for my English, im still learnig :) I have a problem with the map of GN-WI01GS running on my laptop. I bought this mini-pci card, installed with 2 antenas inside my computer and after instalation I can't find any network. I've updated th

  • Home sharing on iPad not available

    I just upgraded our iPad OS 9.  I turned on home sharing on our Macbook and connected to iTunes on both devices.  There is no button for selection of home network or other devices on the iPad in the music app.  The only available buttons or my music,

  • Windows 7 - trying to install an important update and received the error 8024002d. Failed installation. What this means?

    I am trying to install an automatic update 'important' and got error 8024002d code.  The installation failed.  Does anyone know what this means?

  • objects of façade in boxes

    As much as it feels like a really stupid question... What should I do to move a group of objects of the front panel controls lights and others in a box? Sometimes, it works like one charm, other times I can't put the items in the box, they want to go

  • MS patch for April Fools Day Virus

    I received an alert from the Dell Support Center yesterday about the imminent threat of the virus April Fools Day and was directed to a MS site where I had to download a patch for this virus.  Once I downloaded and tried to run, I received a message