# Interpolate or resample while exporting data

Select 'Batch Processing' from the Analysis window.

1. In the 'Export data' window, click the 'General' tab

* Enable 'Convert files.'
* Select the desired format for conversion, e.g., CSV
* Enable 'Convert each input file to separate output file.'

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FFxO3hD10yWDU2mCoR0jl%2Fimage.png?alt=media&#x26;token=7cb1540f-8c82-4c2f-8b66-94cc060f5a5a" alt="" width="563"><figcaption></figcaption></figure></div>

2. In the 'Input files' tab

* Click on the ‘Add file(s) for conversion’ icon
* Select the desired IVD file
* Click 'Open'

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FWLyduuwBTKoV6PxSPTf8%2Fimage.png?alt=media&#x26;token=4d0c01fc-db70-4b4d-915f-61b8b956cdd5" alt="" width="563"><figcaption></figcaption></figure></div>

3. In the Converting Files tab

* Enable 'Change each item sampling rate using.'
  * **Interpolation**: a mathematical method to calculate value at a specific time stamp, which lays on the line connecting previous and next samples.
  * **Resampling**: specifies using the last known value, i.e., the value of the channel does not change until the next sample occurs.
* Enable other check boxes as desired.
  * Used fix rate when processing samples at (time in msec)
    * Align the beginning of the file time range by creating additional samples from 0ms
    * Align the ending of the file time range by creating additional samples after the last ones.

Or

* Combine sampling rates from all items

***\*Resampling is a Licensed feature, get in touch with our*** [***technical support team***](https://www.influxtechnology.com/supportcontact) ***for more details**.*

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2Fm2Yq4txaZ609HPBrvTlt%2Fimage.png?alt=media&#x26;token=a665f353-ca6b-4990-9645-a53a617c9387" alt="" width="563"><figcaption></figcaption></figure></div>

Once done, click 'Process'.

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FOdKLTR5b8UasI5rEaHwk%2Fimage.png?alt=media&#x26;token=a68f4a25-923e-4fef-8b00-c6e20e4f2440" alt="" width="563"><figcaption></figcaption></figure></div>

Click 'Close' once the processing is complete.

<div align="left"><figure><img src="https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FJeA5T4susDwXyPY6XvJq%2Fimage.png?alt=media&#x26;token=5ecbe816-2b32-4f67-aecc-e32ae81ed19b" alt="" width="563"><figcaption></figcaption></figure></div>

Click 'OK' to proceed.

![](https://3979528544-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FFiflr3JdTVky5EaTMlxu%2Fuploads%2FRqQ1RT6YemjBzuXaa1TU%2Fimage.png?alt=media\&token=cb29f098-cda6-4390-a905-73bf9c8e22da)

The files have been converted and saved at the defined location.
