To load a saved binary waveform (*.trc-file) into ArbStudio you first have to know the memory length and sample rate of the waveform has been captured. If you don’t know these details you have two possibilities to find this out.

The first possibility is to use the LeCroy Software WaveStudio. WaveStudio is a free software from LeCroy capable to loading binary waveforms. You can download the software from the LeCroy homepage: http://www.lecroy.com/support/softwaredownload/wavestudio.aspx

Once you loaded the binary file into WaveStudio you can display the properties of the trace showing the Time/Div and the number of Data Points the signal has been captured. With these information you can calculate the sample rate.

$$Sample Rate = {Memory Length\over{10*Time/Div}}$$

In the following example the sample rate calculates as:

$$Sample Rate = {5MS\over{10*500μs}} = 1GS/s$$

The second possibility is to load the trace back into a memory of the oscilloscope. To find the number of Data Points you can make a parameter measurement “NumPoints” and calculate then together with the Time/Div value in the channel annotation box the sample rate.

- The Sample Rate is less or equal to 250MS/s and the number of Data Points is less or equal to 2MS
**→** The signal can be directly loaded into ArbStudio - The Sample Rate is less or equal to 250MS/s but the number of Data Points exceeds 2MS
**→** The number of Data Points needs to be reduced to max. 2MS - The Sample Rate is higher than 250MS/s and the number of Data Points is less or equal to 2MS
**→** The Sample Rate needs to be reduced to max. 250MS/s - The Sample Rate is higher than 250MS/s and the number of Data Points exceeds 2MS
**→** The Sample Rate and number of Data Points have to be reduced to max. 250MS/s and 2MS

Having now these information of the waveform there are four different possibilities which parameters have to be modified to be able to load a captured waveform into ArbStudio.

When Sample Rate and Memory Length fit the ArbStudio limits (case number 1.) there is no need to modify the signal. You only have to set the Sample Rate (Figure 3) and the number of Data Points which should be imported from the binary file (Figure 4).

The other three cases need to either reduce Sample Rate or number of Data Points of the binary file. This can be done with a WaveRunner Xi-A or Zi Family LeCroy oscilloscope using the math function “Sparse”. For not losing too much signal information by down sampling the signal with sparsing the factor should be calculated to the minimum suitable value

For case 2 you need to reduce the number of Data Points of the signal. If we have for example a signal captured at a Sample Rate of 200MS/s but with 10M Data Points the needed Sparsing factor calculates as:

$$Sparsing Factor = {Memory Length\over{max. Memory Length ArbStudio}} = {10MS\over{2MS}} = 5$$

Load the binary file into a memory of an oscilloscope and define a math function “Sparse” using the memory as input and set the calculated sparsing factor. Now you can save the math trace as new binary file which can be loaded into ArbStudio.

Prior to loading the signal into ArbStudio you have to calculate the new Sample Rate because Sparsing reduces the Sample Rate. To have the signal replayed by ArbStudio with the correct signal frequency we need to change this setting in the ArbStudio software like described in Figure 3.

The Sample Rate calculates in this example as:

$$Sparsing Factor = {Sample Rate\over{max. Sample Rate ArbStudio}} = {5GS/s\over{250MS/s}} = 20$$

Looking at case 3 it is necessary to reduce the Sample Rate. In this example we captured a signal with 1M Data Points but at a Sample Rate of 5GS/s.

Now you have to load the file into a memory of the oscilloscope, sparse the waveform and save the resulting waveform into a new binary file like described for case 2.

For loading this new file into ArbStudio you have to either measure or calculate the resulting number of Data Points. When measuring you can use the parameter “NumPoints” like in Figure 5 or use the following equation:

$$Data Points = {original Memory Length\over{Sparsing Factor}} = {1MS\over20} = 50kS$$

For Case 4 you have to follow the instructions as described for cases 2 and 3. First change this parameter (Sample Rate or Memory Length) which will probably need the highest sparsing factor to meet the maximum limits of ArbStudio. After you calculated the first parameter check if the other parameter will fit as well using the same sparsing factor.