How to Cut Out Beginning Data in DIAdem

Updated May 12, 2023

Environment

Software

  • DIAdem 2015 Base
  • FlexLogger

I have a long amount of time between when my data file starts and when I actually begin my test. How can I cut out or remove the beginning data and show data from when my test actually starts?

Load numeric channels from the NAVIGATOR to the Data Portal (Time, Noise_1, Noise_2, etc.).


Removing Data Points 
  1. Load numeric channels from the Data Portal to a VIEW 2D Axis System. Make sure to select the channel you want for the X-axis first, then any Y channels. 
  2. Select the Band Cursor, click and drag on your 2D axis system to set the Band Cursors values. 
  1. Position the Band Cursor over the section of data you want to remove.
  1. Hold Shift on your keyboard, and select Set Flags. This will select the data points in the Band Cursor for all plots. 
  1. Select Flags: Remove Data Points to delete the selected section of data.


We have replaced the beginning data points with NoValues. The data is still indexed to include the initial data points, even though there are no numeric values. We next need to get rid of the NoValues points to 0-index the data. 


Shifting Data to 0-index (Removing NoValues) 
  1. Select Analysis >> Channel Functions >> Process NoValues 
  2. Set X-Channel to the Time channel. 
  3. Set Y-Channels to be any data channels that we need to offset. Use Ctrl to select multiple channels. 
  4. Set NoValue Handling Mode to Delete.
  5. Check Store result in original channel if you want to overwrite the original channels. Leaving this unchecked will create new channels. 


We have moved the dataset to begin at the 0 index, but the time for the beginning of the test is 0.5005 seconds, not 0. We still need to have the Time channel start at 0 seconds.



Reset Time Offset to 0 seconds (Set 0-index time to 0) 
  1. Select Analysis >> Basic Mathematics >> Offset Correction 
  2. Set Channel to the Time channel 
  3. From the Data Portal, select the Time channel. 
  4. Under Base Properties, check the minimum value for Time and copy the value (in this case, 0.5019). 
  5. In the Offset Correction dialog box, set Offset to Add any offset and Value to the negative of the copied minimum time value (in this case, -0.5019). 
  6. Check Store result in original channel if you want to overwrite the original channels. Leaving this unchecked will create new channels.


You can now use the data in either VIEW or REPORT to show data based on a given start time. 



TDMS File Viewer
  1. In the VIEW panel, use the Band Zoom Button, select manually the data.
  2. Follow the steps above, Analysis won't be an option.
  3. Use the Report Panel 2D Axis System to have more control on the display.

Additional Information

Note: This procedure is primarily set up for offsetting time-based data with all data in numeric channels. Use the Numeric Channels <-> Waveform Channels function to get data from a Waveform to a Numeric channel. This will generate a Read-Only implicit numeric Time channel. Right-click the Time channel and click Expand Channel to make it an Explicit Channel.