-
Notifications
You must be signed in to change notification settings - Fork 16
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
Comments
In this case, you need to set the AcquisitionMode to SINGLE, so that the
scope makes 1 capture after the trigger and retains this in memory (instead
of dumping the viewport after a trigger and immediately starting to search
of a new trigger)
Then set Running = True
Then wait for an event or poll Running until it's false
Then call GetScopeData() until FullAcquisitionFetchProgress equals 1.0
That should do it
Jasper
…On Mon, Mar 22, 2021 at 10:28 PM Willem-Jan de Hoog < ***@***.***> wrote:
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.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#12>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABPVLKUL46UE3P7KDZ2TN5LTE6Y7VANCNFSM4ZT5MCDA>
.
--
Jasper van Bourgognie
|
@jasper-van-bourgognie thanks a lot. I found TestAdcRamp() where the loop acts as you describe and using something similar it now works. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
andAcquisitionDepth
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.
The text was updated successfully, but these errors were encountered: