Error using invoke with instrument driver

3 visualizzazioni (ultimi 30 giorni)
Uladzislau
Uladzislau il 10 Mar 2023
Hello! I try to grab measurements from the osciloscope. Connection with icdevice is succesefull, but when I try to enable channels in such way:
deviceObj = icdevice('Ag546XX.mdd', 'ASRL22::INSTR');
connect(deviceObj);
groupObj = get(deviceObj, 'Configurationchannel');
invoke(groupObj, 'Configurechannel', 'Channel1','Coupling',1,'ProbeAttenuation',1,'Enabled',true);
i get an error
Error using icgroup/invoke (line 93)
Parameter must be scalar.
I would be grateful for any help!

Risposte (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by