Skip to content
Discussion options

You must be logged in to vote

@simonhyliko
You are right that there is an internal queue of CAN messages.
The internal queue is thread-safe so you don't need to create an own queue.
The queue solves the problem of the pretrig time and the compression option.
The internal queue is created when calling the InitMeasurement() function.
The main issue is that the queue assumes that all messages are put onto the queue in time order.
When your application calls the StartMeasurement(start time) and a later call with StopMeasurement(stop time), all samples between start time - pretrig time and the stop time. are stored to the file.
After the start, the internal queue is periodically stored to the disc.

The weakness of this des…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@simonhyliko
Comment options

Answer selected by ihedvall
Comment options

You must be logged in to vote
1 reply
@simonhyliko
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants