Functionality to stream data from the XSMU [WIP]#2
Open
gitansh95 wants to merge 30 commits into
Open
Conversation
…yword from CommResponse_recData class
…f the array it is returning
…m ADC (VM channel), WIP - DO NOT CLONE/RUN
Contributor
Author
StatusThe SMU is to stream voltmeter data at a specified frequency. This requires following features to be implemented. |
Contributor
Author
|
@kchat79 @nishant90git
When I make these changes, I get the following error while I take this to mean that I have not provided definitions for new and delete operators. I also tried including |
|
you have to define new and delete using malloc and free.
```
void* operator new (unsigned int size)
{
return malloc (size);
}
void operator delete (void* mem)
{
free (mem);
}
```
KC
|
Contributor
Author
|
The following definitions for operator new are already defined in file And these are being used in various places (eg. QP4). Should I overwrite these definitions with the one you have provided, or do these have to coexist somehow? |
|
Hi,
Do not over-write these.
The functions I provided have one argument. Add them to Application.cxx.
…On Tue, Oct 3, 2017 at 11:26 AM, gitansh95 ***@***.***> wrote:
The following definitions for operator new are already defined in file
code/stl/new.
inline void* operator new (unsigned int size, void* at)
{
return at;
}
inline void* operator new[] (unsigned int size, void* at)
{
return at;
}
And these are being used in various places (eg. QP4).
Should I overwrite these definitions with the one you have provided, or do
these have to coexist somehow?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AZkf6AJMP6GfUSf3Ptj0THLgFdAhcoSiks5socyigaJpZM4PaoCi>
.
--
Dr. Krishnendu Chatterjee
IIT Delhi
India
|
1. recData returns zero for all datapoints 2. Acquisiion applet instance (_acq) not implemented in Application.cxx (Removed for testing) 3. Documentation to be added
2. AD7734_Streamer not implemented yet. Known bugs : No ADC streamer class, recData sends all datapoints as '0'
…eeps adding it to _active_queue 2. Acquisition::data_ready() returns false is both _active_queue and _standby_queue are empty; true otherwise. Known bugs : a. _adc->start(ADC_CHN), _adc_stop(), and _adc->readData(ADC_DATA_REGISTER|ADC_CHN) cause the XSMU to reset. b. recData returns all datapoints as zero.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
2.4.0 (Streamer)
Description
The SMU is to stream voltmeter data at a specified frequency. This requires following features to be implemented.