Error using invoke with instrument driver

3 Ansichten (letzte 30 Tage)
Uladzislau
Uladzislau am 10 Mär. 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!

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by