Getting Raw Data Value From Measurement in FlexLogger

Updated Sep 21, 2022

Reported In

Software

  • FlexLogger

Issue Details

When we get the CSV file from FlexLogger we only get the calculated measure (pressure, force, etc). Is it possible to also get a column with the raw voltage data of the measure?
How can I use the voltage signal before scaling that I'm getting from one of my modules as an output for other module?

Solution

Raw values are not logged to a data file, they are meant for validation of the sensor configuration. You can work around this by creating a calculated channel to undo the scaling applied to the calculated measure.

For example:
If you are using a linear scaled force value in Newton and your sensor configuration requires having a slope of 2 N/V and an offset of 5 N.
  1. Create calculated channel following the instructions of: Configuring Arithmetic Formula-Based Calculated Channels - FlexLogger Product Documentation.
  2. Considering Scaling Electrical Values to Physical Values - FlexLogger Product Documentation, define your formula to reverse the scaling. In our example this would be: (ChannelValue - 5)/2.
  3. The new calculated channel will display the raw value for the channel you used in your formula.
  4. You may log this channel information and use it as an output for your modules if needed (this requires FlexLogger 2021 R2 or a later version).
FlexLoggerCalculatingRawValue.png

Additional Information

Raw value in FlexLogger shows the electrical value being measured from the sensor.
Live value shows the sensor value with any scaling configuration applied.