Part Number: TSW14J56EVM
Hi I am using the tsw14j56EVM board along with the High speed data converter pro GUI.I am trying to come up with a way to generate my own data and place it into a CSV file within Matlab. I have tried multiple times but cant seem to generate any data which Give me any type of signal from the custom file. I have already tried using the predefined test files which I have managed to succesfully test. I will put some code I wrote in matlab below as well as a photo of the GUI when I load the file, If there is any help you can provide I would appreciate it very much, Thanks.
rng(0,'twister');
a = -30000;
b = 30000;
r = (b-a).*rand(153600,1) + a;
r=round(r,3,'decimals');
r=r*1000;
c = (b-a).*rand(153600,1) + a;
c=round(c,3,'decimals');
c=c*1000;
Idata=r;
Qdata=c;
iqdata=zeros(length(Idata),4);%generate two column variable with length of the data (32k)
iqdata(:,1)=Idata; %copy data into 1st column
iqdata(:,2)=Qdata; %copy data into 2nd column
iqdata(:,3)=Idata;
iqdata(:,4)=Qdata;
csvwrite('IQdata.csv',iqdata); %write into csv file