Setting the Socket Buffer Size for Increased TCP Performance
Downloads
Filename: rt_set_tcp_buffer.vi
Requirements: View
The LabVIEW Real-Time 7.1.1 Maintenance Release introduced an INI File token which can improved TCP performance. This program will set this INI token for you which specifies the desired TCP socket buffer size on a target using LabVIEW Real-Time 7.1.1. LabVIEW Real-Time 7.1.1 must be installed on the target in order to take advantage of this improvement.
This VI edits the ni-rt.ini file to increase TCP communication performance on certain real-time targets based on the LabVIEW Real-Time 7.1.1 maintenance release. It adds or edits the SendBufferSize token under the [LVRT] section and sets it equal to the value specified on the front panel.
The default value is: SendBufferSize=65535
Instructions:
1. Target the controller and open the attached VI
2. Enter desired socket buffer size on front panel
3. Run VI
4. Reboot the controller
Note: The controller must also be configured for half duplex mode under Advanced Ethernet Settings in MAX
For more information, please see the links below for Knowledgebase 3G0AOAQS and the LabVIEW Real-Time 7.1.1 Maintenance release.
| Related Links: |
| Knowledgebase 3G0AOAQS : Improved TCP Performance With LabVIEW Real-Time 7.1.1 Maintenance |
| LabVIEW Real-Time Module Version 7.1.1 for Windows 2000/XP--ETS |
Requirements
Filename: rt_set_tcp_buffer.vi
Software Requirements
Application Software: LabVIEW Professional Development System 7.1.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Real-Time (RT), Vision (IMAQ)
Hardware Model: PXI-8156B RT, PXI-8170 RT, PXI-8175 RT, PXI-8176 RT, PXI-8186 RT
Reader Comments | Submit a comment »
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
