02-05-2025 11:12 AM - edited 02-05-2025 11:14 AM
02-05-2025 12:42 PM
This is called streaming, and in terms of DAQ, you need to continuously read in chunks of 100ms of the sample (rule of thumb). The good thing is that DAQ implements DMA, thereby it can directly write to computer memory locations.
In general, streaming 3 AI channels at 5kHz is not a challenging task at all. Please share your code to ensure you're following the best practices.
02-07-2025 02:06 PM
Hello Santhosh,
Thank you for your response. Would this vi be able to read every sample at 5kHz?
02-07-2025 06:30 PM - edited 02-07-2025 06:31 PM
Your implementation cannot keep up as you're reading 1 sample at a time which is too slow.
If you just need to collect the data, FlexLogger will make your life easy as it is configuration based data acquisition.
02-10-2025 10:48 AM
It is explaining the real-time constraints in a streaming case with examples in python and VI,. where you process data live through callbacks.
As mentioned by santo_13, if you just need the samples, there are better ways.
For example, I process measurements live to display them on a screen. And I also use APIs to acquire data and post-process later, thus I don't need callbacks in that case