TCP speed problem when changing read write

Hi all

I have a weird problem with TCP/IP blocks in labview. I'll take a moment to explain my set up.

I have a laptop running Labview 7.1 and a machine of RT ETS running standard Labview RT software. Both are linked to an Ethernet dedicated, not a crossover, but through a network switch which turned nothing else on it.

I have 2 screws, a vi server that is running on the machine of RT and a vi client that runs on the laptop. All this doing is to transfer a small amount of data back. The client sends to the server a DBL vi, this number is multiplied by 3, has 1 added to it, and then send again. The client then sends a string to the server, followed by a byte of stop. (see attachment).

What I find is that this loop at the incredibly slow pace of ~ 200ms. It is a 100 Mbps ethernet connection! I tried many things and cannot work out why and I hope someone can help me. It seems that there is some delay when the direction of data is changed (i.e. a read after a write)

This is where it gets ridiculous. When I remove the sending station and stop as Boolean of two screws, it works very, very quickly.

This is part of a project more vast and complex, I have a problem with and I narrowed down it to this issue. I checked the boards and nobody else seems to have this problem, which would suggest that I do something stupid

Help, please!

Pete

Take a look at this thread on the Nagle algorithm, which deals with what I suspect is the same problem that you see.

Tags: NI Software

Similar Questions

  • black and small screen problem when changing the app

    Hello

    I have an annoying problem with my PS 14 CC.

    Every time I press cmd + tab to change the application and then I return to PS, my screen is black (Fig. 1).

    So, when I close the document and I re open, there are a lot of glitches (Fig. 2). I have to close the PS and open it again.

    And this does not solve the problem... Again, each time that I change the soft, it starts...

    Capture d’écran 2014-12-01 à 12.44.20.png

    Fig 1

    Capture d’écran 2014-12-01 à 12.37.41.png

    Fig 2

    Thanks a lot for your help

    Not turning off"use graphics processor" in the Performance preference and restarting Photoshop have a bearing on the issue.

    Please read these:

    t http://blogs.Adobe.com/Crawlspace/2012/07/Photoshop-basic-troubleshooting-steps-to-fix-MOS - issues.html

    http://forums.Adobe.com/docs/doc-2325

  • Big problem when changing the map graphic on the Office of envy.

    My desire H8-1419 uses the card Radeon HD Eyefinity 7570. I want to use a Zotac GeForce GTX 650 Ti card (dual slot). The card physically fits without difficulty but there is no display on startup (the machine emits a signal monitor says 'no signal'). Desktop seems to meet all the requirements for the power and special system. Is something in the BIOS should be reset? Anything else?

    Hello:

    You need to change two parameters of the BIOS on your PC when you plan to install a video card no HP.

    After reading the information below, I hope that your current trouble will be a distant memory.

    http://support.HP.com/us-en/document/c03653200

  • TooManyObjects problem when changing values LOV

    Scenario is,

    I applied LOV on an attribute of the View object. but it gives an error when I change the value on LOV

    IM does not not the LOV first time, never seen error like this. How feature cache already have this PK in the whole of lines?

    J Dev Version: 11.1.2.4

    Of course, it will throw an exception because on the change in value, it corresponds to a record previously stored in the database (you ask Lov on a viewObject using its own data?)

    If you have this type of requirement let a transitional attribute and apply lov to this

    Ashish

  • problem when change the sdo_geometry to sd_geometry

    I use the SDO_RELATE function with the data sdo_geometry type when I change my sd_geometry. I give the Erorr:

    ORA-13226: interface not supported without a spatial index

    ORA-06512: at the 'MDSYS. MD", line 1723

    ORA-06512: at the 'MDSYS. MDERR", line 8

    ORA-06512: at the 'MDSYS. SDO_3GL', line 88

    ORA-06512: at the 'MDSYS. SDO_3GL', line 649

    the query:

    SELECT nvl(C.DISTRICT_ID,0)

    DISTRICTS c, plots g where g.plan_no = 325 and g.PC_NO = '1240' and

    SDO_RELATE (SDO_GEOMETRY (sde.st_astext (c.shape), 32638), SDO_GEOMETRY (sde.st_astext (g.shape), 32638), 'mask = anyinteract') = 'TRUE ';

    Hello number 665.

    There are several issues here.  The first is if your geometries are stored using Esri SDE owners. ST_Geometry type, why would you use Oracle Spatial to work with them?

    Why not just use the Esri software who paid your organization?

    SELECT
    NVL(c.district_id,0)
    FROM
    districts c,
    parcels g
    WHERE
        g.plan_no = 325
    AND g.PC_NO = '1240'
    AND SDE.ST_INTERSECTS(c.shape,g.shape) = 1;
    

    Second, the conversion of geometries between Esri and Oracle is sometimes very slow and problematic.  Oracle supports only the very old 1.1 WKT specification so certain geometries can be converted in this way.  Also, Oracle does not all WKT polygon of the rings which are clockwise.
    SDO_UTIL. FROM_WKTGEOMETRY seems to ignore the ring rotation
    So depending on the complexity of your spatial data, you may need more logic you need here to Shepherd WKT between the two systems.

    Third, if for some reason, you have to do things this way, you cannot use MDSYS. SDO_RELATE as this Oracle Spatial function needs at least a Spatial Index of the Oracle of the function.  Your Esri converted on the fly to SDO geometries do not provide such an index.  Instead, you should use MDSYS. SDO_GEOM. RELATE.

    http://docs.Oracle.com/CD/B19306_01/AppDev.102/b14255/sdo_objgeom.htm#BGHCDIDG

    See you soon,.

    Paul

  • problem when changing the alignment of the Centre for indoor/outdoor race

    Hello, I work a lot with "pixel" work and function align because of race are very good for that.  However, after my last CS5.5 update, features don't line up with paths when I convert from the Center to the inside and outside (as in the image below). I have search the forum and google but could not fix it... I have another additional function as 'snap to grid' or ' smart guide. all opinions are very much welcome... I have 2 days and and I can hardly work because this problem . Thank you.

    Screen-shot-2012-04-24-at-4.07.jpg

    Disable "Align to pixel Grid" Panel processing

  • Problem when I read only real property

    Dear members,

    I have an OFA Page on which I have two items below:

    1 / item1
    2 / item2

    These two are elements of text message entry and these two elements will always have some value.

    To meet one of my condition, I do property READ ONLY of both true in the processRequest to page CO method using the Concept of PPR. After that when I try to access the values of these two parameters to the processFormRequest method using the pageContext.getParameter method I get error Null pointer exception .

    Please please help me solve the above error.

    Note: I created a variable temporary hdr1Trans and attached this variable at the time the elements i.e. item1 and item2


    Code in my processRequest method is as follows:_

    ' Public Sub processRequest (pageContext OAPageContext, OAWebBean webBean)
    *{*
    super.processRequest (pageContext, webBean);
    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    PVO OAViewObject = (OAViewObject) am.findViewObject ("pprPVO1");
    pvo.setMaxFetchSize (0);
    NewRow row = pvo.createRow ();
    pvo.insertRow (newRow);
    Vo OAViewObject = (OAViewObject) am.findViewObject ("Headers_VO1");
    String status = ""; "
    Status = VO. GetCurrentRow(). GetAttribute ("Status"). ToString();

    If (status! = null & &! ("". equalsIgnoreCase (status)))
    *{*
    If (status.equalsIgnoreCase ("CURRENT"))
    *{*
    pvo.getCurrentRow () .setAttribute ("hdr1Trans", Boolean.TRUE);
    *}*
    Another yew (status.equalsIgnoreCase ("NEW"))
    *{*
    pvo.getCurrentRow () .setAttribute ("hdr1Trans", Boolean.FALSE);
    *}*
    *}*

    *}*


    Code in my processFormRequest method is as follows:_

    ' Public Sub processFormRequest (pageContext OAPageContext, OAWebBean webBean)
    *{*
    super.processFormRequest (pageContext, webBean);

    OAApplicationModule am = pageContext.getApplicationModule (webBean);
    String headerId ="";
    System.out.println ("test 1");
    String item1 = pageContext.getParameter ("item1") m:System.NET.SocketAddress.ToString ();
    String item2 = pageContext.getParameter ("item2") m:System.NET.SocketAddress.ToString ();
    *......*
    *.......*
    *.........*

    *}*

    I get NPE error when trying to access a record with the status IN PROCESS value.
    Once I make the property read-only to TRUE for both 2 elements above and after that, if iam trying to access their value using pageContext.getParameter Iam getting this error.

    Kindly please help me to solve this error.

    Thanks in advance.

    Best regards
    Arun D. Reddy

    Arun,

    When you set point as readonly field, it will always display null when using pageContext.getParameter ("").

    If there is a VO attached with these elements eg-item1, item2, then you can get the value with the code below

    OAViewObject vo = (OAViewObject)am.findViewObject("");
    String item1=(String) vo.getCurrentRow().getAttribute("");
    

    Kind regards
    GYAN

  • Problem when changing scenes breast clip...

    Hi all

    I'm having some problems with my site control.

    I have a clip and inside that clip, I have an action script to take me to a scene of diferent but the button does not work someone can help me here?

    Here is the code I am using

    _btn.addEventListener (MouseEvent.CLICK, _playAgain);

    function _playAgain(e:MouseEvent):void {}
    gotoAndPlay (1, "scene 1");
    }

    When you use this code in the main timeline, it works fine, but when I put the code inside a clip it work... anyone?

    Thank you very much!!!

    Must be:

    cirmc.addEventListener (MouseEvent.CLICK, fl_ClickToGoToScene);

    function fl_ClickToGoToScene(event:MouseEvent):void
    {
    MovieClip (this.root) .gotoAndPlay (1, "scene 2");
    }

  • Y at - it no problem when changing the OC4J to WEBLOGIC Server

    Hello

    We need to develop a product in Jedeveloper 11 g. In development mode, used as application WEBLOGIC 10.3 Server. But during the mode of production, we must apply the EAR oc4J APPLICATION Server files.

    While changing this, I know my system work as such in the WEBLOGIC Server?

    If I have loss any specific fuctionalities Rich Ajax? Is everything working in development is necessary?

    Everything in Google search, I found, in JDeveloper 11 g oracle prefer WEBLOGIC instead of OC4j. Can someone tell the reason for it.

    Thank you
    Thierry.

    Thierry,

    OC4J is a java container in the OAS.

    The link you provided States exactly the same thing as I have indicated above, namely that the ADF applications would not be supported on OAS/OC4J.

    John

  • a speed of read/write DAQ card mode change will reach 200K

    HEY, man,

    I have a project needs to test two points I name them point A and point B, the first time, I should point A 5V DC input, voltage inductive test point B, sencodly, give point B 5V DC input and inductive point test output voltage, this means and two analog ports must read and write sharing mode , and the test speed must be 100 KB, if I have a 200 KB data acquisition card, can the speed of read/write mode change reach 100 KB for an analog port? or, please give your suggest for my this kind of situation, thank you.

    Hi API,.

    I see that you are trying to measure voltages using a single channel at a time on a data acquisition card.

    Unfortunately, you cannot change the inputs to the outputs or vice versa on a map of data acquisition, they are static.

    What I recommend is either using a switch like this: http://sine.ni.com/nips/cds/view/p/lang/en/nid/207130 where you will need a high chassis.

    Or, having four channels, 2 inputs and 2 outputs and try to measure it. You should have the necessary speed as well.

    If you have any other questions, I'd be happy to answer.

    Thank you very much

  • Satellite A80 129 DVD-RAM write speed problem

    Hi all!

    I have a problem. the thing is that I want to write in NERO 6 (last version purchased) a CD or DVD, but we will only write to me at slow speeds. In this laptop I MAST * a DVD-RAM UJ-830 s with DVD-R 8 x and 24 x CD - R write speed said.

    When I try to write on a CD it gives me only 16 x write speed, then where is x 24? It goes same for DVD, as I want to burn DVDs and it gives me only 2 x write speed.

    Please, do not put this fault on a CD or DVD, cause in my country there are limited suppliers of this type of media, so I won't change my media. They worked with my previous PC CD - RW fine, no speed problem.

    I want to know also if this is lack of DVD - RAM, where then find firmware for this burner?

    Thanks for your replies.

    BR, Kekec

    You should try to update nero, it might solve the problem.

    Also an update of the firmware can help, go to http://www.toshiba-europe.com/storage/index.asp?nav=HOM&page=HOM&frame=home

  • increase speed visa read write

    Hi guys,.

    I use the visa read and write the example, but I am facing a problem when using it in a software expansion, and I can receive only date when the vi has been slown down (using the bulb).

    The program really works on her own with the defined settings.

    So, do you have any ideas/suggestions on how to significantly increase the speed of this vi (joint)? In addition, it seems to create a problem with the playback of data

    Thank you very much

    Kentmey

    Roll bytes to the port and the delay.

    Rely on the chariot of the termination

    Use a number larger than the bytes expected.

  • Synchronization with Serial read/write problems. can not get the functionality of the terminal emulator

    Hello

    I am writing a VI to control PWM with a microcontroller via a serial port. I wrote a simple code for the microcontroller that allows me to set the ratio of duty cycle on a scale of 0-65535. It works very well with Termite of Compuphase (RS-232 plug); The microcontroller invited me to an entry, expected that I would one, updates and expected another entry when I decided to send him. Now, I'm trying to get the same functionality on a LabVIEW vi but hit a snag.

    When I tried to send my orders with a series read base and an example of writing, everything worked fine. I could see the prompt entry, write an entry and if I was quick enough, check out the update message. Even when I was not fast enough, I was able to check the update by monitoring the PWM pin with a Logic Analyzer. The problem with the basic example, however, is that I need to update the report to aura cyclical ratio, so I went for an example of reading continues writing. The problem I've met; is that I have to switch between reading and writing to make it work. When I do that, either I don't hold write it down long enough and nothing happens, or I get several updates when I switch to reading. Some of these updates don't even match and produce updates to defective upgrades for example; 16000 16000, 16000, 16000, 6000, 600, 60, 16000, 1600, 60, 0, 0, 0, 16000, 60, 0, 0 etc.

    I tried which allows characters of endpoint in the hope that the writing would end at the end and go to reading where he would receive a termination character and wait for me allow writing once again, but nothing helped. I still have to alternate between the two and either get no response on reading several updates of variable accuracy. I tried to remove her allows read/write and their structures of matter in the hope that the loop flow, associated with the characters of endpoint would the case, but then the updates don't register at all. The funny thing is I did a VI like this before with an Arduino and that there not even no need to switch between writing and reading (I'm now using a Board of Freescale FRDM).

    I was also the frequency of timeout errors; Error-1073807339 at VISA Read, reason Possible: VISA Hex 0xBFFF0015. I removed the option to stop the while loop if there is an error so I can run but always pops up an error on the judgment occasionally. Could the problem of synchronization always cause me problems?

    Would appreciate all advice really, I am providing my slightly modified example screws and can provide the code for microcontroller on request, even if it's very simple.

    Thanks in advance, it is
    Yusif Nurizade

    In other words, frankly, a good bad example you according to your code. Also, you have the order of writing and read upside down in your amendment if the instrument requires a command to return something. It should really be using a structure of the event. The structure of the event around a write and read and use a value change event. I have attached a quick change. This mod is still a reading after writing. If necessary, you may have two separate events to write and read.

  • Read-only - user files - can't change for write access

    In the users (only one user) section all the folders are read-only. I'm moving to the music in my music file, but it won't let me. I get an error indicating that this action requires administrator rights, the diolgue box Monte 'do you want to get permission for this action', click Yes, and then he says denied action! What happens - I have not had this problem before.

    I followed the cmd prompt 'attrib-r + s C:\Users\Mel and Steve\Music' and other combinates, but it wouldn't let me make changes.

    Help, please!

    Windows Vista

    This sounds like a permission problem.  When I came across a similar problem with Vista, I installed a registry patch that adds a' Take Ownership"option in the context menu to reset the permissions on the files."  Simply right click on a folder you are the difficulties to access to the, (IE C:\Users\YourUserName) and then click "Take Ownership" allows you to access these folders and all subfolders beneath it read/write. This is what solved my problems:

  • Dell XPS 600 read/write DVD problem

    My system is a Dell XPS 600 and has a DVD/ROM drive & a DVD RW. The drive works fine, but the DVD RW will not read/write or recognize a disc is inserted. The original drive failed when running normally with WIN XP. I replaced the drive (w/Lite-on SOHW 1633 s), responsible for all the latest drivers, flashed the firmware of the disc and nForce4, changed discs and cables, from Win XP to WIN 64 bit with the same results. The drive won't work, except when I insert the boot disk WIN XP drivers he will read and open the files as it should. Can you help me?

    Osprey4,

    I think you're right. The new drive is the problem, and I'm going to get another to confirm.

    I changed discs and the RW still does not work.

    Thanks for your help.

    jdm05klm

Maybe you are looking for