From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-04-2014 07:32 AM
Hello!
I am sorry for my english.
Help me solve a problem, please.
I need to save a stream of data from UDP Read Function.
I save the data stream to the buffer, then save the data from the buffer to a file. Speed record buffer is very very low (about 10 megabytes per minute). I generate a data stream in my board with a speed of 200 Mbit / s. How to increase the recording speed in the buffer?
And... I correctly solve this problem?)))
06-04-2014 07:33 AM - edited 06-04-2014 07:35 AM
My VIs
06-04-2014 08:31 AM
I would move the writing to a file to another loop. Loop into the Producer/Consumer. In short, you send your data to be logged to disk to another loop using a queue. This other loop then dequeues the data and writes the data to the file. I also recommend opening the file once before the loop and closing it once after the loop. You can then just keep writing to the file inside.
06-05-2014 01:00 AM
Good day!
I never used Queue Operations. I'll try it. Can you send me any more examples of using Queue Operations vis?
Thank you for the help!
06-05-2014 08:56 AM
Hey goodboycowboy,
There's some pretty good examples of Queue Operations within LabVIEW via Help>>Find Examples. If you search for "queue" within the NI Example Finder you'll find a couple. I recommend starting with Simple Queue. Hope this helps!
06-06-2014 12:55 AM
Thank you, BrianaC!=)