Usrp Full Duplex Operation [closed] - c++

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a USRP N200 with WBX daughterboard. I'd need a simple C/C++
program that can simultaneously receive and transmit. but I can't find It.

Look at the examples that come with UHD. There's the txrx loopback example which does exactly that.
In essence, it's not complicated:
spawn a thread for receiving and one for transmitting. This is optional, but it will make your system much less prone to receive sample over- or transmit sample underruns.
create an rx_streamer and a tx_streamer
In the RX thread, call the rx_streamer->recv() method repeatedly in the TX thread, tx_streamer->send() method repeatedly.

Related

how to send data to PC over JTAG/debugger [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
I am using a PEmicro USB Multilink Universal JTAG.
I have a Cortex M4 processor running a custom C++ RTOS with no filesystem.
I need to trace execution of some functions to debug a problem but since I don't have a filesystem, I'd have to use a RAM circular buffer.
QUESTION
Is it possible to write the trace data over the JTAG/debugger connection to the PC? Even if this can't be done full-speed, it would still be useful to me.

non-blocking communications in MPI: order of messages [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
What happens if a processors sends exactly the same message to the same destination with the same tag? When the receiver wants to read it, does it read the last one?
What if two different processors send the same message (same tag) to one processor? which one it receive and in what order?
3- How we can know how many pending messages from a specific processor are in the queue in order to receive all of them?

Linux Kernel Implementation [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am implementing network layer to aggregate 2 network interface by dividing data to send them on 2 interfaces and combine it on the receiving end. I have achieved it in socket programming(c) but now I have to implement it on kernel in Ubuntu. I cant figure out where to start as i do not have any prior knowledge of kernel programing. Can anyone guide me about any helpful tutorials or demos so i can start working on it.
Have a look at network interface bonding.

Catching informations about running processes in Windows [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
My task is to make a program, which counts a time of running processes in windows. Can you suggest me how or from where can I catch that informations?
For list of currently running processes under Windows use EnumProcesses win32 API
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682629%28v=vs.85%29.aspx
example how to do this:
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682623%28v=vs.85%29.aspx
From your question I'm not sure if you need process timing information (CPU time,etc.) or to count instances of given process in memory. Could you please explain this more clearly ?
You can use GetProcessTimes function to get process timing information.

How to get network message in the application level? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
In my c++ application, I want to get the HTTP messages such like GET/200OK, and then parse them in to my own struct. How can I get them from the networking card in the run time?
You can try using libucyrl mentioned in this answer.
Also you can write your own TCP client/server application and read the data from sockets, then parse it the way you want it. In this case is better to familiarize first with the HTTP protocol.
I think some tutorials might be useful too, so here are a couple of links:
http://www.freeos.com/articles/4121/
http://www.jmarshall.com/easy/http/