From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FlexLogger

cancel
Showing results for 
Search instead for 
Did you mean: 

Module Data Rates

Solved!
Go to solution

Hello,

 

I've got a question about data rates in Flexlogger.  I know you can set the data rate for a module to slow, fast, custom, etc.  Is this the rate at which the module samples the data it is logging?  And if so, what if the data rate I'm using to convert the data into a csv file is less than the module data rate?  Say I've got the data rate on a module set to 1,000 Hz, but only 100 Hz for the transmission to a csv file.  Will the module only spit out every tenth sample it produces since that's what I'm transferring to the csv file?  I'm being asked by my engineer now to make some adjustments to the test stand I made and haven't touched for several months and getting asked questions about stuff I haven't thought about since 2019, so I'm trying to go back and understand the thought process of past me...scary!

 

Thanks in advance for the input!

0 Kudos
Message 1 of 8
(4,106 Views)
Solution
Accepted by brethigh

Good questions!

 

1. Yes, your data is logged to TDMS at the rate it is acquired by the module. The Slow, Medium and Fast rates are used in the log file. The TDMS Viewer application can easily graph signals acquired at different rates on the same graph for analysis.

 

2. CSV export will select values at the specified rate for the CSV file. It will either decimate the signal if it is acquired faster than the CSV rate, or repeat signal values if the signal is acquired slower than the CSV rate.

 

All that said, we continue to explore ways to let users acquire the data they need in a format that they can easily process. If you have any questions, suggestions, or use-cases, we'd love to hear them!

Jarrod S.
National Instruments
Message 2 of 8
(4,087 Views)

Sounds about like what I expected, thank you!

0 Kudos
Message 3 of 8
(4,073 Views)

Is it possible to implement a data rate of 600 instead of those listed? 

0 Kudos
Message 4 of 8
(3,165 Views)

Hi Kase,

 

Yes, you can change the values for the different rate levels by either clicking the "Configure data rates" button in the toolbar, or the "Configure..." option in the rate dropdown (see items highlighted in red in the screenshot).  A dialog will pop up allowing you to change Slow, Medium, Fast, Digital, and Counter rates for the project.

 

In the future, feel free to create a new post with your question to ensure that it gets the appropriate attention.  This post is an old one that was already marked as Solved, so I just want to make sure you get the best support possible!

 

Devin

 

Devin_K_0-1621625344701.png

Devin_K_1-1621625412352.png

 

 

Message 5 of 8
(3,154 Views)

Thank you for the response but, this still doesn’t answer my question. I understand that there are three settings but none of which allows me to change the value to 600 sec. Even when I go into the configure process, I cant input the 600 sec as needed. This 600 value number is needed to indicate 10 minute intervals that I currently use for temperature data collection.

 

Thank you

0 Kudos
Message 6 of 8
(3,129 Views)

Hi Kase,

 

My apologies, I didn't see any units in your question and assumed you wanted 600 Hz, not 600 seconds.  FlexLogger is currently limited to a minimum sample rate of 0.005 Hz / 200 seconds / 3.333 minutes, so you won't be able to get all the way down to one sample every 10 minutes.

 

This is definitely something we would be interested in exploring further though.  For your use-case, would you want to see updates in the product at a faster speed (ex. the channel specification live value column or screen controls update maybe once a second, or once every 10 seconds) but have the values logged to disk at the slower rate of once every 10 minutes?  Or would you want the in-product updates to also only happen every 10 minutes?

 

Thanks,

Devin

0 Kudos
Message 7 of 8
(3,119 Views)

Hi Devin,

 

if we cannot decrease the minimum sample rate from 0.005 Hz to values that corresponds to 15,30 or better 60 minutes , is there a way to aggregate them after (with NI software such TDSM viewer or something else I may not know) before exporting to csv?

So far the only way to do it is to obtain the raw csv and then start applying formulas to obtain arithmetic means and hence the desired sample 30-60min interval.

 

Thanks 

 

0 Kudos
Message 8 of 8
(2,463 Views)