If I use a "wait" in my sub-vi will it affect my outer vi

I put a "wait" in a sub-vi and another vi use the sub-vi. While the wait is working in the sub-vi will the outer vi wait until the wait finished or it just continiue its work?
Solved!
Go to Solution.

More specifically, all code in the main VI that depend on the subVI will have to wait until the subVI completes. If the main VI has a parallel loop, that other loop will continue to spin, for example. If there is code in parallel to the subVI, that will also complete. However dependent parts of the code will have to wait. For example, a loop cannot go to the next iteration until the subVI contained in it has completed. 
LabVIEW Champion . Do more with less code and in less time .

Similar Messages

  • I am using a timed while loop and am unable to get the loop to run at a speed of less than 1ms (I am currently using the Wait(ms) function). How can I get a faster response?

    I am trying to create a virtual engine within a timed while loop and am unable to get the loop to run at a speed of less than 1ms (I am currently using the Wait(ms) function). This does not however allow realistic engine speeds. How can I overcome this? I have access to a PCI-MIO-16E-4 board.

    andyt writes:
    > I am using a timed while loop and am unable to get the loop to run at
    > a speed of less than 1ms (I am currently using the Wait(ms) function).
    > How can I get a faster response?
    >
    > I am trying to create a virtual engine within a timed while loop and
    > am unable to get the loop to run at a speed of less than 1ms (I am
    > currently using the Wait(ms) function). This does not however allow
    > realistic engine speeds. How can I overcome this? I have access to
    > a PCI-MIO-16E-4 board.
    Andy,
    Unless you use a real time platform, getting extactly 1 ms loop rate
    (or even less) is impossible. It starts getting troublesome at about
    0.1 Hz for standard operating systems.
    I'd tackle your problem with "if i mod 10 == 0 then sleep 1 ms".
    Of
    course this is jerky by design.
    HTH,
    Johannes Nie?

  • GUI window doesnt open when using the .wait()

    Hi everyone
    I new to java. I'm experimenting with nebeans 6.1. I building a GUI, which uses other GUI windows. Can anyone give me an example of how to use the .wait function to so that the main gui doesn't continue until the other gui's selection is made. I'm using swing.

    I thought making it modal would halt the loop until my selection was made in the gui. It will. You are doing something wrong.
    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.
    And don't post your NetBeans code because those of us that don't use the IDE of Java 6 will not be able to execute the code.

  • Does 'find your iPhone' use a lot of internet? My mobile data is running out ridiculously fast and I need it to slow down!

    Does 'find your iPhone' use a lot of internet? My mobile data is running out ridiculously fast and I need it to slow down! Anyone has suggestions / info?

    You should shut down all the apps running in the background and then reset your phone.  Double tap the home button to open the multitasking drawer (iOS 6.X) or the multitasking screen (iOS 7.X)  if you are on iOS 6.X press and hold one of the app icons and wait for the icon's to start to jiggle, just like when you want to delete an app.  Tap the little x that appears in the upper corner of the icons.  Repeat until all the icons are gone.
    If you are on iOS 7.X once the multitasking screen is open swipe up on all the app images until they are all closed.  Tap on the home screen to close.
    Then press and hold both the Home and Sleep buttons at the same time and wait for the Apple logo to appear then release both buttons.  The phone will restart itself. 
    If this doesn't help try doing a Reset All Settings reset, you will not lose any data or content or media.  But you will have to reset any setting you turned on or off in Settings.  This will reset all settings back to factory default.  Settings => General => Reset => Reset All Settings.

  • Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini

    Is there a way to use the iMac's display mode with a Mac mini with out logging in first on the Mac mini (late2014)
    im currently useing my Mac mini as a portable computer, I take it to the university and use the iMacs there as a monitor but before I can do that I have to log in to my Mac mini first which means doing it blind
    is there a way to put the IMacs into display mode with out logging into my Mac mini first
    or is there a portable monitor that I can use that will not require me to login first

    This
    Target Display Mode: Frequently Asked Questions (FAQ) - Apple Support
    says:
    How do I enable TDM?
    Make sure both computers are turned on and awake. 
    Connect a male-to-male Mini DisplayPort or ThunderBolt cable to each computer.
    Press Command-F2 on the keyboard of the iMac being used as a display to enable TDM.
    Note: In Keyboard System Preferences, if the checkbox is enabled for "Use all F1, F2, etc. keys as standard functions keys," the key combination changes to Command-Fn-F2.
    How do I exit TDM?
    To leave TDM, press Command-F2 on the keyboard of the iMac that is in TDM. You can also exit TDM if you shutdown or sleep either computer or detach the cable.
    Can I use a third-party keyboard or older Apple keyboard to enable TDM?
    Some older Apple keyboards and keyboards not made by Apple may not allow Command-F2 to toggle display modes. You should use an aluminum wired or wireless Apple keyboard to toggle TDM on and

  • I am trying to pair my cell phone and tablet using Messages   App,  but only MMS messages will come through on my tablet.   I've tried pairing and unpaired,  reinstalling app on my tablet,  and can't figure it out.   Any idea how to fix this?

    I am trying to pair my cell phone and tablet using Messages   App,  but only MMS messages will come through on my tablet.   I've tried pairing and unpaired,  reinstalling app on my tablet,  and can't figure it out.   Any idea how to fix this?
    Thanks

    I Shared my most ridiculous situation but didn t log under your problem.
    sorry, I gave you your answer under sunshine99 or Dianna. I want out and you want in.
    if you not find just email me at [removed]
    thanks
    Personal information removed as required by the Verizon Wireless Terms of Service
    Message was edited by: Admin Moderator

  • My iphone 5 screen has gone black in the middle of updating a app. i have tried to back it up using itunes and restore it however it will not restore my phone as i have got the app find my iphone switched on. i cannot turn it off as the screen is black

    my iphone 5 screen has gone black in the middle of updating a app. i have tried to back it up using itunes and restore it however it will not restore my phone as i have got the app find my iphone switched on. i cannot turn it off as the screen is black. can anyone help me please??

    christobell86 wrote:
    ... it will not restore my phone as i have got the app find my iphone switched on.
    You can access iCloud.com on a computer to turn it off.
    http://support.apple.com/kb/PH2702

  • HT204053 If I add a new iCloud account to my iPhone 5, will I be "locked out" because I'm using a new Apple ID to do it? Do I have to use a new Apple ID to create a new iCloud account? Want to separate calendars/contacts for 2 iPhones now using 1 iCloud a

    If my husband add a new iCloud account to his iPhone 5, will he be "locked out" because he's using a new Apple ID to do it? Does he have to use a new Apple ID to create a new iCloud account? He set up his phone using my Apple ID because we didn't know any better. Now we want to separate calendars/contacts, but are afraid of the 90-day lockout.

    Welcome to the Apple Support Communities
    You can change the Apple ID without any problem. On his device, go to Settings > iCloud > Delete account and login with his Apple ID so he'll get his information. iCloud needs an Apple ID, so if he hasn't got one, he must create an Apple ID > http://appleid.apple.com
    When you delete the iCloud account, all the information will be deleted, so I recommend you to turn off each service before deleting iCloud

  • Using the New Mac Pro (can) - AE will not let me use Race Traced 3-D

    Using the New Mac Pro (can) - AE will not let me use Race Traced 3-D
    Hi, I'm using the new Mac Pro
    2.7 GHz 12-core Intel Xeon E5
    64 GB 1867 MHz DDR3
    AMD FirePro D700 6144 MB
    OSX 10.9.2
    I'm using After Effects 12.2.1.5
    When I attempt to invoke the race trace 3D renderer in a comp, I get this error
    "After Effects Error: Ray-traced 3D: Out of paged mapped memory for ray tracer. Your project may exceed GPU limits. Try closing other applications. Try updating the CUDA driver. (5070::2)"
    My preferences are set to use the CPU for Raytraced 3D since I do not have an Nvidia card.
    So, obviously there is an issue here in that it thinks I have an Nvidia card.
    I know (or assume I know) the cause for this is that when I set up this machine, I used Apple's migration assistant to move most of my data over from the previous gen Mac Pro which DID have a CUDA card.
    So my question is, what files can I delete/reset to cause After Effects to no longer look for CUDA files that do not exist on this machine?
    I do not have the CUDA control panel in System Prefs, so THAT did not carry over.
    Any ideas would be appreciated, thanks!

    > I know (or assume I know) the cause for this is that when I set up this machine, I used Apple's migration assistant to move most of my data over from the previous gen Mac Pro which DID have a CUDA card.
    Ugh. That causes so many problems.
    The first thing to try is deleting the CUDA frameworks from your Mac: Look in /Library/Frameworks for the CUDA.Framework and get rid of it.

  • How to Create a Bootable Flash Drive to do a clean install of Lion.  I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?

    How to Create a Bootable Flash Drive to do a clean install of Lion.  I have tried to use the InstallESD.dmg but it still will not do a clean install so that I do not have to do a reinstall from the Recovery (That just re downloads and takes over 6 hours)?
    The system I'm have is a Mac-mini that had SL on it and no SuperDrive.  I have also call Apple Support and they have really have not been to much help over 1st did my up grade to Lion and Installed the Lion Server.... it lost my SSL that I paid for and kill almost on of my server setting, plus kill all my web servers (using apache vhosts), and not to say the LDAP will even let remote users login to your laptops.
    PS: There is no way that I'm going to buy a Install USB from Apple... They have over billed me over $300.00 because the Apps Store still has bugs (Glad I did not write that App/Service)
    If there is anyone that can give in the information to create a USB install stick, I would be very thinkful.

    Here you are bro, courtesy of "softpedia.com"....brilliant site!!!
    If you ever had problems with your Mac OS X installation you know that the first thing you should do is to check the startup volume using Disk Utility.
    After the check has ended and, if the errors exceed a certain level of seriousness, the Disk Utility application will require you to restart your Mac and use its Mac OS X Install disc counterpart.
    Other users may have to reinstall OS X altogether, but will find, or already know, that their SuperDrive (a CD/DVD reader and write combo drive) is not functioning properly and it will not be able to read the Install disc.
    Although this might happen to Mac OS X Leopard users due to faultyhardware, the vast majority of problematic SuperDrives will be encountered inside Snow Leopard running Macs.
    This is due to the updated SuperDrive firmware included in either the Install disc or the software updates one has to install to reach the latest version of OS X, namely 10.6.6.
    This can be fixed by flashing the SuperDrive’s stock firmware using free command line tools that one can find for free online (I will write about this process also, but at a later time because this article only focuses on allowing you to create your own alternative USB boot disc).
    If you are reading this last bit of information with skepticism, than you should know that it happened to me too. Despite all my tries to make it work properly, the SuperDrive kept on munching any inserted DVDs and just popped them out in about twenty seconds.
    The workaround to this issue was to create my own Leopard bootable USB memory stick. I am not suggesting a Snow Leopard bootable stick mainly because there are lots of users that have decided to buy the cheaper, Upgrade version, which I have not tested and, therefore, I’m not sure if it will work properly once written to a USB disk.
    And now, here are the exact steps you should follow in order to obtain a fully bootable Leopard (or Lion) Install disc.
    Step 1 (If you already have the Leopard install disc DMG file you can skip to Step 2)
    Launch Disk Utility (you can find it inside /Applications/Utilities). Here select the Leopard Install disc in the list of drives on the left and click on the New Image menu entry at the top of the window. A save message will appear where you will have to select the Desktop as a destination.
    Step 2
    After Disk Utility has finished creating the Leopard DMG, insert your USB stick and erase all data and reformat the disk. To do this select the USB in the list of drives on the left and, after clicking on the Erase tab on the right side of the window, choose the Mac OS Extended (Journaled) format and click the Erase button beneath.
    Step 3
    After the USB has been reformatted, download the SuperDuper app from HERE and launch it. Once SuperDuper starts, you will only have to select the DMG in the Copy drop-down menu, your USB memory stick on the right and hit the “Copy Now” button.
    One can also use Disk Utility for this task but creating a bootable USB stick failed 2 out 4 times when copying the DMG to the stick (with the exact same settings each time). Creating the bootable stick using SuperDuper proved to be the perfect way to do it because it worked each of the 4 times I tested it.
    The steps above can also be used to create a bootable Mac OS X Lion USB by using the InstallESD.dmg image you can find inside the Lion installer (named “Install Mac OS X Lion.app”) downloaded from the Mac App Store in the /Applications folder.
    To locate the InstallESD.dmg right click the Lion installer, select the “Show Package Contents” entry, go inside the “Contents” folder, and from there into the “SharedSupport” folder. Inside this folder you can find the InstallESD.dmg you can use to create your own bootable Mac OS X Lion USB stick. To do so, go to the third step described above and use the InstallESD.dmg as the DMG to be copied to your USB disc.
    That’s it! Once the process ends you will have a fully bootable Leopard (or Lion) USB disk that you can use as an alternative to the Apple’s DVD Install disc that comes bundled with all Macs.
    To use your newly created bootable disk you will have to restart the Mac, press and hold the OPTION key until the StartupManager appears. Here, select the Mac OS X Install disk using your keyboard arrows and press return to start from the selected drive.

  • I want to play video on my computer to make some analysis to frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program

    HI All
    I want to play video on my computer to make some analysis to it's frames,the problem that I face ,I can't change video frame rate using labview,but I can change frame rate to the video out of labview using some program .
    I used IMAQ AVI Read Frame VI
    for example I have avi video It's frame rate is 25 fbs ,my image processing code is very fast that can process more 25 fbs,so I want to accelerate video acquisition

    Hi abdelhady,
    I looked into this further, and reading an AVI file into LabVIEW faster than its frames per second won't be possible. LabVIEW could read in frames faster than 25fps, but because it will be pulling the available frame at that point in time this would just give you duplicate frames. If you want to be able to read in frames at faster than 25fps, you would need to speed up your AVI file before reading into LabVIEW.
    There's a good shipping example to show how to read in from an AVI file, "Read AVI File.vi". You'll notice that they add timing to make sure that the while loop runs at the right speed to match up with the frames per second of the file being read. This is to make sure you're not reading duplicate frames.
    Thank you,
    Emily C
    Applications Engineer
    National Instruments

  • My Iphone 4s is not being recognized by itunes at all. There is no connection, the cable i am using is not the problem because itunes will recognize my Ipad2 and Ipod thru it. I have the most current itunes and phone software I need help!

    My Ihone 4s is not being recognized by Itunes.There seems to be  no connection, the cable i am using is not the problem because itunes will recognize my Ipad2 and Ipod thru it. I have the most current itunes and phone software I need help!

    Thank you allan this worked, the final thing was updating the driver softwar for the AMDS in device manager. Thanks again.

  • HT1727 my itunes account was on my home computer that me and my brother both used. The computer died and we will need to buy a new one. We thought that if we just logged into our account from my laptop all the music would be there, it is not. Can anyone h

    My itunes aacount was on my home computer that me and my brother both used. The computer died and we will need to buy a new one. We thought that if we just logged into our account from my laptop all the music would be there, it's not. Can anyone help us?

    Go to the iTunes Store and select "Purchased" from the Quick Links side bar on the right. Go through all the tabs to download again for free

  • How to find out the tables that will be affected using a transaction

    Hi,
    How to find out the list of database tables that will be affected when we use a standard transaction(ex. VA01, MM01..)...?(like When we create a salesorder, which tables and which fields will be affected..?)
    Is there any transaction or a simple way to find out the solution?
    Thanks,
    Pradeep.

    Hi,
    Give transaction code and in menu(system- status),  double click onthe Program name.
    Check in TOP INCLUDE - you will find all the tables related to that transaction.
    Thanks,
    Anitha

  • Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    Just bought a used MacBook pro after my previous died. I want to migrate my applications, data, etc from a time machine backup of the old computer to the new. Will this affect, or overwrite the Apps., data, etc existing on the new machine?

    No. Only those Apps that are not installed on the new will migrate over.

Maybe you are looking for

  • Hotspots in a loaded movie not referencing correctly

    My main movie uses an onResize function to reposition movie clips relative to stage H & W, a movie loaded into level 1 contains the hotspots that aren't registering properly. CODE IN MAIN MOVIE: Stage.scaleMode = "noScale"; Stage.align = "TL"; //////

  • Can I use my BB Z10 in India???

    Hi, I have bought BB Z10 in Nigeria & using there. Now I am in India and change my SIM but Phone is not detecting my new SIM. Why??? what is the solution ???

  • Transfer iPhoto library from one computer to another

    I have many photos in my PowerBook G4 library. They are arranged in many folders. I have recently acquired another Mac using the same OS X 3.9. I have not been succesful in tgransfering my iPhoto library to the new computer. I did copy the entire lib

  • Run C# scripts daily/hourly in remote place , not locally

    Hi, I'm a beginner in automation tasks. I don't have experience on it. I have 2 scripts in C# (and one in CLI of CollabNetTeamForge,but for now we can forget about this last one). These scripts generate two XML docs which are connected and synchroniz

  • Portlet with MS AJAX framework - how do I get it to work?

    Just curious if anyone knows/has a successful working portlet with MS AJAX toolkit controls? Any samples would be greatly appreciated!!!