10-19-2023 05:21 PM
New to DQMH and would like to get some guidance on how to best design a data receiving module. Using the CML example as my guide.
I have stream objects that are either live or historical.
Could have one or more of each.
One live stream will be automatically started, the other livestreams could be from a button push
So does each obj need it's own module? or one module that can handle all object data streams?
Not quite sure what's the best way to do this. Any guidance is appreciated.
Thanks!
10-20-2023 02:58 PM - edited 10-20-2023 02:59 PM
Where's the data coming from, network (TCP/UDP) or from some hardware via some driver (daqmx)?
And what's the throughput?
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
10-20-2023 03:02 PM - edited 10-20-2023 03:04 PM
it's a library call that specifies start time/end time and sample rate. The lower level communications is in the call.
Throughput is variable but aiming for 120 samples/ sec
from the additional research I did, I think what I need to do is use a cloneable module for EACH of the data stream objects.
10-20-2023 05:15 PM
https://github.com/TomsLabVIEWAdventure/DQMH-Tutorial-Series
https://www.youtube.com/watch?v=5UW6TKB8XtE
So my plan is to basically treat each data stream object like it's a chat.