AnsweredAssumed Answered

SigmaStudio programming .NET

Question asked by marlejor on Jun 29, 2015

Hi
I just started in SigmaStudio and I'm programming with the script. So far I have written this:

// #LANGUAGE# C#
sigmastudio.ProjectNew();
sigmastudio.ObjectInsert( "USBi", 50, 150 );
sigmastudio.ObjectInsert( "ADAU1701", 500, 200 );
sigmastudio.ObjectConnect( "USB Interface", 0, "IC 1", 0 );
sigmastudio.ObjectInsert( "Input" );
sigmastudio.ObjectInsert( "FIR Filter", 200, -40 );
sigmastudio.ObjectInsert( "FIR Filter", 200, 90 );
sigmastudio.ObjectConnect( "Input1", 0, "FIR1", 0 );
sigmastudio.ObjectConnect( "Input1", 1, "FIR2", 0 );
sigmastudio.ObjectInsert( "Output", 400, -20 );
sigmastudio.ObjectInsert( "Output", 400, 130 );
sigmastudio.ObjectConnect( "FIR1", 0, "Output1", 0 );
sigmastudio.ObjectConnect( "FIR2", 0, "Output2", 0 );
ss.ObjectSetProperties("setControlValue","FIR1","Coefficients","[0,2,1,2,3,4,3,0
,0,0]");

ss.ObjectSetProperties("setControlValue","FIR2","Coefficients","[0,2,1,2,3,4,3,0
,0,0]");

sigmastudio.ProjectLinkCompileDownload();

But I have a problem, it's not changing the coefficients of the table of FIR1 and FIR2 filters.

Regards,

Jordi


Outcomes