Close TCP leaves the connection open

Hello guys,.

I use an ethernet connection to query the data of 2 units of acquisition of sensors.

This request is motivated by a second timed loop period 30.  As this rate is very low, I have the close connection and reopen it each time.

I try to connect to the device via the same 2 ports each time, 50,000 and 50 001.

I get the error message that the connection is already used for a close connection of TCP executed without error before.

The network view TCP tool monitor gives me the screen following [network_connections.png] when I run w/o specifying the local port. It seems that the previous connection are not adequately closed and are always in the TIME_WAIT state. This list is continuouslly prices, leading to errors of networks. (For the units IP address is 200.0.4.152 and 153)

Could you please help me on this?

Thanks in advance

Kind regards

Bruno

Hello

This seems to be a common behavior:

http://digital.NI.com/public.nsf/allkb/119D334B8B78732E862574E1006D1839

Tags: NI Software

Similar Questions

  • TCP/IP, the connection lost?

    I'm talking with a supply of California Instruments MX15 using the TCP/IP protocol. I downloaded their GUI to control the power supply remote so I could familiarize myself with its operation. The user interface works fine without any connection problem. I'm now trying to make my own driver (the driver download that they provide on their site does not work) to control remote electric power. I have attached the VI that I try to send just the * IDN? command and query an answer back. If I can get this working, I have no problem to find the rest. However I tried to figure this out for the last day or two and nothing helped. I'm new to TCP/IP, but now I understand the bases because of all my google work many hours:

    I have attached my VI to watch. As you can see I tried to use the VISA function as well as the TCP service. The TCP function works fine without error returned, but returns nothing in the buffer and expires. The VISA function however opens communications on the electric network but when I try to send a command to the power it gives me this error:

    Error 1073807194 has occurred at an unidentified place

    Possible reasons:

    VISA: (Hex 0xBFFF00A6) the connection of the given session has been lost.

    Any help is appreciated, thanks in advance.

    You send a character of endpoint with MAX, but not in your VI. Don't forget to click with the right button on the constant and activate '-' code display.

    VISA server isn't essential.

  • Restore the connection opening SKYPE worm of office/desktop icon

    Skype opens automatically instead of going to the login page; How to restore the connection?

    Running Windows 7 with 64 bit

  • block all users: I'll be out of town for a few days and I would block all my personal files and folders again, leaving the internet open to all users

    I'll be out of town for a few days and I would block all my personal files and folders again, let the internet open to all users.

    How I do.

    Thanks for any help!

    I'll be out of town for a few days and I would block all my personal files and folders again, let the internet open to all users.

    How I do.

    Thanks for any help!

    You mean that other users do not have their own user accounts?
    They all connect to your own account?

    If they all have their own user account to log on, they can't see your personal files, unless...
    1. your files in public folders.
    2. they have your password to login to your own account.

    So, please clarify.

    t-4-2

  • Leave the connection due to release/renew IP address problem

    Hi there - I have an Inspiron 23 model 5348, connected to a router of the BT Home Hub 5 running Windows 8.1. Whenever I wake the computer from sleep mode and often even to start it upward, that I have no internet connection. I have release/renew the IP address, and the connection is re-established for a period of time.

    This happens on my inspiron wired or wireless connected. I updated the router, changed the wires, reinstalled the drivers for network devices, changed the term of the lease on the router for 21 days and used a static IP address, bit, nothing seems to work.

    It only occurs on the Inspiron. None of my other devices give up their connection.

    Any ideas what is the cause?

    For anyone else having this problem this page should sort

    http://forumhelp.dyndns.info/networking/staticip.html

  • Half of the connections open on PIX

    How is possible to limit the number of half open connections on PIX? Are these embryonic connections on static instruction?

    M

    Hello

    That is right. By default, the emb_limit is set to zero, which allows unlimited half-open connections. It has a relatively low value and which should limit these types of connections...

    Paresh.

  • Keyboard does not close and loses the connection.

    Hi guys,.

    Having a problem at the time with input boxes and the keyboard to phonegap. the issue appears only on apple devices. It is very well on Android. We get an application of simple connection with two input fields:

    IMG_0013[1].PNG

    Now, when we enter a correct user name and password, the keyboard disappears and the app moves on. The quirk seems to be when using incorrect credentials. The keyboard stays on the screen and the cursor remains in the last box you typed in. However, by pressing the keys on the keyboard has no effect on the box. By selecting other credentials of entry also has the same effect. You must close the manually close the keyboard and press again on one of the boxes.

    I have tested on several iPhones and iPads with the same effect. When I run the site directly into a browser rather than through phonegap, it works as expected; The keyboard closes and an error message is displayed. I tried calling blur() on entry on touchstart and touchstart event fields and tried focusing on the button "login" during the presentation, but they seem to have no effect.

    Anyone seen this before? If you need more info let me know.

    Thank you

    James

    I have to guess here:

    -It really has nothing to do with the "evil powers". It's how you manage the entry that does not have the keyboard disappear (again)

    -a page switch, the keyboard will disappear

    -I guess the keyboard also disappears when the form is submitted, but not (yet) on the touchstart event

    Then; I suggest catch you to the event of the form, then use ajax to send data to the server.

  • Screen closes automatically after the connection

    Hello

    I have developed a new crud_bckout screen and try to open it using forms / http://172.25.2.57:8889 / frmservlet? form = crud_bckout-shaped 10 g.

    He asks username / password etc. After logging in, it triggers a trigger (written by me) to check the version of the form and when I click OK, it closes automatically.

    I have only three buttons on my screen.

    Can you please what could go wrong?

    Kind regards
    Carole

    You have all the visible elements in your block and at least one of the elements is keyboard-navigable?

  • The tab 'fonts' & 'file' in the creative cloud window shows only a wheel of continuous rotation. Even after leaving the window open all night, he showed nothing. I went in the OOBE folder and tried to remove the button Delete the opm.db file, but it i

    I was never able to access these features in the window of creative cloud. I tried to access the OOBE folder to remove the file from opm.db to . There is no file opm.db. I followed the advice from another thread and delete the contents of the OOBE folder. This did not solve my problem. I left the window of creative cloud open for a whole day hoping that would solve the problem. He did not. Thanks for any help you can provide this issue.

    Thomasc11484006 have you tried to run the uninstall program Adobe Creative Cloud desktop application and then put it back?  Instructions and the uninstall program can be found at code error 2 or 50: Creative Cloud desktop application update doesn't have.  You can then reinstall the application using the steps listed in download and install Adobe Creative cloud appscreative cloud.  We invite you to update this discussion if you have any questions about the steps that are listed in each document.

  • If I leave the window open and come back several hours later in the Windows 10 he lost the text and doesn't respond, it must be closed by the Task Manager.

    This issue began after the upgrade to windows 10 and I have the latest version of Firefox

    Please see if this happens in Mode safe mode to ensure that it is not not an add we compatibility problem: questions to troubleshoot Firefox in Safe Mode

    So please try these troubleshooting steps if it still happens in Mode safe: Firefox crashes or does not - how to fix

  • What is the keyboard commands for counter top without having to close all of the windows open

    I used to know a keypad to reach the top of office easily. I tried to guess a little, but they do not work, I would like to use this command if everyone out there knows a. Thank you.

    Windows key + D

    See https://www.microsoft.com/enable/products/KeyboardSearch_XP.aspx

  • How to open ports for the connection opened on Xbox 360 on WRT160N V2.

    I have the port numbers but do not know how to go from there.  Step by step instructions and help would be most appreciated.  Router is a WRT160N V2.  Thank you

    Go to your router's Web page.

    In the DHCP list identify your xbox IP address

    Go to Application & game Tag

    Go to the single port forwarding

    Enter the parameters for the image below

    Check all the boxes right where you did the entries

    Save the settings

    There you go!

  • Y560P card number: sleep mode and headset to the connected socket

    I searched the forum as much as I could and did not find this issue to be considered.

    So, sometimes I listen to music with headphones or even after a Skype call, I leave the connected headphones. If I put the laptop to sleep and wake it back up, unplug the headphones will not return my sound setting to speakers; I can't hear any sound if I plug the headphones in the back.

    I tried to connect and the new: no change. I tried to disable and re-enable "Realtek High Definition Audio" in the Device Manager: no change. Uninstall and reinstall it wouldn't be a good solution if it had to be done all the time. The only thing that it returns to normal is turning works again... typical I.T. solution. Is there a driver update to solve this problem?

    Speaking of driver updates, I guess that I can't find any BIOS update or updates to driver for the ideaPad due to the recall of Sandy Bridge?

    UPDATE: sorry... found the lenovo support site area sub consumer that is different from the IBM one... Argh...

    judge that?

  • 63 error to TCP connection open in Simple data Client.vi when connecting to the network storage device.

    Hello

    I tried the simple data client and simple example of data server. I tried this example to connect to a NAS device. My laptop properly communicates with the device since I ping the address of the NAS device and discovered it works perfectly fine. Also, I put the static IP of my pc even as the NAS. So everything I've done. But when I run the program giving the ip address of a NAS device, it shows an error 63.

    Error 63 to TCP connection open in Simple data Client.vi

    Possible reasons: LabVIEW: serial port receive buffer overflow. = LabVIEW: the network connection was refused by the server.

    Why is happening. What can be done to solve this problem. Thanking you.

    vindsan wrote:

    What is the firewall of the SIN.

    Yes, it is very likely. Try disabling the firewall and try again. If the code works when you run the Server & client on your machine, but not when you run the server on your NAS and client on your machine (assuming you have entered the correct port for the NAS server), then it is very likely to be a firewall problem.

    vindsan wrote:

    Server that is listening is no longer VI also means what.

    Your VI server listens only once for a connection after receiving an incoming connection (or it expires after 60 years), he stops listening and the port will be more open for incoming connections - you must re - run the VI for another connection. With your code, you must run the VI server and then run the VI client in the 1960s, so it's not expire.

  • Open and close the connection in oracle procedure

    Here is the procedure I'm in I insert data into the table temp_soap_monitoring using the select statement. I have soap_monitoring table FONIC_RETAIL database where I want to take the data and insert into the table temp_soap_monitoring. I play the position of planner of all 5 minutes for this procedure so that I get always the latest data in soap_monitoring@fonic_retail table. The problem of this procedure is that it takes too much cost and the query execution time to perform this procedure. Whenever he tries to extract the data from db link and save my local database. I remember in Java, php, and other programming languages, we have method in order to open the db connection when we tried to extract data from db link and then once integration is complete, we can close the db connection. So the performance improves and also has no load on db link. In this method, we have to assign link db to retrieve the data. So I think is it possible to apply this logic in my oracle procedure. The question arises because at this moment I am hard code the link db, but now I have 3 db more links and I will not reproduce the same procedure by assigning diffferent db links.

    PROCEDURE  "EXT_SOAP_MONITORING" AS

    LAST_SM_ID Number
    := 0;
    LAST_CAPT_DATE DATE
    ;

    BEGIN

    SELECT LAST_TASK_ID INTO LAST_SM_ID FROM CAPTURING where DB_TABLE='TEMP_SOAP_MONITORING';

    insert into TEMP_SOAP_MONITORING(ID,REQUEST_XML,RESPONSE_XML,WEB_SERVICE_NAME,WEB_METHOD_NAME,CREATE_DATE,ERROR_CODE,ERROR_MESSAGE)
    select ID,REQUEST_XML,RESPONSE_XML,WEB_SERVICE_NAME,WEB_METHOD_NAME,CREATE_DATE,ERROR_CODE,ERROR_MESSAGE from
    SOAP_MONITORING
    @FONIC_RETAIL WHERE WEB_SERVICE_NAME ='RatorWebShopService'  and WEB_METHOD_NAME = 'placeShopOrder' and ID > LAST_SM_ID order by ID desc;

    update
    CAPTURING
    set LAST_TASK_ID=
    CASE WHEN ((SELECT MAX(ID) from TEMP_SOAP_MONITORING) IS NULL) AND (LAST_TASK_ID  IS NULL)  THEN (SELECT MAX(ID) from SOAP_MONITORING@FONIC_RETAIL)
    WHEN (SELECT MAX(ID) from TEMP_SOAP_MONITORING) IS NULL THEN LAST_TASK_ID + 1
    ELSE (SELECT MAX(ID) from TEMP_SOAP_MONITORING) END,
    CAPTURING_DATE
    = CURRENT_TIMESTAMP, LAST_CAPTURED_DATE = LAST_CAPT_DATE where DB_TABLE='TEMP_SOAP_MONITORING';

    END EXT_SOAP_MONITORING;

    I have it here is the procedure which I insert data in

    temp_soap_monitoring table by using the select statement. I have

    soap_monitoring table of FONIC_RETAIL database where I want to take the data and insert into the table temp_soap_monitoring.

    WHY? Why you are moving the data? Why not just use it table, is it already?

    The problem of this procedure is that it takes too much cost and the query execution time to perform this procedure.

    The solution is to FIND THE PROBLEM. Troubleshoot the code and find out where is the problem, if any.

    Based SOLELY on what you have posted the solution might be to add just an appropriate index.

    Whenever he tries to extract the data from db link and save my local

    database. I remember in Java, php, and other programming languages, we

    method to open the db connection when we tried to extract data of

    DB link and then once integration is complete, we can close the db

    connection.  So the performance improves and also has no load on db link.

    What? The LAST thing you want to do is keep the closing and opening of the connections. I don't know how 'remember you' from Java or other languages. The main reasons pools of connections were invented to AVOID have to repeatedly open and close connections.

    A db link not a NOT a "charge" - the "charge" is the query is made. If you write a poor query or have a poor data without the necessary index model, or have missing statistics, then you will get poor results.

    In this method, we have to assign link db to retrieve the data. So I have
    is it possible to apply this logic in my oracle procedure to belive. The
    question arises because at the moment, I'm hardcode db link but now I
    have more ties db 3 and I will not reproduce the same procedure by
    assigning diffferent db links.

    You can certainly write Java code to connect to each database with a direct connection. But all write code PL/SQL must include the database link. And the only way to avoid hard-coding the link is to keep the names of link in a table and use dynamic sql statements to build and run the query. This isn't what you want to do if you're looking for performance.

    SELECT LAST_TASK_ID INTO LAST_SM_ID FROM CAPTURING where DB_TABLE='TEMP_SOAP_MONITORING';

    For all we know which could be the WHOLE CAUSE of your problem. If there is no index on the table, you could do a full table to a table with lines scan 800 billion;

    We have NO WAY of knowing since you haven't posted info. Please read the faq to find out how to post a request for tuning and the info you provide.

    1. the query

    2. the table and index DDL

    3. the execution plan

    4 RowCounts for tables and query predicates

    5. the info on the stats: how you collected them and if they are up to date

    update
    CAPTURING set LAST_TASK_ID=
    CASE WHEN ((SELECT MAX(ID) from TEMP_SOAP_MONITORING) IS NULL) AND (LAST_TASK_ID  IS NULL)  THEN (SELECT MAX(ID) from SOAP_MONITORING@FONIC_RETAIL)
    WHEN (SELECT MAX(ID) from TEMP_SOAP_MONITORING) IS NULL THEN LAST_TASK_ID + 1
    ELSE (SELECT MAX(ID) from TEMP_SOAP_MONITORING) END,
    CAPTURING_DATE = CURRENT_TIMESTAMP, LAST_CAPTURED_DATE = LAST_CAPT_DATE where DB_TABLE='TEMP_SOAP_MONITORING';

    My guess is that TERRIBLE method of trying to get a 'LAST ID' is what's causing ALL your problems of performance. This method will not scale, and it will NOT properly work in a multiuser environment.

    You need create a good BATCH_CONTROL table that all processes use during the creation and execution of lots.

    The MASTER of the process batch:

    1 Gets a new BATCH_ID using a sequence

    2 locks the current row in the table control and uses / change the value "last".

    3 creates a new line in the control table for the new batch process

    4. the line of control to date with the start time, end time, result State, County, etc. for the batch

    Your likely PROBLEM of has NOTHING to do with the links of the db.

Maybe you are looking for

  • MainStage stop drums trigger keyboard

    OK I have an Alesis V61 and MS3. It has 8 pads of the battery. I want to set up a very simple patch where all 61 note keyboard triggers ONLY a piano patch. I want one of the Eb trigger pads (2) - a handclap. I have 2 strips of channels, Yamaha Piano

  • I can't save my multiple tabs so that the closing of Firefox

    I am unable to save my multiple tabs so that the closing of Firefox. I even tried to reinstall and restart firefox in safe mode by using the following command "firefox-safe-mode", but even that did not help. I tried to look for any option in the tool

  • Chrome loads when I run the macbook pro?

    Not a big deal, but lately I've noticed that chrome still load when I start my PC... looks like it was something else - I also use safari most of the time, but some applications run in chrome. I've probably done it myself but can't seem to find out w

  • Gallery in photo book, annoying bug.

    As photos are imported in photo book in chronological order, it's a pain that photo gallery (photos showing all imported at the bottom of the window) always comes back to the beginning after having chosen a photo and put it on a page. You have to con

  • Customize e-print

    Hello everyone. It is possible to customize a print made by electronic mail (e-print), in terms of colors, a project, the pages we want to be or not? Thank you!