473,402 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

C++ program to perform extensive data IO task, 160MB/s.

My task is to write a C++ program to satisfy these requirements.

I have an embedded board which is supposed to output 2 channels of
10-bit, 40MHz datastreams. My board has an ARM cpu and an USB2
port. The data is stored in the PC in plain text.

Can C++ and USB2 port satisfy my requirement?

Thanks.

Jul 23 '05 #1
3 1516
Sea Squid wrote:
My task is to write a C++ program to satisfy these requirements.

I have an embedded board which is supposed to output 2 channels of
10-bit, 40MHz datastreams. My board has an ARM cpu and an USB2
port. The data is stored in the PC in plain text.

Can C++ and USB2 port satisfy my requirement?


Well, C++ doesn't have something like a maximum data rate. It entirely
depends on the system and the optimization capabilities of your compiler.
IIRC, USB2 has a theoretical maximum data rate of 480Mbit/s, which is the
same as 60MBytes/s. I don't know which rate can be realistically achieved,
but one single USB2 port won't be enough for all your data.
Anyway, you should rather ask this in a newsgroup about embedded systems,
since it doesn't have anything to do with the C++ language (the topic of
this newsgroup).

Jul 23 '05 #2
On Wed, 16 Mar 2005 11:42:24 +0100, Rolf Magnus <ra******@t-online.de>
wrote:
Sea Squid wrote:
My task is to write a C++ program to satisfy these requirements.

I have an embedded board which is supposed to output 2 channels of
10-bit, 40MHz datastreams. My board has an ARM cpu and an USB2
port. The data is stored in the PC in plain text.

Can C++ and USB2 port satisfy my requirement?


Well, C++ doesn't have something like a maximum data rate. It entirely
depends on the system and the optimization capabilities of your compiler.
IIRC, USB2 has a theoretical maximum data rate of 480Mbit/s, which is the
same as 60MBytes/s. I don't know which rate can be realistically
achieved,
but one single USB2 port won't be enough for all your data.
Anyway, you should rather ask this in a newsgroup about embedded systems,
since it doesn't have anything to do with the C++ language (the topic of
this newsgroup).


little remark: besides the speed of your USB2 port you must have
suitable speed of your whole system! (if your data are on the
hard drive it has to read with such a speed)
Jul 23 '05 #3
Thank you Taras and Rolf.

I am looking into logic analyzers which might solve my problem. Your replies
has cleared my doubts.

"Taras" <ka*@voliacable.com> wrote in message
news:op**************@campus.voliacable.com...
On Wed, 16 Mar 2005 11:42:24 +0100, Rolf Magnus <ra******@t-online.de>
wrote:
Sea Squid wrote:
My task is to write a C++ program to satisfy these requirements.

I have an embedded board which is supposed to output 2 channels of
10-bit, 40MHz datastreams. My board has an ARM cpu and an USB2
port. The data is stored in the PC in plain text.

Can C++ and USB2 port satisfy my requirement?


Well, C++ doesn't have something like a maximum data rate. It entirely
depends on the system and the optimization capabilities of your compiler. IIRC, USB2 has a theoretical maximum data rate of 480Mbit/s, which is the same as 60MBytes/s. I don't know which rate can be realistically
achieved,
but one single USB2 port won't be enough for all your data.
Anyway, you should rather ask this in a newsgroup about embedded systems, since it doesn't have anything to do with the C++ language (the topic of
this newsgroup).


little remark: besides the speed of your USB2 port you must have
suitable speed of your whole system! (if your data are on the
hard drive it has to read with such a speed)

Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: xo55ox | last post by:
Hi, Did anyone successfully set up a local package to first ftp a db.bak and second perform an automated db restore? I need to perform an automated task, which ftp nightly backup file to...
10
by: Nimit | last post by:
Hi, I wasn't sure which forum this post belongs to, so I've posted it to a couple forums that I thought may be appropriate. In giving me advice, please consider me a beginner. Below is a synopsis...
1
by: gaosul | last post by:
I am non-programming scientist and I am using a Program called Easyarticles from Synaptosoft Inc., which is based the database program Access. Unfortunately, the owner of this company has...
3
by: Kerry | last post by:
I need some advice regarding a coding requirement that may suggest the need for an object oriented solution. The code fragments presented here attempt to solve the problem in C. The problem: ...
7
by: Peter S. | last post by:
I currently have created a C# program that automatically updates an SQL database once everyday. It's an application that I manually start. I want make it so that if the (Windows 2003) server...
1
by: sunnyhanda | last post by:
Write a program that will generate, but not display, a three-digit "target" number that has three distinct digits. Then, inputs a maximum of eight user guesses and, for each guess, outputs the number...
3
by: mayur_hirpara | last post by:
Hi, I am writing a VB.NET application. It is a Windows application at the moment. The application contains a button. the click event of button perform a long running task. It needs to be started...
14
by: wshaer | last post by:
Hi all, I have an assignment and I need some help with it. This is the assignment // Research reports are often required to conform to a given standard such as APA or MLA. These standards...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.