12-19-2022 11:01 AM
I have a question the configuration on DAQmx timing and DAQmx read in the code below.
Can someone please help understand the best way to configure the two VIs?
This is someone else code. On the DAQmx, he has samples per channel = 1000
Sample rate = 1000
Isn't sample rate supposed to be lower than samples per channel on the DAQmx Timing?
Also, on DAQmx read isn't the "number of samples per channel" supposed to be equal or less than "samples per channel" on DAQmx timing?
Let me know if this configuration is right, if not how can we be corrected?
Thank you!
GRCK5000
~Your homework is my homework. Haha~
Solved! Go to Solution.
12-19-2022 12:52 PM
When using the "Finite Samples" configuration:
When using the "Continuous Samples" configuration:
With all of that said, what I see in your code is a task set to 1k samples and then told to read 10k samples. I honestly don't know if this should throw an error.
12-19-2022 03:41 PM
Thanks crossrulzz! This is a great explanation!
12-21-2022 03:14 PM
Just a couple more tidbits:
Addressing your specific questions:
-Kevin P