LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

why labview DAQ assistant only get data less than 1 second

Solved!
Go to solution

danielx2024_0-1729037155850.png

 

0 Kudos
Message 1 of 6
(442 Views)

Please post your code (preferably in 2020 or earlier), or we won't know what the problem is in your configuration.

I believe you are using the same Samples to Read and the Rate (Hz) (see DAQ Assistant-Setting the Sample Rate and Samples to Read), and writing to a waveform graph. The DAQ Assistant returns the data and overwrites the waveform graph every second. 

-------------------------------------------------------
Applications Engineer | TME Systems
Message 2 of 6
(418 Views)
Solution
Accepted by topic author danielx2024

danielx2024_0-1729093396830.pngdanielx2024_1-1729093485664.png

 

0 Kudos
Message 3 of 6
(390 Views)

I am trying to use labview to monitor and data log fatigue test.  I expect to get total cycle number during the test. But it can only get cycle number in 1 second. Could you help me figure it out? Thanks and look forward to your advice. My labview version is 15.

danielx2024_0-1729094227801.png

 

0 Kudos
Message 4 of 6
(388 Views)

So you are using the same value for both Samples to Read and the Rate (Hz) 

As I have explained earlier, reduce the Samples to Read to return the data faster. For example, if you want to update your graph every 0.1s, set Samples to Read to 1/10 of the Rate.

If you want to keep all the history data, use Waveform Chart instead. See What Is the Difference between Waveform Graphs and Waveform Charts in LabVIEW?

-------------------------------------------------------
Applications Engineer | TME Systems
Message 5 of 6
(339 Views)

But my purpose is to count total cycle number during fatigue test which may last a few days. If setup is: samples to read:256; rate 25.6 hz, labview will get data and calculate data at 10s interval. For cycle number, is there any way to accumulate numbers of each 10s. Here is vi file. Thanks

 

0 Kudos
Message 6 of 6
(303 Views)