AnsweredAssumed Answered

Parameters To setValueControl

Question asked by Christopher on Jul 12, 2013
Latest reply on Jul 15, 2013 by Christopher

    I have been trying to write a script in SigmaStudio to control the coefficients of a IIR Coefficient filter. For some reason, however, when I pass in the

what seem to be correct parameters for the "setControlValue" parameter in ss.ObjectSetProperties, nothing fails (I checked the instance of HResult)

but nothing changes. Could someone help me?


Here is the part of the script I am having trouble with:

HResult = ss.ObjectSetProperties( "TestCSharp", "setControlValue", "TestFilter", 0, 0,

                                                          "B2" /*I tried B0, b0, B1, A1, A2, ect. as well.*/, 5.0 /*Also tried 5, 1, 1.0, 5.0f, 1.0f 10000.0f, 1000, ect.*/ );


According to the documentation the parameters for "setControlValue" are: int: Index of Algorithm, int: Repeat Index (Grow Index), System.String: Control Value Name***, System.object: Value To Set

Any help is appreated!