How as soon as the sub VI VI?

I am in train and learning to build large screws of Subvi, but I noticed a conundrum... I lost all my speed!  A VI «Voltmeter CC...» "the voltage, and the other"voltage drive... ". ' use as a Subvi to measure the voltage and then perform a simple multiplication on the measured voltage operation.  Why is the largest VI so MUCH SLOWER?  It's MUCH slower than the simpler vi.  Why is the "blood drive" much slower than the voltmeter "DC"?  How can I structure it so I don't lose the speed so much?

If I put the while loop on the DC voltmeter, as shown in the third list VI, the stream is very rapid.  Where did the speed? when you convert it to a Subvi  I'm wiring these things correctly?

Thank you

Dave

dav2010 wrote:

What is the correct way to implement vi small to build big vi?

For the DAQ tasks like this, I like to have a single VI which sets up the task (adds channels, installation schedule, etc.).  So you're right that everything before the while loop is a good canidate to be a Subvi.

A response more generally, anything which is a simple and logical code block should probably be a Subvi.  This is especially true if you find that you duplicate code (it becomes a Subvi instead of duplicate).

Tags: NI Software

Similar Questions

  • How can I create a sub navigation, detached from the main navigation bar.

    I'm in the middle of the development of a Web site that features two areas of navigation. In the upper part of the site I have the main navigation, with House, about, work and communicate with, while in the lower part of the page work, I want to add navigation sub disciplines such as Visual identity, brochures and flyers, annual reports, etc.. It will be the child pages on the work page.

    I can't find the option to detach the navigation under the disciplines of the main navigation. Can someone tell me how I should create this possibility so that the sub navigation will be generated automatically, but detached from the main navigation?

    See you soon,.

    TimNavigation_SubNavigation_Example.png

    Unfortunately two unique sets of generated navigation automatically is not possible currently. An alternative is to create your navigation bar with a menu manual, low browsing with a menu widget, and then disable the top-level pages appear in the menus (on the preferences page, or by right-clicking on a page in outline view). Since there are more pages in the navigation at the bottom, this could at least save time by keeping only the automatically generated value.

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

  • How to get the sub cluster item caption?

    Hi all

    I have a big cluster, which contains several groups of void. They are all type def.  My queation is,

    How to get the sub cluster item caption?

    Thank you.

    Anne

    In this nugget , you will find many images that illustrate how to get to items within a cluster. The ideas are the same, you will search for the legend.

    Have fun!

    Ben

  • When I go to a favorite websight how can I get the user id and the password to open the view without having to put in me? Barry was soon

    When I go to a favorite websight how can I get the user id and the password to open the view without having to put in me? Barry was soon

    Hi Barry,.

    Please contact Microsoft Community.

    It would be great if you can answer the following question:

    What browser you use on the computer?

    If you are using Internet explorer, I suggest you to follow these steps to turn on the AutoComplete feature and check if it helps:

    (a) open Internet Explorer.

    (b) click on the Tools button and then click on Internet Options.

    (c) click on the content tab.

    (d) under AutoComplete , click settings.

    (e) check the address bar, Forms, usernames and passwords on formsand ask me before saving passwords check boxes.

    (f) click OKand then click OK again.

    Let us know if this can help, and if you need further assistance.

  • How to find the number of SubTabs in the in the layout of the sub tab

    Hello

    I have a layout tab subregion. In this, I hide some tabs void according to certain conditions. I want to know how much void visible a layout of the sub tab currently have in any of my slot Tablet controllers. Please help me in this.

    Thank you

    Satya

    Satya,

    OASubTabLayoutBean subTabLayout = (OASubTabLayoutBean)webBean.findChildRecursive("SubTabLayoutRN");
    if(subTabLayout!=null)
    {
          System.out.println("Child :"+subTabLayout.getIndexedChildCount());
    }
    

    Kind regards
    GYAN

  • How can I clear the shift registers of sub for loop for each iteration of a larger loop?

    Hello

    I write a program to concatenate multiple text files.  However, I need to treat each column individually before they are concatenated.  I use one for a loop at normalze 6 columns choice the largest loop of concatenation.  However, the shift registers store data from previous iterations of the larger loop.  How can I clear the shift registers of the void loop based on the iteration of the larger loop?

    Thanks in advance!

    OK, that's fine. are there headers?

    In all cases, all you need to do is to place all of the 2D array in the shift register of the inner loop, iterate over the columns relevant to be normaized (use 'index array' to get the column it normalize, put it to help to "replace the subset of table".) You probably want to initialize the outer loop shift register. Use then "building the table" added to the beginning or the data of each file sets.

  • How can I disable the voicemail transcription service?

    How can I disable the function of transcription of voice mail on my iPhone 7 more?

    Hello

    Go to settings-accessibility disable voice.

    See you soon

    Brian

  • QuickTime Player does not read the sub file.

    I tried to watch a movie with subtitles using a randomly video player, but I'm having some problems now. So I tried to use QuickTime Player to my surprise, there was no possible way to do it, but to burn the subs in the movie file. How is it that such expensive equipment does not have a video player that can actually read subs?

    Please, take a look at this, I think that we should not have to download another video player to do this.

    QuickTime Player 10.x: discovers the movie subtitles

  • How can I find the music marked with an exclamation point in my itunes library?

    How can I find the music marked with an exclamation point in my itunes library?

    Hello there rdgernnr!

    I certainly don't want to find the songs that show the "!" and get them to play correctly. If you have not yet done it, read this article: If you see an exclamation point next to your items in iTunes - Apple Support

    More precisely:

    Correct the path of the media file

    Follow these steps to help find the correct location of the file iTunes media:

    1. In iTunes on your Mac or PC, select the song, album, movie, or television show that has the exclamation next to him.
    2. In the MenuBar at the top of your screen, computer or at the top of the iTunes window choose Edition > read the information.
      If you are using Windows and you don't see the menu bar, Learn how to turn it on.
    3. When you see a message asking if you want to locate the file, click search.
      • If you know the location of the file, point to it iTunes and try to read your content.
      • If you do not know the location of the file, search for it:
        Mac: Press ⌘ and space control your keyboard, and then type the name of the movie title, app, song, album or artist.
        Windows: Press the Windows on your keyboard, and then type the name of the movie title, app, song, album or artist. If your keyboard does not have a Windows key, press the Escape (Esc) and control (Ctrl) on your keyboard.
      • If the file is on a network drive or external, plug on the volume of disk or external network.
      • If you find your objects in the trash or recycle bin, restore them to their previous location:
        Mac: Control-click or right-click on the item and choose put back.
        Windows: Right-click on the item and choose restore.
    4. Once you retrieve the file, use Get new Info to locate the file, and then point iTunes to the correct location.

    See you soon!

  • How can I change the height of the menu bar to allow my large icons/buttons maintain their size?

    I've recently updated to FF31 FF28. Totally different user interface, I get that. I waited to update until I psych myself to try something different. I have the default theme Australis and Noia Fox Theme, which is designed with the larger icons/buttons for those with Visual needs. On my screen at this moment, I have the title bar, menu bar, tab bar and toolbar url/addon with the menu "Burger" on the right. I placed icons in the bar of menus, kept the House icon in the bar of the addon, and then there are the default icons in the menu popup. When I activate the Noia Fox Theme, look great icons in the addon/url bar, even in the popup menu; clear, large, easy to see. However, the icons in the menu bar (not the menu popup) are less than half their size origin/destination. So I'm going to default Australis theme, reboot and same problem, but not quite as dramatic as the default theme is smaller at first.

    My thought then, is that there is a setting in the menu bar which resizes the icons/buttons for a small default size. This setting can be changed to allow icons to keep their size original (or near it) and if so, how? I like the location of the menu bar on my screen, underneath the title bar above the tabs bar. Works very well with the new Fox only better addon that attaches to the tab bar and mask the url bar, a 'new' for me and I love him. I know that I can get the CTR with an additional bar and I tried that. The question, then, is that the extra bar appears below the tab bar and that it is not moveable to above the bar below the title bar and tabs.

    For the moment, I have just the two themes, security addons added and The Fox but better. I haven't added any other addons of appearance again in order to minimize potential conflicts/problems. I have not tinkered with internal FF by default not to follow the other parameters to tell me (I think that's what I did). To the best of my knowledge limited, I kept the changes and customizations to a minimum. And Yes, by your feature of conjecture to posted questions, I'm under Win 8.1 and 31 FF.

    I think I've offered sufficient detail so that others may try to reproduce the problem. Otherwise, let me know and I'll try to answer as soon as I can. Thank you very much for any help offered.

    ~ wkothlow

    You can also try code like this that I posted before on icons placed on the menu bar:

    #toolbar-menubar > toolbarbutton > .toolbarbutton-icon {
      height:24px!important; width:24px!important; margin:-3px!important;
    }
  • How can I restart the date and time?

    The date and time on my task bar have become desensitized. How can I restart the date and time?

    I can't access the same system for the date and time preferences.

    Have you tried restarting your Mac?

    See you soon,.

    GB

  • P5P34EA: how to turn off the FN key?

    Hello

    How to turn off the fn key?

    Please READ: everyone saying fn = f10 or fn + f2

    but it's not doing nothing for me! and ctrl + esc just display

    me information of sistem!

    Help, please

    Thanks, March

    Hello

    Try the next method.

    Hold the left SHIFT key you click Shutdown to temporarily prevent hybrid boot.

    Let off the laptop computer for 10 seconds.

    Start by typing esc button permanently as soon as you press the power button (do not wait for the prompt) and see if it will access the start menu - if that is the case, select f10 to open the Bios Menu.

    Kind regards

    DP - K

  • How can I remove the double song from my iPhone titles?

    How can I remove the double song from my iPhone titles?

    Hello josephever,

    Thank you for using communities of Apple Support.

    To remove the music from your iPhone, you will need to follow the steps below:

    Remove music

    Remove tracks, albums or playlists in the music app delete all music in the settings.

    Remove the application, music, playlists, albums or songs

    1. Find the song, album, or playlist you want to delete.
    2. Tap the Options icon plus on the right side of the screen.
    3. Press DELETE.
    4. When you are prompted, press Delete [purchased or Playlist] to confirm.

    Delete all the music on your device

    1. Go to settings > general > storage and use iCloud > storage management.
    2. Tap music.
    3. Under the music, by sweeping left on all the songs.
    4. Press DELETE.

    If you delete a purchase that you have not saved on your device, the purchase will also hide your purchase history.

    If you are a member of music from Apple or iTunes subscription game, you might see 'Remove my music' instead of delete. Remove the music from your iPhone, iPad or iPod touch also removes it from your music library to iCloud. If you delete music on a single device, it also deletes other devices. Learn how delete your music to iCloud library media.

    On an iPhone, iPad or iPod touch, if you do not have the music available offline, it is cached by using the available space on the device. The device will delete cache and caching of music, as space is needed by the device.

    Remove music, movies, applications and other content to your iPhone, iPad or iPod touch

    See you soon.

  • How can I synchronize the notes of macbook or imac with iphone 4?

    Somehow more notes are not synchronized.

    How can I synchronize the notes of macbook or imac with iphone 4?

    I found the help of apple, to login to icloud for my iphone. As soon as I visit icloud. com that I am advised to implement the icloud on the phone, but it is.

    If your MacBook and iMac running El Capitan (OS X 10.11) and that you upgraded to the new features of notes, sync will alone with an iPhone running iOS 9 or later (which is not possible to do it on an iPhone 4). See the quote below: upgrade your notes with iOS 9 and OS X El Capitan - Apple Support

    When you open Notes in iOS 9 and OS X El Capitan for the first time and select Upgrade now, both your notes on your device and your notes on iCloud.com will modernize. And if you connect to iCloud with the same Apple ID on your other iOS devices 9 and OS X El Capitan, all changes made to a note on a single device instantly appear on other devices.

Maybe you are looking for

  • Want to m6-1203ex: HP Envy m6-1203ex laptop drivers for windows7 (32 bit)

    I downgraee my computer hp Envy m6-1203ex Win8 for Windows7 (32 bit) laptop, I have already successfully installed Win7 (32 Bit), I need hardware drivers for windows7 (32 bit), I checked on google, but does not do so. Please inform accordingly.

  • How can question I run an executable file in the background?

    Hello I'm trying to run an executable in the context of LabVIEw, but none of the methods described in the forum and on ni.com seems to work. I use LV 2011 on a 64-bit Windows 7 machine where it is important. I tried the method described in "How to ma

  • Installation of the 2nd hard drive internal

    I have a HP Pavilion a6750y, with an internal hard drive and a LightScribe DVD Super Multi burner.  The system is running Windows 7 Ultimate 64 - bit, with 8 GB of RAM. I want to install a 2nd internal hard drive... If all goes well. The original har

  • How to upgrade my drivers?

    Original title: have just a custom built Pc, after targeting drivers, test results say. I have an outdated drivers! How vould download or update my drivers? I just got a new custom built Pc. After analysis of the pilots, the result by saying that I h

  • M4 overheated aqua

    My aqua m4 carried out and charge. The fully charged green light is constantly, but the phone is turned off and won't turn on. The upper part of the phone is hot and has not cooled since being unplugged