How fast can get a TCP read?
LV 2009 + WIN 7 with 6 GB of Ram.
I acquire two analog channels as a word of 16 bits each and adding a CRLF at the end example: 1234 567 \r\n
These data are acquired to 50ms intervals and sent over a link WiFi for my notebook running code LV.
I know not how fast the "TCP - Read" function can work and which mode (it has four options) to choose if I do not miss any incoming data...
Now I get some data in French - initially rather quickly and after a few seconds, it slows down the consdierably. I'm running the TCP-read inside a timed loop and I tried various intervals from 10 ms to 500ms. The largest value works OK, but I need the fastest possible. Tips how to handle this?
My code is attached. (The passage DIO works very well)
Even if the passage DIO works, it doesn't make sense to use a sequence structure. It would be better to change the Standard mode and the 100ms Timeout value instead of "wait for next"millisecond"Multiple" as leading to uneven wait times.
TCP Read should run very quickly, subject to any waiting period that you set. You should never lose data in any mode, although there is a possibility to receive a partial when you use Standard mode or immediate (unlikely in your case since you read so little data). The operating system will be buffering of data not read for you. If you want the fastest possible exchange, divide your code in two while loops, one for EID and the other for the series. Serial communication can be simply a normal life while loop, with the reading of TCP dictate the timing. Set a long timeout in buffer mode and the loop will run as quickly as it receives data.
Also, when the loop ends, you must close TCP connections, not just one of them.
Tags: NI Software
Similar Questions
-
someone at - it an idea on how I can get counter strike so quickly on my pc and not so fragmentary and lag., is the first person shooting game and not looking to spend money? someone help me please! and thank you!
# You have not given any information, except for what you are trying to run.
As far we know you run with some processors Sempron/Celeron and 512 MB shared memory with an on-board video camera. In addition, you might have a suite of protection oversized running on your system to keep you safe from Internet predators and a bunch of other things you love continues to run in the background.
Here again, you can have a dual core or higher processor 1.8 GHz or more fast speed with 1 GB or more of memory and a 512 MB or higher video card (do not share memory with the system) which has installed the most recent drivers. Also you can have only a basic product antivirus running, by using the built-in Windows Firewall and you want to keep your system with as little as possible run so that most of your resources are available.
Probable - in any case - other than generalities such as:
(1) make sure that few runs when you play the game (with the exception of the game) as possible.
(2) make sure that you have the latest video card driver installed for your video card.
(3) make sure that you have the latest driver installed for your motherboard chipset.
(4) make sure that you have the latest audio driver installed for the audio device.
(5) make sure that you have the latest network driver installed on your device on the network.
(6) run the game with its smaller settings with the same extras disabled as you can stand it. Shadows are nice - but will slow down your system.And the advice that you said that you do not want to (while remaining general because we do not know the details of your system):
(1) buy a more grand/more fast video card to replace yours.
(2) buy more memory system in case you run low during playback.
(3) replace your processor with the highest that will take care of your particular motherboard.And the most extreme:
(1) buy a system that has a little above the minimum specs for the best interpretation of this game is that you are trying to play.
-
I just install an update of Adobe Reader and find now that I've lost all screen savers. Please can someone explain how I can get them all back!
Hello
try a restore of the system before this happened
http://www.windowsvistauserguide.com/system_restore.htm
If necessary do in safe mode
Windows Vista
Using the F8 method:
- Restart your computer.
- When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
- Select the Safe Mode option with the arrow keys.
- Then press enter on your keyboard to start mode without failure of Vista.
- To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
- Do whatever tasks you need and when you are done, reboot to return to normal mode.
-
Hello. I have Adobe Acrobat Reader DC. View original files PDF is 115%. anyone knows how I can get it to open up to 75%? THX
It is possible that the document specifies the default zoom. You also control via both the following preferences:
Edit > preferences > Page display > default layout and Zoom > Zoom
Edit > preferences > accessibility > substitute Page display > always use the Zoom setting
-
Ideas:
- You have problems with programs
- Error messages
- Recent changes to your computer
- What you have already tried to solve the problem
Remember - this is a public forum so never post private information such as numbers of mail or telephone!
Suddenly, I have a small window constantly, opening and closing very quickly. I managed to be frozen and could read the following: the URL is C:\Windows\system32\cmd.exe
and the error message is:
The syntax of the command is incorrect
Intel® Viiv™
Parameters
No idea how I can get this to stop? I use Vista. Thank you.Okay, I think that I fixed it. I went in the Sys Config, Start Up and unchecked "common SDK-Sonic Solutions/Roxio." Also not controlled all the other stuff video I don't need at start-up. I then restarted it, of course. It has been a few hours now and no window flashing. Roxio is a nice program, but has been a problem on my computer. By auto-off starting this program, it seems to have solved the problem.
-
I have a T3i. I dropped it the other day and it quit working. Any ideas on how I can get going again?
Yes. Send it to Canon service. It's probably done.
-
Is someone can you please tell me how I can get a windows XP installation disc?
I have an old computer with windows XP that crashed recently. The thing is that when I bought the computer, it did not come with an XP Setup disk. So can someone please tell me how I can get a windows XP installation disc? I tried several ways to fix the computer. I installed a hard drive with win98 and tried to recover my files. Also, I deleted the original hard drive and installed win98 to try to connect to the internet so I could install Ubuntu or Pandora.
I have an old computer with windows XP that crashed recently. The thing is that when I bought the computer, it did not come with an XP Setup disk. So can someone please tell me how I can get a windows XP installation disc? I tried several ways to fix the computer. I installed a hard drive with win98 and tried to recover my files. Also, I deleted the original hard drive and installed win98 to try to connect to the internet so I could install Ubuntu or Pandora.
Windows XP disks are no longer manufactured or sold. You * may * be able to find a place with an old stock for sale, but it is not very likely. Close your only choice is to purchase a used copy somwhere (but I would avoid eBay, where any software you buy is probably hacked).
-
Need to know how I can get the serial number of Adobe Acrobat software installed in the laptop
Ask your Adobe Acrobat serial number
It would be imprudent of me to ignore the obvious - maybe Adobe can help! Depending on how, when and from whom you have purchased Adobe Acrobat, you can contact Adobe and get the serial number of your Acrobat from them.
Visit the page Adobe find the serial number your quickly for assistance.
Or you need to dig up your Acrobat serial number and manually decrypt!
-
Hello.. I bought photoshop cc, but it will not be installed. So I want to know how I can get solution.
He came like that.
-
Hello
I deleted the creative cloud of the trial and the DM Dream weaver of the trial, after only using it for about 6 days, I tried to re-download the two tests and nothing happens. Anyone know how I can get this done. Please advise, your help will be greatly appreciated.
Hello
Also see also software Adobe to trial has expired at the beginning
Hope that helps!
Kind regards
Sheena
-
Please let me know how I can get a card for Lightroom raw Sony a7ii to Lightroom to recognize
Please let me know how I can get a plug-in for Lightroom to recognize the "firsts" Sony a7ii to Lightroom, without having to use 'Image Data Converter'
Thank you very much
Monika Davis
[removed email address by...] MOD]
Hi Monika,
What version of Lightroom you have?
Support for Sony A7II has been added in Lightroom 5.7.1: supported by Adobe Camera Raw devices
If you have 5 Lightroom, then you can find out in 5.7.1.
If you have an earlier version, you must upgrade to a newer version if you do not want to use the DNG Converter.
Kind regards
Claes
-
Hello! Has bought the photos but they have still the watermark Adobe & the free also, how I can get them without the watermark?
Follow the steps in these screenshots: I downloaded my 10 free images and they all have the Adobe watermark on them, so I can't use them. Why do they have a watermark on them?
-
IAM trying to install Adobe In Design CS2 but only allowing the use of 30 days... Do you know how I can get this to run as needed?
The activation servers have been closed several years ago. See Adobe - CS2 downloads
-
Anyone know how I can get hands on (or just send me) extension module always for CS6? I would really appreciate what I can't function without it.
These are optional extensions (plugins) for photoshop cs6 on the mac side.
http://download.Adobe.com/pub/Adobe/Photoshop/Mac/13.x/Optional_Extensions_Plug_Ins_Releas e.dmg
-
Anyone know how I can get lightroom to display my exposure compensation, not only other metadata.
It shows only the ISO standard, opening and shutter below the histogram.
How can I show him also the exposure compensation?
Hello
Don't think you can get it to show under the histogram, but if you choose View-> Options to display (Ctrl + J) and then on the Loupe View TAB you can choose exposure correction on one of the lines to display superimposed on the image.
Maybe you are looking for
-
If I pull the sim card from an iPhone AT &; T of full fare is it then Sim-Free?
I want to buy a sim-free iPhone, but Apple will not have any to the ship for several weeks. The nearest Apple Store has none for local pickup, either. However, the store, have a version of AT & T. If I order an AT & T iPhone OS on the Apple site, pay
-
When Firefox is being upgraded to allow the toolbar Google and its search history to stay
Firefox 3.6 allows Google toolbar and search history drop down.Firefox 3.6 will not support much longer, according to yourWeb site. I upgraded to Firefox 4 and lost the functionality of Google. I upgraded to Firefox 5 and, again, lost the functionali
-
NB100 - freezes if I switch to the line
I have a toshiba nb100 laptop with ubuntu linux. It seems to happen when I work offline, but to the time when I swith online it it becomes very slow and unresponsive and all pages and messages on the screen freeze and I can't delete them. I was hopin
-
I have sort within the 12.3.2.35 Itunes 64-bit. Whenever I try to enter an artist in the fields "sort as" for a group of songs under Get Info-> sort, he would return to the "Mixed" value I also disabled the compilation box in the Get Info-> Details t
-
HP Mini 5103 Windows 7 32 - Bit, recovery CD
I have a HP mini 5103 and I wanted to save the recovery to USB and unfortunatlly, files recovery in the partiiton at startup are corrupt and the Manager of recovery in windows 7 is not there. When I press f10 or either f11 at startup it says ramdisk.