Data Socket Timeout when UI Menu is pulled down

I have a windows app that communicates with a cRIO NSV via datasocket.  Everything works well until I click on the menu bar and then notice that my DS calls timeout.  When I release the menu
everything starts working again.  Any ideas?

I was able to reproduce this issue, and will be working with my colleagues to further troubleshoot this error. It does appear that the Datasocket operations are executing in the UI thread. I will post any further information, or a possible correct action request number to this thread, when it becomes available. 
On a more curious note, what type of tools options are you modifying at run-time? If this is a concern for users at run-time, you could opt to hide the menu items until execution completes; such that, the datasockets are not interrupted. Also, if you are already using NSV's, why not perform a NSV read on the client PC? What is the driver behind the use of Datasockets for this operation? 
I look forward to any additional information.
Thank You, 
Patrick Corcoran
Application Engineering Specialist | Control
National Instruments

Similar Messages

  • Socket Timeout when reading from post stream

    I get the following error when a servlet tries to read an object from the post stream.
    Is there a way to set any timeout values on, say a socket, or static variable on
    any weblogic SocketImpl..?
    Appreciate any help.
    Thanks-
    Rama
    java.io.InterruptedIOException: Read timed out
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:86)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
    at java.io.ObjectInputStream.read(ObjectInputStream.java:1835)

    Was successful in setting the duration parameter in the HTTP tab of the server.
    However, when accessing the app (servlet) via iPlanet proxy, it still fails. I have
    to check on similar settings on that side.
    Do you have hints for me ?
    Thanks for your posting, Dave.
    Rama
    "Dave Martin" <[email protected]> wrote:
    >
    Rama:
    Try changing the Post Timeout Secs option under the HTTP tab for your server
    in the
    WebLogic Admin console. You could bump out the Duration on the HTTP connection
    while
    you're at it. Not sure if these will have a side effect on what you want
    to change,
    but worth a shot.
    "Rama Raghavan" <[email protected]> wrote:
    I get the following error when a servlet tries to read an object from the
    post stream.
    Is there a way to set any timeout values on, say a socket, or static variable
    on
    any weblogic SocketImpl..?
    Appreciate any help.
    Thanks-
    Rama
    java.io.InterruptedIOException: Read timed out
    at java.net.SocketInputStream.socketRead(Native Method)
    at java.net.SocketInputStream.read(SocketInputStream.java:86)
    at weblogic.servlet.internal.PostInputStream.read(PostInputStream.java:124)
    at weblogic.servlet.internal.ServletInputStreamImpl.read(ServletInputStreamImpl.java:97)
    at java.io.ObjectInputStream.read(ObjectInputStream.java:1835)

  • JAVA SOCKET TIMEOUT WHEN GENERATING PDF TO ADS SERVER

    We are currently getting the error when attempting to generate the PDF from the thin portal BI Reports and recieved the JAVA SOCKET READ TIME OUT error and
    applied adjustments to the notes
    934725 and 826419 by changing the timeout sessions to 300, but still get the same timeout errors:
    Note: We changed ADUSER user type and password, passed rpcData test, RFC HTTP external connections to ADS server...so we've came a long ways and here we are now with the timeout errors...
    Any ideals???

    Hi
    when you reset password please select checkbox for password never expires.
    see the following notes :
    1.Note 944221 - Troubleshooting if problems occur in forms processing
    2.Note 811342 - Time Out exception when rendering to Adobe document service
    thanks
    Gopal

  • My form pages menu/list pull down items aren't legible in Firefox

    I'm using the form item - menu/list - set to menu.  It looks great in safari, but in firefox the list of items are scrunched together and not legible.  How can this be avoided or styled?

    Please when asking for help provide a link so that people can see the result and the code.  Otherwise it is just a big guessing game.
    Gary

  • About Data Socket support in Appl. Builder

    Hi,
    I'm writing a program that uses Data Sockets. When I plan to distribute the application, using the Create Installer option, I guess I'll have to switch ON the "Data Socket support" in the advanced page. How does it work, when I install the application? Will that option make the Data Server to be installed in the target machine?
    Thanks,
    Marce

    Great reply, 'tst'!
    Here are a few more tips.
    Remember that a DataSocket network is consisting of one DataSocket Server and one or several DataSocket Clients (applications using DataSocket Read or Write functions). The Server stores the data items and controls read and write access to the different data items, the Clients read from and write to the different data items. Therefore it is NOT ALWAYS necessary to launch the Server on the same machine as the Client.
    Running the executable does not automatically launch the DataSocket Server. If you need to have the DataSocket Server running on the same machine as the executable, you can do as described by 'tst' to manually launch the Server.
    What I prefer is to automatically launch the DataSocket Server when the executable is launched. Use the VI described in this KnowledgeBase to launch the Server.
    If you are using the DataSocket functions, and NOT the Front Panel DataSocket connections, to connect to your DataSocket items, you will get an error 56 or 63 if the DataSocket Server is closed prematurely and you are trying to read or write to it. By using a Case Structure to check for these errors, you can restart the DataSocket Server again in the case it was accidentally closed.
    Good luck!
    - Philip Courtois, Thinkbot Solutions

  • Dynamic programming tabstrip, no tabs in pull down navigation menu

    Hi everybody,
    I create with dynamic programming a tabstrip with some tabs. Than I have the problem that the navigation menu ( or pull down menu ) for the navigation between the tabs is not filled.
    So my question is, must I put the generated tabs in the menu and how, or is it a feature not yet supported? I couldn’t find a method to do this.
    Thanks for any help
    Regards
    Christian

    webmasterinflorida wrote:
    > Hi everyone,
    >
    > I was wondering if I could get some input. I have just
    re-designed our
    > magazine's site, www.easternsurf.com
    >
    > I used Pop-Up menu function in Fireworks 8 to generate
    our Navigator bar. For
    > the most part everything has been working well, BUT
    we've had a couple of
    > complaints that the navigator bar's pull-down menus get
    stuck behind the
    > photos/banner ads/etc.
    Consider redesigning again? The page is 240 kb, which is
    about 200 kb
    more than it should be. It would be OK if everyone used a
    high speed
    connection, but broadband penetration in the US is stuck at
    around 50%.
    About half your viewers aren't going to stick around until
    the page
    finished loading.
    Skim through the forum posts to learn more (and scary stuff)
    about the
    drop down menus.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    http://www.adobe.com/communities/experts/

  • Book mark pull down screen won't refresh

    When using the bookmarks pull down menu, the screen does not completely refresh leaving remnants of the pull down menu above and below the Firefox window. I have an screen capture of this peculiarity.
    [http://www.hammondorganservice.com/downloads/images/bookmarkspill.jpg link text]

    Turning off hardware acceleration in Mozilla Firefox seems to have fixed it the menu remnant portion. With hardware acceleration turned off, Youtube videos stop playing. There is no indication that Youtube is downloading the data or the processing circle which appears in the middle of a video when it is held up because of a server latency problem. Turning hardware acceleration back on alleviates the Youtube video problem but of course recreates the pull down menu problem.

  • Issue with pulling down one view controller and posting another one

    I have a situation where I need to post a modal view when another one is closed by the user.
    Say i have a EULA a user must accept before continuing and once the EULA is accepted I want to show a Splash screen which is another View controller.
    So essentially when the user accepts the EULA, the EULAViewController calls its delegate's eulaAccepted method. In this case the delegate is a view controller inherited from UIViewController object.
    - (void) eulaAccepted {
    // Dismiss the EULA controller first
    [self dismissModalViewController animated:YES];
    // Now show the splash screen to the user
    SplashController *splash = [[SplashController alloc] init];
    [self presentModalViewController:splash animated:YES];
    [splash release];
    When I do this, the code sort of goes into recursive loop with lot of the following in the stack:
    UIView(Hierarchy) _makeSubtreePerformSelector:withObject:withObject:copySublayers:
    If I present the splashController in another method which I invoke after a certain delay then it works fine. But the timing is again an issue since it works on some devices and not on others. So I do not like that solution.
    What is the best practice to handle such situations? I was under the impression that the OS would sequence these animations and perform one after the other and I would not have to worry about them but doesn't look like it works that way.
    Would greatly appreciate your inputs.
    TIA,
    -TRS

    Here is what I did. I overrode the presentModalViewController:animated: and then if a controller is already posted, I start a thread which waits for the old one to be pulled down before the new one is posted.
    There could still be a problem here if postModalViewController is called before another one has been posted since then self.modalViewController will still be nil. But the UIViewController can deal with it. My current issue is posting one when another is being pulled down, not posting 2 views at the same time
    This works but I still would like to know if there is a better way to handle such situations.
    -TRS
    // Invoke the super with animation set to YES
    - (void) presentModalViewControllerWithAnimation:(UIViewController *) vc {
    [super presentModalViewController:vc animated:YES];
    // This method should be invoked in its own thread
    // If there is a modal controller already posted then wait for it to be pulled down before posting this one
    - (void) checkAndPresentModalViewControllerWithAnimation:(UIViewController *) vc {
    while (self.modalViewController != nil) {
    [NSThread sleepForTimeInterval:0.1];
    [self performSelectorOnMainThread:@selector(presentModalViewControllerWithAnimation:) withObject:vc waitUntilDone:NO];
    // Invoke the super with animation set to NO
    - (void) presentModalViewController:(UIViewController *) vc {
    [super presentModalViewController:vc animated:NO];
    // This method should be invoked in its own thread
    // If there is a modal controller already posted then wait for it to be pulled down before posting this one
    - (void) checkAndPresentModalViewController:(UIViewController *) vc {
    while (self.modalViewController != nil) {
    [NSThread sleepForTimeInterval:0.1];
    [self performSelectorOnMainThread:@selector(presentModalViewController:) withObject:vc waitUntilDone:NO];
    // Override the UIViewController method
    // If no modal controller is yet posted then directly invoke the super's presentModalViewController:animated:
    // If one is already posted then start a worker thread to wait for it to be pulled down before posting the new one
    - (void) presentModalViewController:(UIViewController *) vc animated:(BOOL)animated {
    if (self.modalViewController == nil) {
    [super presentModalViewController:vc animated:animated];
    } else {
    if (animated) {
    [NSThread detachNewThreadSelector:@selector(checkAndPresentModalViewControllerWithAnimation:) toTarget:self withObject:vc];
    } else {
    [NSThread detachNewThreadSelector:@selector(checkAndPresentModalViewController:) toTarget:self withObject:vc];

  • HT6154 My notification listings don't pull down all the way??

    When I go to pull down my notification listings, the bar only comes halfway down.

    Have you tried resetting your device by pressing and holding the Home button and power button until the silver apple appears?

  • Pull down search from home screen distorted

    iPhone 6 64GB Gold.
    when i use the pull down search the background screen become distorted in black and white colour.. can help me how to change the setting (if i accidentally change the settings) or is that problem with iOS???
    attached the screenshot

    errr sorry, just solve the problem by restarting my iPhone. really sorry, i thought previously i did restart my phone but still persist. now okay already. thanks.

  • Default Timeout on Data Socket

    In my application, I am communicating with a PLC thru RS Linx utilizing a data socket. I can successfully open the socket, write the value and update using the following:
    DS_Open with  DSConst_Write option
    DS_SetDataValue and then DS_Update
    For robustness, I want to be able to alert the operator if the ethernet cable attaching the PC to PLC is unplugged, most likely or some other portion of the process has failed, less likely once setup.
    I do have a solution to the above, but what I have found is that if during the execution of my program I disconnect the cable,  DS_Update does give me an error indicating that sometheing is wrong, but my code hangs the thread for an indeterminate amount of time at least 1 second either through the execution of the DS_SetDataValue cmd or DS_Update. Both commands don't have a timeout associated with them, but is there some default timeout that is used.
    As a work around, my thought is that I if available I could use feedback from a callback if fast enough which can detect when a network cable has been disconnected to avoid this indeterminate timeout by avoiding any set or update commands when the cable is not connected.

    Hi testguy,
    Have you tried some of the other data socket functions? DS_IsConnected or DS_GetStatus may be able to tell the status of the connection a little faster; you could run one of those before the DS_Update so it doesn't hang. The full list of data socket functions can be seen here .
    There are also some other communication protocols that do allow timeout configuration, like telnet, TCP, and UDP.
    Hope this helps!
    -Alexandra
    National Instruments
    Applications Engineer

  • How can I display only the Data Logging pull down menu on my LV front panel?

    Is it possible to hide all unused pull down menu on my front panel vi like File, Edit, View etc.. and only
    display the pull down menu for the Data logging?!
    best regards
                          Norick

    Hey,
    You can build your own runtime menu (Edit>runtime menu) and then e.g. only display the application items you want to.
    Christian

  • I would like to know how to draw up a list in a cell (like a pull-down menu) to ease data capture, but I don't know how to do that  ! Do you get the idea ? Thanks !

    I would like to know how to draw up a list in a cell (like a pull-down menu) to ease data capture, but I don't know how to do that  !
    Do you get the idea ?
    Thanks ever so much !

    the numbers manual can be downlaoded from this website under the Apple support area...
    http://support.apple.com/manuals/#numbers
    What your looking for is written out step by step for drop downs and all other special types of user input starting around page 96 in the '09 manual.
    Jason

  • Using FireFox 10.0.2, when I try to bookmark a page, why is the bookmark pull down menu faded?

    I can provide a screen shot of the problem if it will help. I also uninstalled 10.0.2, went back to the 9.0.1 version and this occurs too. I checked all options and I could not find anything that would change the background of the bookmark menu. I did find that if the web page had a dark background, the bookmark pull down menu was visible but not visible on a white web page.

    Thank you cor-el for the response. I tried disabling the "hardware acceleration", shut down Firefox then restarted and get the same results. I can see the pull down menu well when there is a dark background. I may just have to wipe the system, reload the o/s then reload Firefox. Do you think it would help to load an earlier version of Firefox?

  • When i revert to ver 29 i get pull down menus for searching after download of automatic 33.3 I can't get the drop down menu. I've tried to block the update

    when i use ver 29 i get past menu drop downs. when i get the automatic update to 33 or higher I can't get the pull down menu. I don't like to type in the search work every time I go to a web site. It should remember where I've been or at least let me keep ver 29 without automatic updating., I've tried to set the firewall not to update but it does it anyway. some firewall. Thanks if you can help this. I'll have to go to safe mode and revert to yesterday and download ver 29 again, I can do this everyday but that makes me not want to use firefox. I don't want to leave firefox. I like it. ! HELP?????

    in firefox 33 the search field on the homepage will now populate by search suggestions provided by the search engine once you start typing -this is why the dropdown with your entries from history is no longer there unfortunately...

Maybe you are looking for

  • Viewing XML in forms 10g

    How to view XML in forms 10g? I have a message in XML/HL7 format and display information a end user. Thanks you all. Dario

  • Pages 5.1 and Automatic Bullets

    Hi, Pages Users:  I am trying to write my own lists, and I don't need help from Pages.  I've tried turning off all Substitutions, and selected the entire document and set Bullets and Lists to None.  However, as soon as I start writing my own lis0 (e.

  • How do I export file from photoshop CC?

    How do I export file from Photoshop CC

  • Best Wi-Fi Setup using new Zyxel PK 5001 Z modem from Century Link

    My wi-fi setup had consisted of a CenturyLink 660 modem and a white "original generation" Airport Extreme. I have a printer connected by ethernet and phones, apple TV, satellite TV, etc. connected to the Airport Extreme network. The modem died and Ce

  • Non-personal project specific accounts with azure subscriptions?

    We have (in the company I'm working for) explored the Azure platform, running database and services there, and we are possibly building some cloud based services for our customers. At the moment we are running these services using a subscription crea