Why is timing different when subvi is called vs. stepped into?

I have a subvi that is called from within a larger vi. This subvi uses a sequence of wait(ms) vis and custom white-noise generator vis to create a sequence of sounds outputted to headphones. The timing of the sequence is very reliable when the subvi is either run directly or if I step-into it from the calling vi. However, when labview calls the subvi as part of the larger routine, the sequence is off.
It's confusing because I'd expect the same behavior regardless of step-into or running it from the calling vi. Any help will be much apprecitated.

What do you mean by step into? Is that during the debug phase?
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies

Similar Messages

  • Connection timed out when making RMI call

    Hello,
    I am using a combination of Spring Remoting and Scheduling with Quartz Timer. Both are using RMI as a communication stack. The RMI server is located in sydney while the client is located in the US. This incurs large network lag which causes my RMI method calls to timeout. I am able to do a lookup on the RMI object and receive a stub reference to it with no problem but as soon as I try to invoke a remote method on that stub it eventually times out.
    Thinking it was truly a timeout issue I implemented a Custom socket factory for RMI using RMISocketFactory.setSocketFactory(new TimeoutSocketFactory(120000));Here is the custom TimeoutSocketFactory:
    public class TimeoutSocketFactory extends RMISocketFactory {
            private int timeout;
            private static final Logger log = Logger.getLogger(TimeoutSocketFactory.class);
            public TimeoutSocketFactory(int timeout) {
                this.timeout = timeout;
            public Socket createSocket(String host, int port) throws IOException {
                log.debug("Creating timeout socket with value - " + timeout);
                Socket ret = getDefaultSocketFactory().createSocket(host, port);
                ret.setSoTimeout(timeout);
                return ret;
            public ServerSocket createServerSocket(int port) throws IOException {
                ServerSocket ss = getDefaultSocketFactory().createServerSocket(port);
                ss.setSoTimeout(timeout);
                return ss;
    }I implemented the custom socket factory both on the RMI server and on the RMI client. This had no effect on the time outs that occured when trying to make an RMI call to the server even though the sockets were being built by this custom class (have logging in place).
    Is there something else I need to do to increase the timeout period? And how do I know if it's a server or a client issue?
    Thanks,
    Anthony Bargnesi
    [Exception StackTrace]
    java.rmi.ConnectException: Connection refused to host: 172.16.10.97; nested exception is:
         java.net.ConnectException: Connection timed out: connect
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:574)
         at sun.rmi.transport.tcp.TCPChannel.createConnection(TCPChannel.java:185)
         at sun.rmi.transport.tcp.TCPChannel.newConnection(TCPChannel.java:171)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:94)
         at org.springframework.remoting.rmi.RmiInvocationWrapper_Stub.invoke(Unknown Source)
         at com.aquent.rmi.test.RMIClient.connectService(RMIClient.java:46)
         at com.aquent.rmi.test.RMIClient.main(RMIClient.java:81)
    Caused by: java.net.ConnectException: Connection timed out: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:507)
         at java.net.Socket.connect(Socket.java:457)
         at java.net.Socket.<init>(Socket.java:365)
         at java.net.Socket.<init>(Socket.java:178)
         at sun.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(RMIDirectSocketFactory.java:22)
         at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(RMIMasterSocketFactory.java:128)
         at com.aquent.rmi.test.TimeoutFactory.createSocket(TimeoutFactory.java:21)
         at sun.rmi.transport.tcp.TCPEndpoint.newSocket(TCPEndpoint.java:569)

    Well this is a connect timeout, not a read timeout, so it has nothing to do with your socket factory, and your socket factory won't help. It's a connectivity issue. Can you ping that host from the client? Can you telnet to port 7?
    In fact no socket factory will help because there is no way of increasing the connect timeout beyond the default: you can only reduce it.

  • Contacts ID displaying differently when receiving voice calls and sms

    Dear BB Support Community, 
    I have an issue with my Classic device that has been quite frustrating (I am very new to BB).  When I receive a phone call from one of my contacts, I can see who is calling. But when the same person sends a text message, only their phone shows up. The device is not connecting that number with the existing contact name.
    One of the causes of the problem is that my carrier, for some reason, decided to use the number of the caller without the country code when the person is making a phone call (something like 0xxxyyyyy). But when the same person is sending a text, the carrier adds the country code to that number (+ccxxxyyyyyy).
    What is frustrating is that all other android and nokia phones I have used previously had no problems with this difference on the carrier's use of area/country codes. But BB10 seems not able to connect these two numbers. 
    Can anyone help me?

    Open the phone app. swipe down from the top and go to Settings. Then go to Smart Dialing. Make sure the proper country and area code info is stored in there.
    1. Please thank those who help you by clicking the "Like" button at the bottom of the post that helped you.
    2. If your issue has been solved, please resolve it by marking the post "Solution?" which solved it for you!

  • Why is it that when i am receiving a call the phone does not respond to my finger touch?

    Why is it that when i am receiving a call the phone does not respond to my finger touch?

    If the photos that you have on your iPad came from a different computer that may be why you are getting that message. If you have photos from a previous sync with iTunes you must make sure that you have those photos selected to sync again.
    In the photo below, I have a checkmark next to sync photos. The folder from which the photos are syncing is iPhoto on my Mac. You can also see that I have clicked - selected albums, events, and faces automatically. These events, albums, etc will sync every time the way I have this set up.
    I can also add new events or albums when I sync if I choose to do so. You have to select the other albums, events, etc. that you want to sync by putting a checkmark in the box next to the event and then click on Apply in the lower right corner of iTunes and they will transfer to your iPad.

  • Updating IOS8.02 on 4s,when service provider is changed or not available,phone goes to search mode,its drain battery very fast,it does not stop even in charging mode,it goes to zero.only get charged in Airplane mode.why?(with different Simcard)

    Updating IOS 8.02 on 4s,when service provider is changed or not available,phone goes to search mode & its drain battery very fast,it does not stop even in charging mode,it goes to zero.(Even in switch off mode) only get charged in Airplane mode.why?(with different Sim cards)
    RBVAIDYA

    Because GPS has nothing to do with WiFi, cellular signals, or data of any sort. GPS is implemented by signals sent by satellites that are received by GPS receivers. The receivers process the information from the GPS satellites and calculate your location. GPS never sends data anywhere; GPS functionality is receive only.
    If you have WiFi or cellular data turned on this can improve the accuracy of GPS, because the GPS receiver can then use the known location of cell towers and WiFi networks to refine the GPS location. GPS by itself has an accuracy of 10 meters, or about 34 feet. Using the additional information from WiFi and cellular data this can be brought down to 3 meters (10 feet). This mode is called Augmented GPS, or A-GPS.

  • Why is it that when I am trying to install an adobe product, I get 33% of the way through and then it gives me an error "unable to load metafile"??  It happened with Reader and now with Flashplayer.  With the Reader, I was able to find a different install

    Why is it that when I am trying to install an adobe product, I get 33% of the way through and then it gives me an error "unable to load metafile"??  It happened with Reader and now with Flash player.  With the Reader, I was able to find a different installation link using the troubleshooting guide.  I cannot find the same with flash player.  Please tell me how to install Flash player because there is a website that I cannot even view without it.  BTW That is annoying that I cannot even see the website without flash player
    my system is XP

    Use these installers:
    Flash Player for ActiveX (Internet Explorer)
    Flash Player Plug-in (All other browsers)
    Flash Player for Mac OS X
    For Adobe Reader go to http://get.adobe.com/reader/enterprise/

  • Why do my raws look different when I view them in Adobe Bridge/Adobe Camera Raw and Canons Digital P

    Hello all,
    I am sorta new to taking Raw photographs and I have been been using Adobe Bridge/Camera Raw to edit. When I take my photos (I am using a Canon t2i) I have it set to save a raw and a jpg. When I view these images in Adobe Bridge/Camera Raw I notice a clear difference in the jpg and raw (I understand the whole concept behind raw vs. jpg. so im not questioning why one looks different) It is obvious all the adjustments that were applied to my jpg. vs the natural raw.  My question is: When I view the same two images in the software that came with my camera, canon digital photo professionals, the canon and raw look almost identical.... My assumption is that canon is applying the same "adjustments" to my raw as it did to the jpgs?  Has anyone used these two programs and noticed this?
    Thank you in advance for your assistance.
    Michelle

    Can't say I'm an expert on DPP myself either.  I've only run it a few times myself.
    If you're seeing Photoshop freeze just by looking at the File Info tab, that's certainly not expected and you should start a tread specifically to discuss that.  The forum may be able to help you get that working.
    I happen to like the color my camera delivers in its embedded JPEGs (which I use to quickly review shots via IrfanView).  Starting with that color in Camera Raw by default just feels very natural and integrated.
    Without a specific custom profile to help you with the task, here's my suggestions for the next best thing:
    1.  Take an image with a range of different colors in it.
    2.  Open the embedded JPEG also using whatever means you have to do so.
    3.  Open it also in Camera Raw and make sure you're using the Camera Raw default parameters.
    4.  Go into the Camera Calibration tab (little camera icon), and choose the Camera Standard profile as provided by Adobe.
    5.  Tweak the various sliders so as to match the color between what you're seeing in the JPEG and Camera Raw.
    6.  Save new Camera Raw defaults.
    Some notes:
    Make sure you leave the White Balance on As Shot, since storing a specific white balance is probably not going to be helpful.
    Test your settings and repeat the above to tweak them as needed using other images.
    Keep in mind that not every application does proper color-management.  IrfanView can be set up to do so, and I don't recall whether you have to tweak a default setting to make it do that or not (it's been a while).
    Hope this helps!
    -Noel

  • When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    When receiving an call waiting can't push the hold and answer button.Because: it will put on hold the first caller, answer to the second, but you can't hear the second until you end the first call !!! Anyone has the same problem ? Did anyone know why ?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

  • Does anyone know why a web page would suddenly pop up telling me I have a computer virus and need to call them?  When I've called they said they needed access to my computer in order to fix the problem - which I didn't do.  Is this legit?  An Ad?

    Does anyone know why a web page would suddenly pop up telling me I have a computer virus and need to call them?  When I've called they said they needed access to my computer in order to fix the problem - which I didn't do.  Is this legit?  An Ad?

    That is not legit, it is a scam to gain access to your computer and information.
    You can protect against pop-up adware with the AdwareMedic tool Thomas Reed has http://www.thesafemac.com Tom is a major contributor on these communities and great security guy.

  • Why does a different number come up when i use imessage instead of text? my friends keep responding to my msg with 'who is this?' since ios 5 update.!!?

    Why does a different number come up when i messaging to other i phones? My friends keep responding to my imessage with 'who is this' and apparently it comes from another number-not my usual number like texts...

    Thanks. The number shown against 'phone' is not my number. But it is the number my friend showed me that was coming up when she got my mgs.... Still confused!

  • Why do I get error -17500 when calling a batch file using the call executable step type?

    I am calling a batch file using the call executable step type. If the path to the batch file contains a space I get error -17500 and a message stating there was an error in "Post". For example the path to the batch file is "c:\TestWin\Test Files\...\Program.bat" When I run this I get the above mentioned error, however if I change my directory structure so the path is now "c:\TestWin\TestFiles\...\Program.bat" it runs fine. I use the browse feature to find my batch file so it is not me typing in a path incorrectly. I have removed the batch file and I get a different error stating that it couldn't find the file so it appears that for my error it can find the file but can't run it. I am
    sure that this has something to do with the fact that batch files are written in DOS but really don't want to resort to changing my directory structure on all my test stations. Is there any way to fix this problem so I can leave a space in my path?

    It appears I have figured it out. This was on another computer so I was unaware of how they used their computer. I like you got it to work in the temp directory and in fact got the program.bat file to work as long as I put it under the temp directory, but when I switched out to my TestWin directory it wouldn't work, so I removed everything from the directory except the batch file it self and it work. What I found out after adding files in one at a time is that the person had a file called "Test" with no file extension in there "c:\TestWin\" directory. Removing this file made it work. Putting the file back broke it. So it appeares that when teststand was running it followed the path saw a space and attempted to grab the "Test" file instead of bro
    wsing into the "Test Files" directory. If you create a file in your temp directory called "temp" with no file extension you will see the same problem. Thank you for your help.

  • Why is the word count different when I use word count from the tools menu to the number at the bottom of my mac word document

    Why is the word count different when I use word count from the tools menu to the number at the bottom of my mac word document

    This forum is for Apple's defunct office suite 'AppleWorks' - since the word count is not in the places you mention I assume you are talking about Microsoft Word? Though it's just possible someone in this forum might also use Word and know the answer, you would stand a higher chance of getting an answer in Microsoft's own forums. You could also try asking in the forum applicable to your operating system - Lion, Mavericks or whatever - on the reasonably chance of finding someone familiar with Word.

  • HT2946 Why is the contrast of my images totally different when processed and then opened in CS4?  Does anybody else have this issue?

    Why does the contrast in my images processed in Aperture look markedly different when opened in CS4?  The images look fab on the screen in Aperture - even if these are then opened in CS4 from Aperture they look different  - much flatter.  This is a new issue.  I am a wedding photographer and an album processed in Aperture has been sent back by my wedding album printer saying the images all lack contrast!  Can anybody shed any light on this!  I have checked colour spacing etc! 

    I Also have this problem!!
    In my situation, the screen simply started exhibiting the same symptoms a few weeks ago (early February) for no apparent reason.  At first I thought the screen was dead, but discovered the heat solution by accident.  Now I turn it on and keep it from going to sleep until I go to bed.  Thank goodness the battery is still awesome on this thing.
    I bought it new and still has the original screen, I keep it at home (never below 62 degrees).  Coincidentally, this happened a day or two after the expiration of the warranty!!  Any help figuring this one out would be eternally appreciated.
    iPad mini retina Wi-Fi, iOS 8.1.3

  • Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    See my Why my calendar display different there is one day difference from different  when I see main screen and open the calendar

    I too am having the same issue only I am in Regina, Canada.  iCloud appears to think Regina, Canada is in the Central time zone which it is, but it does not use Daylight Savings time.  My PC is Windows 7 and I am using Outlook 2010.  I have iCloud on iPhone 5 and iPad 2.   Terribly frustrating!

  • Why does "Link Media" behave differently when used as a keyboard shortcut vs when right clicked???

    Not sure whether anyone else is encountering this, but the "Link Media" command behaves differently when right clicked as opposed to when used as a keyboard shortcut.
    When you right click to select that option for an offline file, you get only the corresponding disconnected source media. But when you execute "Link Media" via a keyboard shortcut, PP brings up a huge list of all other offline media. Why does it only do that when you use the keyboard shortcut for "Link Media" but not when you right click "Link Media".
    I'd like to get the Link Media command to behave via the keyboard shortcut the same way it behaves when right clicked. I don't want to have to deal with relinking a hundred other files, but just the single offline file I'm working on.

    Among the alternatives not mentioned... Using a TiVo DVR, rather than the X1; a Roamio Plus or Pro would solve both the concern over the quality of the DVR, as well as providing the MoCA bridge capability the poster so desperately wanted the X1 DVR to provide. (Although the TiVo's support only MoCA 1.1.) Just get a third-party MoCA adapter for the distant location. Why the hang-up on having a device provided by Comcast? This seems especially ironic given the opinions expressed regarding payments over time to Comcast. If a MoCA 2.0 bridge was the requirement, they don't exist outside providers. So couldn't the poster have simply requested a replacement XB3 from the local office and configured it down to only providing MoCA bridging -- and perhaps as a wireless access point? Comcast would bill him the monthly rate for the extra device, but such is the state of MoCA 2.0. Much of the OP sounds like frustration over devices providing capabilities the poster *thinks* they should have.

Maybe you are looking for

  • WDABAP Adobe Forms Study Material

    Hi Experts Can any one give WDABAP adobeforms complete material or link??? Thanks and Regards, Krish.

  • Uninstall Safari 4 (Final Release)

    How can I uninstall Safari 4 so that I can re-install the Safari 4 Beta? I find that the beta was a bit faster and I prefer those tabs. Yes, I know I can write to developers about the tabs and all this, but I am using my computer today and tomorrow a

  • No audio in simulator or viewer - DVD Studio Pro

    First project on DVD studio pro. I imported MPEG2 and AC-3 on the timeline, but when trying to play on either the viewer or simulator there is no audio.

  • Barcode through ABAP report

    i want to print Barcode in Report output.How can i do it?

  • 306 communication error

    I recently purchased a new CANON MG5220, wireless printer. Everything went well for the first week. I have 3 Macs trying to use this printer and all seem to on/off get a 306 communication error now. When the printing starts I get 2-3 inches and then