From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
04-20-2017 12:14 PM
Hi,
I got a unit with Labview from previous people in the group. I need to increase the rate at which my pressure transducer's readings are saved. Here are some things i tried:
I tried increase the "rate" in the "Pressure Transducer. vi" file, associated with the sampling clock. However, that didn't seem to change much.
I also tried changing timeouts in "Pressure Transdcuer Read. vi" file, but that didn't seem to help either. When I checked the "data" in the Pressure Transdcuer Read. vi, It's telling me that dt = 0.00062, but the data I recorded is about 1 data point/ second. I'm not sure if dt is associated with anything.
Any idea other things I could try? Thank you.
Any idea how I can increase the rate
Solved! Go to Solution.
04-20-2017 12:33 PM
First, don't create and clear your DAQ task every loop iteration. Also, in general you do not want to write the data to a file in the same loop you are acquiring your data. File access can be quite slow and will vary in time.
As for your specific question, your loop is running a rate of 1KHz and a loop period of 1000, which means your loop is only running once per second.
04-20-2017 12:38 PM
Hi,
Thank you so much for your answer.
So I only need to decrease my loop period? Any idea how to decrease the loop period, by decreasing the rate?
04-20-2017 12:43 PM
You can right click on the input node of the time looped and select "Configure Input Node" and then change you loop period. Or you can simply wire a value into it.