Hi all, I'm writing Matlab code to control an ADAU1772 through sigmastudio server. I can do register reads, but writes aren't working. Here's the Matlab code for a write:
SS = actxserver('Analog.SigmaStudioServer.SigmaStudioServer');
ss_server = SS.invoke('ISigmaStudioServer');
b=ss_server.REGISTER_READ_ARRAY('IC 1',224,4); %This works!
ss_server.REGISTER_WRITE_ARRAY('IC 1', 224, 4, b) %But this doesn't!!
The write generates this error:
Error using Interface.2942E58A_4461_410E_87B3_64152C81935F/REGISTER_WRITE_ARRAY
Error: The parameter is incorrect.
Does anyone have any idea why the write doesn't work? I thought maybe I couldn't write the the active bank, but that doesn't seem to be the problem.