Creation of sub - vi

Hi all, I'm just getting started with labview

A simple but delicate question, at least for me.  I am trying to create a simple sub - vi, with the part of my selected program code, I go to the Edit menu and the option create a subvi is not selectable. Someone knows why? Any solution?

juansoes wrote:

Hi all, I'm just getting started with labview

A simple but delicate question, at least for me.  I am trying to create a simple sub - vi, with the part of my selected program code, I go to the Edit menu and the option create a subvi is not selectable. Someone knows why? Any solution?

You must select/mark the code from the diagram you want to create one under VI.

You can also create a new VI and insert it in the calling VI.

BR,

/ Roger

Tags: NI Software

Similar Questions

  • Creation of sub menus drop-down

    Am I missing something, I can't create submenus. If these not automatically drop button menu when I have a brother page that extends from this page.

    Eugene

    I juist learned how to do this so I can help you.

    In Design Mode, click in your bar menu and then right on the arrow blue option for her. Onder Options/Menu Type Choose all Pages. Then, you will get a menu dropdown showing your submenus.

  • keywordsManager: (get the native code)

    On ESTK, running on Bridge CS6 this fives me a function:

    $.writeln (app.document.keywordsManager.renameKeyword)

    I get on console:

    function renameKeyword() {}

    [native code]

    }

    How can I get the native code for this function?

    I don't know how the arguments are organized and how it can be used.

    I also have my Active keywords like this:

    app.document.keywordsManager.serializeToXML)

    and I also have other functions, I want to test use, such as

    addKeyword (?), renameKeyword (?), deleteKeyword (?)

    I solve it.

    ~ app.document.keywordsManager.addKeyword (keywordPath:String, useHierarchicalPath:Bollean)

    ~ app.document.keywordsManager.deleteKeyword (keywordPath:String, useHierarchicalPath:Bollean)

    ~ app.document.keywordsManager.renameKeyword (oldName:String, newName:String, useHierarchicalPath:Bollean)

    ~ app.document.keywordsManager.serializeToXML)

    Notes about the creation of sub keywords:

    When useHierarchicalPath is true, the function will search for the string keywordPath and if it detects a vertical bar (for example ' aaa | ") BBB") which means a keyword"aaa"and a Sub keyword 'bbb' will be created. 'aaa' is created if does not exist.

    It's the same logic used on deleteKeyword and renameKeyword.

    Examples:


    addKeyword

    app.document.keywordsManager.addKeyword ("a few words", true); Add the keyword "words".

    app.document.keywordsManager.addKeyword ("things |") (a few words", true); Add the keyword 'stuff' and the keyword void "words".

    app.document.keywordsManager.addKeyword ("things |") (a few words", false); This action adds the key word "things". a few words"and does not take into account the vertical dashboard

    deleteKeyword

    app.document.keywordsManager.deleteKeyword ("aaa |") BBB", true); Deletes the Sub keyword 'bbb '.

    app.document.keywordsManager.deleteKeyword ('aaa', true); Deletes the keyword "aaa" and all its keywords sup

    renameKeyword

    app.document.keywordsManager.renameKeyword ("aaa |") BBB"," aaa ". CCC', true); Rename the Sub keyword 'bbb' to 'ccc '.

    app.document.keywordsManager.renameKeyword ("aaa", "a11", true); Rename the keyword "aaa" to "a11."

    serializeToXML

    app.document.keywordsManager.serializeToXML (); Returns the XML of the entire structure of keywords

  • The memory usage of the big Board in sub - VI (was: allow the creation of "Inplace"towards exchange of ideas)

    Hello

    This thread is based on my post in the exchange of ideas of LabVIEW.

    I put my screw in the .rar file attached.

    Concerning

    Marc

    I just tried in BT 8.5.1. I see a delay like Marc. I think that the problem has to do with the constant decline. When I change the constant "table initialization" to control, he can't bend, then "delta t 1" becomes 0. In any case, it's usually closer to reality.

    It seems that LV has copy constant (in BT 8.5) folded table when it is passed to a Subvi.

    Daniel

  • creation of a photo of the hero using jquery slider but the sub nav bar menu go behind the tag div of heroes

    Dropbox - Butler lawyers

    Hello everyone

    I m, design a site with a hero photo slider using jquery. My problem is, the nav bar submenus go behind the photo slide so that you can't see the submenus of the Legal Services tab. I have provided a link dropbox for the entire project. I'm working on the file called index.html. Any thoughts on how to solve the problem?

    Thanks in advance

    Paul

    Hi Paul

    Sounds like a z-index issue.

    We really need to see ALL of your files to solve your problem quickly and accurately, without a lot of questions and-front-back and guess.

    Just rename a copy of your problem page (for example "test.html") and upload it to your server (with all the associated files) in the folder the original page was and simply post a link in the Forum and tell us about your problem.

    This avoids you having to cut and paste code miles in the Forum of the page and all dependent on CSS, JS etc files.and saves us from having to recreate all your files, find your images and then fix your code and test the solution for you.

    I hope it's useful.

  • A more successful experience in the creation of UIs compositable configuration dialog boxes

    A few weeks I posted an experience in creating user interfaces using sub-panels transparent compositable. The approach can be described as, "It was less remarkable for being novel."

    Today, I write another attempt, this one along more traditional lines, and a lot more successful. Notable: this can be any arbitrary composition of this last AND it solved the problem of order TAB.

    This solution uses an image control and makes copies N of a control. When the user moves a control or move the mouse over the control, a real control slides in this position to be able to catch the events (updated mouse more attract State, highlight to the keyboard focus, manage typing, etc.). If the value changes, a master data table is updated and the image control is updated.

    It is something that has been tried in various forms in the past, but there are two aspects of this particular implementation that make nice:

    1. its programming interface for specifying the behavior of objects should make it fairly easy for a user of the framework generate dialog boxes programmatically

    2. It handles the problem of TAB without flickering, something I've not seen in other attempts

    This idea creates conversation about previous experience - thanks to those of you who have posted on various forums, e-mail me, or, in some cases, showed up at my office. That last is not something I am encouraging unless you work at OR... just saying. :-)

    Now, this experiement has already donnГ an interesting conversation. We note that, as long as the controls are instantiated independently of each other - in other words, any property of a control depends on the property of another control - this system of dialogue is progressing well. But in this experiment, I implemented the option button, which interact with each other - when set to True, the other false go. As soon as the controls are starting to interact with others (such as aging a control when a checkbox is disabled, or with expandable sections or really complex cases like updating a chart as a change in options, as happens in some config dialogs Express VI) then we leave who need ways to make reference to other controls. That leads us quickly in one of two directions: name the controls or creation of references. The naming approach is certainly my preference because it fits better with the data stream and I can make interesting effects with breaking apart some of the tree. But it quickly starts sounding like "Please implement a XAML parser in LabVIEW." For those of you familiar with XAML, in the world of user interface design, it could very well be the best thing since sliced bread. A XAML string would fit well with the data flow, and we could start that accumulate. I am reluctant to go down this road for two reasons. One, many have noted, it is really not a good library written in LabVIEW that can give me a useful analysis of XML DOM tree. Two, it is a huge project and my gut sense is that you need to fill a pretty big part of it before you would start to see any return on investment. But it is worth thinking to-I could be wrong. Wouldn't be the first time. This code I posted today can at least help you get started on the side of the generation if one of you decides to become laborious.

    I'll have my attention away from this project for the time being, coding in G is a lot of fun, and I wish I could spend several days to do, but this has been a side project and it is time to return to my projects assigned in the programming of text. Building a powerful platform for the automatic generation of user interface in LabVIEW would be really useful - I see a lot of requests for this sort of thing, and other languages are ahead of us in this area.

    [Last updated 17/05/2012 - there is an improved version.]

    This isn't a question. It doesn't have an answer.

  • Exchange of data between the main VI and sub - VI

    It is my first attempt to build a comprehensive program and hope you can help me.

    The idea is to load a set of data and to perform several calculations and operations on them, find themselves in the creation of a report file.

    What I want to do is to build a main VI which contains the data, and several sub - vi to do the math, dynamically loaded in a subgroup of experts (for the simple user interface). I thought about this architecture because I'm sure I'll have to change the calculation of VI, and I don't know how I'm going to need, so I can just add an another calc VI to the plugin dir and load it. The thing is, I have to keep moving data back from the main VI to the Subvi and maybe even between sub - vi. Is there an easy (or not so hard) how? I thought about queues, but sometimes the data is to be sent to more than a subvi, and I can't have a queue for each. The idea that I get is like a network producer-consumer mode BOX: the main VI produce some data and all those interested in this data use. Then they send the results back (as a "producer") and all stakeholders in the response it consumes.

    Attached, is a "skeleton" of what I intend to do.

    There are several ways you can accomplish this. First of all, you can use the Start Asychronous Call, which will provide a component of connector for you. So, it is easy to wire the reference to it. You could also implement a global functional (also known as a motor of action) to access the event reference. It is the approach we use for our shared events. If you have lines between the main VI and ths Subvi you to format a particular message reference. However, I don't think that this approach would correspond to what you are doing.

  • Changing a property of an indicator of the chain in a cluster with a sub - VI

    I know that the issue of the update of an indicator on a first level VI of a Subvi has been requested before on the discussion Forum, but my question is slightly different, because I want to update the property of an indicator, not necessarily its value.

    In my first level VI, I have a group that contains some indicators of the chain.  The cluster is a typedef.

    I want to change the background color of the indicator for red or green of my sub - VI string so that it looks like this:

    Creating a reference to the cluster and move to the Subvi do not seem to work.  I'm not able to see the Text.BGColor property to change the background color of the string indicators:

    It seems that the creation of a reference to a string indicator and switch to the Subvi might work like this:

    Is there a way to better/more elegant to do this? Do I have to create a reference of string for each string in my cluster and send it to my sub - VI?

    I've messed around with global variables, but not luck.

    Plese help.

    You have the right idea.  The cluster reference has a property called [orders].  Which returns an array of references to all the controls in your cluster.  Indexing of those who have properties BGColor, that you need.

  • Update of CRMI against COE Oracle 10 G server fails with the error message Invalid Date of creation

    I have an application that performs an update of a piece of content via CRMI. The element is specified viaA content ID. Since UPDATE_DOCINFO is the service DOC_INFO needs service is executed first to get it.

    DOC_INFO returns information very well. However, when UPDATE_DOCINFO is executed, it always seems to return an error message stating that creation Date is not valid. The element content updates without this error via the Native Web INTERFACE. My code works when pointed at an Oracle 11 G Server COE.

    I tried:

    1. Adding did so to a new DataBinder, without dCreateDate
    2. Adding did so to a new DataBinder, with dCreateDate
      • Add dCreateDate as a date object (from DOC_INFO response I've tried)
        • through thegetDate()
        • manual conversion with DataObjectEncodingUtils.decodeDate() (w / get() )
      • Add a string
        • convert with SimpleDateFormatter similar to how RIDC encodes (w / getDate() )
        • manual conversion with DataObjectEncodingUtils.encodeDate() (w / getDate() )
        • as «»
        • as null
        • get()Instead ofgetDate()
    3. Directly using DOC_INFOresponse Binder
    4. With the help of the library of CRMI 11 G (3 above) 5 using the RIDC 10 G (1-3 above) library

    All listed approaches have returned the same error message.

    Here's the method I use for the update. The commented code is the thing I've tried that does not resolve the issue.

    public ServiceResponse executeByContentId (String szContentId, map < String, String > updateHMap)

    throws RemoteException

    {

    If (log.isDebugEnabled ())

    {log.debug ("the execution of an update:" + szContentId) ;}}

    get the RIDC context - guess the context RIDC has already been created.

    IdcContext = RIDCApp.IDC_CONTEXT_LIST.get context (getUsername ());

    Download the client

    Customer IdcClient = RIDCApp.IDC_CLIENT;

    create the command object to run

    DataBinder dataBinder = client.createBinder ();

    film for convenience

    Binding EDAMDataBinderWrapper = new EDAMDataBinderWrapper (dataBinder);

    Binder. DOC_INFO_BY_NAME();

    binder.putDDocName (szContentId);

    binder.putRevisionSelectionMethod (RevisionSelectionMethod.Latest);

    ServiceResponse rawResponse = null;

    Try

    {

    log.info ("About to RUN: (previous update) \n" + binder.toString () ");

    rawResponse = client.sendRequest (context, binding);

    DataBinder responseBinder = rawResponse.getResponseAsBinder ();

    log.info ("Found: (previous update) \n" + responseBinder.toString () ");

    used to get the result

    EDAMDataBinderWrapper docInfoResult =

    EDAMDataBinderWrapper (responseBinder) new;

    //used for the update

    EDAMDataBinderWrapper updatebinder =

    EDAMDataBinderWrapper (client.createBinder ()) new;

    //new EDAMDataBinderWrapper (responseBinder);

    //required fields!

    DocInfoSet of the DataObject = docInfoResult.getResultSet ("DOC_INFO")

                                                                            .getRows () .get (0);

    updatebinder.putLocal ("dDocName", szContentId);

    updatebinder.putLocal ("a", docInfoSet.get ("dID"));

    updatebinder.putLocal ("dRevLabel", docInfoSet.get ("dRevLabel"));

    updatebinder.putLocal ("dSecurityGroup", docInfoSet.get ("dSecurityGroup"));

    updatebinder.putLocal ("dDocAccount", docInfoSet.get ("dDocAccount"));

    //updatebinder.putLocal ("dCreateDate", docInfoSet.get ("dCreateDate"));

    //updatebinder.addDate ("dCreateDate", docInfoSet.getDate ("dCreateDate"));

    //updatebinder.putLocal ("dCreateDate", "");

    //updatebinder.putLocal ("dCreateDate", null);

    //updatebinder.putLocal ("dCreateDate", docInfoSet.getDate("dCreateDate").toString ());

    DCreateDate //Date = docInfoSet.getDate("dCreateDate");

    / * BEGIN - Encoder Date average Java * /.

    //example format: 2012-05-16 15:35

    SimpleDateFormat sdf = new SimpleDateFormat ("yyyy-MM-DD kk:mm:ss");

    updatebinder.putLocal ("dCreateDate", sdf.format (dCreateDate));

    //END - encoder Date average Java * /.

    / * BEGIN - Encoder Date Oracle COE medium * /.

    updatebinder.putLocal ("dCreateDate",

    DataObjectEncodingUtils.encodeDate (dCreateDate));

    //END - code way Date Oracle COE * /.

                    /*

    String dCreateDateString = docInfoSet.get("dCreateDate");

                    try

                    {

    updatebinder.addDate ("dCreateDate",

    DataObjectEncodingUtils.decodeDate (dCreateDateString)

                                                    (. getTime());

                    }

    catch (ParseException exception ignored) End Sub

                    */

    String xAssetSubType = docInfoSet.get("xAssetSubType");

    //log.debug ("setting in"xAssetSubType":" + xAssetSubType);

    updatebinder.putLocal ("xAssetSubType", xAssetSubType);

    / / Set the values of metadata

    for (String szFieldName: updateHMap.keySet ())

    {updatebinder.putLocal (szFieldName, updateHMap.get (szFieldName)) ;}}

    updatebinder. UPDATE_DOCINFO(); to say the next request to perform the update

    //now that we have result - try the update

    Return the response of update of the document

    log.info ("About to RUN: (updated) \n" + updatebinder.toString () ");

    If (log.isDebugEnabled ())

            {

    log.debug ("update fields");

    for (entry entry < String, String >: updatebinder.getLocalData () .entrySet ())

                    {

    log.debug ("Update: '" + entry.getKey () + "' to '" + entry.getValue () + "'" "");

                    }

            }

    ServiceResponse response = client.sendRequest (context, updatebinder);

    log.info ("Found: (updated) \n" ")

    + response.getResponseAsBinder () m:System.NET.SocketAddress.ToString ());

    return response;

            }

    catch (Cie IdcClientException)

            {

    log.error ("Error updating the Document", sea ice);

    //throw new RuntimeException ("Error updating the Document", sea ice);

    //throw new RuntimeException ("error updating the Document-" + ice.getMessage (), ice);

    throw RuntimeException (ice.getMessage () new, ice);

            }

    //something gone wrong

    //return null;

    }

    I could solve the problem.

    The answer is proven be setting the parameter UserDateFormat on the RIDC Binder that I used to make the update request.

    Then I got just to make sure that all of my dates been serialized using this same format.

  • Partitions and Sub Partitioins

    Hello

    Please give me some information about the Partitions and Sub Partitions and how to manage it as creation, deletion etc...,.

    Thank you
    Shakur

    Check here http://docs.oracle.com/cd/B19306_01/server.102/b14231/partiti.htm

  • How can I copy files/sub-sub-sub-folders in Icloud on MacBook? Since the upgrade to Sierra, I see all of my folders in icloud but not on my Mac.  Thanks - David

    How can I copy files/sub-sub-sub-folders in Icloud on MacBook? Since the upgrade to Sierra, I see all of my folders (with documentation) in icloud but not on my Mac.  Thanks - David

    Turn off the power of optimized storage and copy the files to your Mac.

    1. Click on the Apple icon in the upper left corner of your screen.
    2. Select has about this Mac from the menu drop down.

    3. click on the tab for storage in the system information window.

    4. click on manage the...

    5 disable the storage element optimize.

  • Video metadata date is incorrect: the value and not of creation date sharing

    10 iOS, iPhone 6 +, Windows 10. Photos and videos are shared through iCloud, but NOT stored in iCloud.

    Once synced on my PC, the photos and videos have a truncated name (for example, "016a1f2e11dfcc680e1009cb96346b67678fb2c6bc.jpg"). Of course, this is not acceptable at all to me when I organize them on my NAS: I prefer a significant, sortable name, as "2016-09-16 18-15-20259 (Apple iPhone 6 more) .jpg.

    To do this, I simply read the EXIF information directly from the image, and I rename the image accordingly. No problem for the photos.

    But for videos... I do the same, in the world, but with less information. I can extract only creation date/time from metadata of the videos, not the unit that captured video. Sad, but I have not found anything else, and at least it's automatic.

    Recently, I found that the date in the video file is NOT correct: this is the timecode of SHARING via iCloud, not the timecode CAPTURE. I have therefore some videos with a delta of two weeks between the true creation as well as the "official" date

    I checked this on my phone: date is correct (once the video is no longer in full screen, the date is displayed at the top of the screen, and it is 'the' date I'm looking).

    So, question: How can I get the date of the 'real' creation of all these videos on my PC? It exists: it appears on the iPhone that took the video (a woman) AND mine. Information is 'lost' only on the PC, but I think it's a problem of reading of 'bad' metadata (I use FFMPEG to get currently), or the wrong file for reading (perhaps within an iTunes/database file, but didn't find, not found in the registry or the other).

    Best solution is to find something operate locally, through the command line, to do it in batch mode. A solution of GUI PEUT agree if I can automate with AutoIt (i.e. should not be a native Win32 application, not Java, .NET, GTK, QT and so on, OR must have an export feature). A solution based on the web is not suitable, but can be less boring to review each video one after another to manually check the date.

    Thanks in advance.

    In my opinion, the only way to fix this is with third-party software like this one.

  • Disabling creation tag 'Album fate. "

    Hello - the first time poster.

    Since the upgrade to iTunes 12.4.3.1 under Windows, I noticed that when filling tags for titles in my playlist ID - for example, update of the artist, Album and work - a new tag "Album fate" is created.

    Is there a way to disable the creation and filling of this tag 'Album fate? "  I'm certainly very finnicky to keep my ID tags clear of unwanted information, and the tag of the Album sorting is not something I'm curious about.  Of course, I can manually remove the tags later outside of iTunes, but it would be better, if they were not created in the first place.

    Thoughts?  Thanks in advance for any guidance, much appreciated!

    cbal324

    Since the upgrade to iTunes 12.4.3.1 under Windows, I noticed that when filling tags for titles in my playlist ID - for example, update of the artist, Album and work - a new tag "Album fate" is created.

    Hello Cbal,

    iTunes does not automatically create an Album tag kind.  It seems that as it does.

    From 12.4, if the tag Album sorting is not met, iTunes will display the name of the Album in the Album sort field (less 'a', 'one', or 'the' in the English version).  It shows in grey to indicate that it is not really met.  This is to show how the album will sort.

  • Local error-1200 creation push certificates on the server. Any idea?

    In the Application Server

    When you try to renew or create a certificate to push comes up with the error "Certificates to push creation local error - 1200" on the server. Any idea? »

    I'm having the same problem with 10.7.5 server. (two of them)

    At the time of renewal, I was looking at the Console and I think the Apple Server SSL certificate is therefore more reliable.

    (or server versions are low)

    August 15 at 10:23:08 login.* * servermgrd [23349]: received the connection error: error domain = NSURLErrorDomain Code =-1200 "error SSL and a connection to the server cannot be made. UserInfo = 0x7fb8f5aab9a0 {NSUnderlyingError = 0x7fb8f15af450 "error SSL and a connection to the server cannot be made.", NSErrorFailingURLStringKey =https://identity.apple.com/pushcert/caservice/renew, NSErrorFailingURLKey =https://identity.apple.com/pushcert/caservice/renew, NSLocalizedRecoverySuggestion = you want to connect to the server anyway?, NSLocalizedDescription = SSL an error has occurred and a connection to the server cannot be made.}

    August 15 at 10:23:08 login.* * servermgrd [23349]: certificate request to push failed: reason = Local, error code = - 1200, error = error Domain = NSURLErrorDomain Code =-1200 "error SSL and a connection to the server cannot be made. UserInfo = 0x7fb8f5aab9a0 {NSUnderlyingError = 0x7fb8f15af450 "error SSL and a connection to the server cannot be made.", NSErrorFailingURLStringKey =https://identity.apple.com/pushcert/caservice/renew, NSErrorFailingURLKey =https://identity.apple.com/pushcert/caservice/renew, NSLocalizedRecoverySuggestion = you want to connect to the server anyway?, NSLocalizedDescription = SSL an error has occurred and a connection to the server cannot be made.}

    So not yet an idea, but hopefully with these console outputs happen to something?

  • How to get the creation Date of the site recorded for the footer output (printing to PDF)?

    If you go to Page Setup in Firefox, the option for the footer is the date and/or time of output. I don't want today's date that its print, but would rather than the Date of the creation of this web session saved as it is important to display this information with a legal matter. The research that has been done on a computer is out of date of creation down instead. I know that I could add the date by using the custom field for a footer in the Page options but prefer automated sound somehow when you print to a PDF (CutePDF). Please let me know.

    Thank you

    You might be able to automate this process if you open your PDFs with Adobe Acrobat Pro and make sure that the PDF file has a date of receipt:
    Idea of *http://smallbusiness.chron.com/print-date-time-stamps-pdf-55986.htm...

Maybe you are looking for

  • Graphic problem Equium A60-157. Help, please

    I've always had the following message when I play a dvd or a movie file in half way through: The ati2dvag display driver has stopped working normally. Save your work and restart the system to restore the full display functionality. my display card dr

  • Can satellite A505 - I configure media buttons?

    Hi all: I have a question: is it possible to configure multimedia LED buttons "Play/Pause", "RW" and "FF" of my Satellite A505-S6965 to run a program? I know it's possible to do it with the 'eco', the buttons "mute" using the program "Support of Tosh

  • Help with timezone and error of memory in Outlook 2007

    Hello, I tried to solve a problem on the computer of the employee which I believe is coming from Outlook. I have just put up with this "new" computer (adopted by an employee of the precedent). I reinstalled Windows XP, reformatting the HD, installed

  • Do we not have to load the SBH20 before using it? If so, for how long?

    Hi friends, I just bought a Sony SBH20 bluetooth headset yesterday. Should I charge before using it? If so, for how long?

  • How to search for media streaming in blackberry

    Hi I use following code to send the streaming media. But it gives me not seeking exception not allowed on the media. Is it possible to ask the media streaming in blackberry? private void forwardPlayer() {}{if (isPlaying)}try {}prevTime long = player.