Steve Goley

Posted on 05.05.2015 22:05

I'm trying to access some amplifier settings using the IOControl.  I tried following the example from the documentation that states the following:

To get the module name of the DEWE-43 amplifier, we must call IApp.AmplInterfaces.MainInterface.ChainList.Item[0].Item[0].IOControl with the IOCodeamplGetModuleName.: the result is 43-V.

However, I don't seem to be able to get the call for the IOControl correct.  I'm working in MATLAB.  I've tried numerous attempts at the call signature and if I do the following I at least get through the initial input checking:


This returns the error code of 0 to me but at least gets past the input parameter check. Basically any two inputs with the first being an integer gets me that far.

Can anyone provide me some guidance for how to call this properly so that I get more than just the error code back?

DEWESoft Support
Technical support
Posted on 04.06.2015 09:44


here is an example how to read the short info of first amplifier on the first channel:

% create DCOM object

h = actxserver('Dewesoft.App');

% open Dewesoft

fprintf('Initializing Dewesoft... ');


h.Enabled = true;

h.Visible = true;


h1 = h.AmplInterfaces.MainInterface.ChainList.Item(0);

Param = 0;

[ErrCode,Res] = h1.IOControl(2, Param)

Login to reply to this topic. If you don't have account yet, you can signup for free account .
This website uses cookies to ensure you get the best experience on our website. Learn more