Creating and Managing User-Defined Waveforms

Use the User Waveform File Manager to create and manage groups of user-defined waveforms that are loaded into memory for use during generation.

The User Waveform File Manager opens when you click User Waveform File Manager.
Note When the User Waveform File Manager initially launches, it creates an example waveform binary file in the following location: C:\Users\Public\Documents\National Instruments\NI MEG\User Waveform Files\example_cw_binary_waveform_file _freq5000.000000_samp1250000.bin.

The MEG command for playback of user-defined waveforms references the memory based on the group and index specified in the waveform configuration files.

The main panel shows the list of waveform groups with associated metadata for the user-defined waveform file(s).

Figure 31. User Waveform File Manager


Waveforms are provided in a binary file as an array of U32 samples (big-endian format). A single I/Q sample must be represented with 32 bits:

  • Q: Bits 31 through 16
  • I: Bits 15 through 0
  1. Select a waveform binary file to associate with the user-defined waveform in the User Waveform File Directory field.
    Note The default folder location for the user provided User Defined Waveform Files and location for the generated User Defined Waveform Group Files are configured through the Tools Options on the MEG Application.
  2. Click Add Waveform to add the selected file to the waveform group. In the Add Waveform window that opens, specify a group, name, index, and sample rate.
    Note The only supported sample rate is 2.5 GS/s. The sample rate is the rate of the provided waveform binary file.
    Note Within a waveform group, each waveform must have a unique index.

    Remove a waveform from a group by right-clicking a row and selecting Delete the Selected Item or Delete All Waveforms.

    Preview a waveform by right-clicking a row and selecting Visualize Selected Waveform.

    Click Cancel to cancel.