07-17-2018 01:19 AM
Hi,
So want to display how many samples I have read. I have seen in some discussions that i should use "DAQmx read property node" but where exactly should i place it in my VI. Also I want to stop my code after acquiring exactly 675 samples. How should i do it? Attached is my receiver vi.
Solved! Go to Solution.
07-17-2018 01:38 AM - edited 07-17-2018 01:41 AM
Hi maverikk,
I want to stop my code after acquiring exactly 675 samples.
Remove the loop from your VI.
Then change "number of samples per channel" to a constant and set its value to 675.
Finished.
So want to display how many samples I have read. I have seen in some discussions that i should use "DAQmx read property node" but where exactly should i place it in my VI.
Why do you need a property node to know the number of samples read?
Just use ArraySize on your Y array in the waveform…
Why do you need this at all? When you set DAQmxRead to read 675 samples and it returns without error then you got exactly 675 samples…