Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to get correct samples #12

Closed
wdehoog opened this issue Mar 22, 2021 · 2 comments
Closed

how to get correct samples #12

wdehoog opened this issue Mar 22, 2021 · 2 comments

Comments

@wdehoog
Copy link

wdehoog commented Mar 22, 2021

Hi,

I want to modify the SmartScopeConsole example in order to save LogicAnalyser data to a csv file.
I managed to get some data but it is either incomplete or not detailed enough.
(using ChannelData d = p.GetData(ChannelDataSourceScope.Viewport, LogicAnalyserChannel.LA);)

I want to capture a UART async signal at 115200 baud that lasts 0.2s and be able to decode it (using sigrok).
I guess I should change AcquisitionLength and AcquisitionDepth but their effect on the results are a mystery to me.
Any help on this would be really appreciated.

Using the UI (SmartScope.exe) it works so the scope is able to do it.

@louiecaulfield
Copy link
Contributor

louiecaulfield commented Mar 24, 2021 via email

@wdehoog
Copy link
Author

wdehoog commented Mar 24, 2021

@jasper-van-bourgognie thanks a lot. I found TestAdcRamp() where the loop acts as you describe and using something similar it now works.

@wdehoog wdehoog closed this as completed Mar 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants