-
Notifications
You must be signed in to change notification settings - Fork 5
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
Question about STREAM vs. FAST modes #4
Comments
The following ideas could be given a try
As the Documentation and community around bitscope is limited, i am unable to use BL_MODE_STREAM so far. if you have any supporting document or pointers kindly let me know.
Threads runs under the same process, and only one thread run at a time (If i am not wrong) Hope it helps |
Thank you very much Aananth. I will give you're suggestions a try.
Nathan
…On Sat., May 15, 2021, 1:01 a.m. Aananth K, ***@***.***> wrote:
I am moving a device and acquiring data at the same time and I need the
data to be recording while this device is moving.
The following ideas could be given a try
- using external trigger to sync capture with movement. if you are
trying to capture data at dicrete positions during movement we can sync the
capture using discrete position based triggers.
- As the velocity is known, you could capture several times throughout
the movement and join the captured data to make it a time series(data with
respect to time) and then use velocity to convert it into Distance Series
(data with respect to distance).
- Use BL_MODE_STREAM for continuous waveform capture untill movement
gets completed.
Would it be best to use STREAM or FAST to do this?
- BL_MODE_FAST - analog capture at the fastest rates available
- BL_MODE_FAST is recommended for analog waveform capture only
- BL_MODE_STREAM - streaming mixed signal capture
- BL_MODE_STREAM is used for continuous waveform capture.
As the Documentation and community around bitscope is limited, i am unable
to use BL_MODE_STREAM so far. if you have any supporting document or
pointers kindly let me know.
would it be best to have the data acquisition and the moving of my device
in two separate threads,
Threads runs under the same process, and only one thread run at a time (If
i am not wrong)
Instead can you try multi processing..? where separate process can be
invoked to run simultaneously.
Hope it helps
codenio
(Aananth)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#4 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARHYQTRSMDW7ZC62DQXVOVTTNX5ZRANCNFSM444SYB3Q>
.
|
I am trying to acquire data at 20 kHz, but for the entire duration of a separate event. In essence, I am moving a device and acquiring data at the same time and I need the data to be recording while this device is moving. Would it be best to use STREAM or FAST to do this? Also, would it be best to have the data acquisition and the moving of my device in two separate threads, so that they can be run simultaneously?
As of right now, I am able to move and acquire at the same time, but the FAST acquisition completes before the device is done moving. A
Any help is much appreciated.
Nathan
The text was updated successfully, but these errors were encountered: