Remember to set XDelta to the desired sample period. Make sure that the parameter names and data types are correct. Now you can use MATLAB to make edits and modifications to the signal recording parameters and data.all other recording parameters are ignored.Ģ) The recording signal parameters are shown in the MATLAB Workspace window.
#Matlab .res file arbin download#
When "XDomain" is included, it must have a value of 2.ġ) This Table contains only the parameters necessary for source download and playback. When InputZoom is included, it must have a value of 1. The sample rate is the reciprocal of XDelta and must be within the maximum arb sample rate of the Vector Signal Generator. Necessary Recording Parameter Information Make sure to correctly specify the parameter settings. All other parameters are not used and ignored for source signal playback. The signal recording parameters listed in the following table are the only "necessary" parameters that are included in the source download information. Specify the necessary recording download and playback parameters. Type > load 'c:\MyRecordingFolder\MyRecording.mat in the Command Window Select and right click the recording.mat file in the MATLAB Current Folder window.Load the MATLAB recording into MATLAB Development Environment, the MATLAB Workspace window will show the pertinent signal recording information.specify the " Save header with data" Save Option.Then re-save the recording "Save Recording" as a ".mat" formatted file that includes the measurement header information:.Recall an existing source playback compatible ("zoom" time data) VSA signal recording:.You can create a source playback compatible MATLAB "*.mat" formatted signal file from any existing VSA "zoom" complex measurement signal recording using one of the following file formats ".sdf", ".csv", ".bin", ".txt", or ".dat" file formats. Convert existing VSA recording to a MATLAB compatible file format.To do this, you load the existing complex signal recording into the VSA and re-save as a recording using the ".mat" file format. To use an existing non-MATLAB signal recording in MATLAB, you use the VSA "Save Recording" feature to convert the non-MATLAB compatible file format to a compatible MATLAB ".mat" file format. Creating a MATLAB ".mat" signal recording In MATLAB you do any of the following signal edits limit analysis data by modifying the recording to only contain the data of interest, make a composite signal, process the signal with your own algorithms, or increase the recording by adding new user-created data.įor many types of signal recording edits, it is simpler to use the VSA recording and measurement settings to modify a signal recording. You can use the MATLAB Developers Environment to edit and modify existing VSA non-MATLAB compatible signal recordings, such as, ".sdf", ".csv", ".bin", ".txt", or ".dat" file formatted recordings. You can Recall the signal file and use the Source menu to download and playback the signal through a Source, see Using Source Playback.Įditing non-MATLAB signal recordings in MATLAB The signal recording is now ready for source playback. Downloading the signal for source Playback.By default, the signal file will be saved to the MATLAB Current Folder location.centerFreq: the signal center frequency.sampleFreq the signal sample frequency.data the variable containing the signal complex time data.fileName the signal recording file name.You will need to supply the following variable information. savevsarecording(fileName, data, sampleFreq, centerFreq).To view the savevsarecording() function help, type "help savevsarecording". Execute the savevsarecording.m script function:.The signal data must be complex (I+jQ) baseband time data. Create a variable containing the complex signal data.Create a MATLAB simulated source playback recorded signal file. To access the savevsarecording.m function help, from the MATLAB command prompt >, type help savevsarecording.ī. The savevsarecording.m file will now show in the MATLAB Current Folder window. To integrate the VSA MATLAB Tool into the MATLAB Developers Environment, copy the savevsarecording.m file into your MATLAB current folder location. Integrate the VSA MATLAB Tool with the MATLAB Developers Environment.
#Matlab .res file arbin software#
%PROGRAMFILES%\Keysight\89600 Software \89600 VSA Software\Help\Signals The MATLAB tool adds the necessary header information to the signal complex time data and saves as a compatible VSA source playback signal recording file " filename.mat". The VSA software includes a MATLAB Tool "MATLAB script function savevsarecording.m" that will be used within the MATLAB Developers Environment to help create VSA compatible signal source playback recording. This procedure makes the assumption that you are familiar with using the MATLAB Developers Environment.