diff --git a/OOequipment/Channel.m b/OOequipment/Channel.m index 0d7faf7..9f166ad 100644 --- a/OOequipment/Channel.m +++ b/OOequipment/Channel.m @@ -126,7 +126,7 @@ classdef Channel c = ch.scope.write(['CHAN',num2str(ch.channelnumber),':',string]); end else - c = ['CHAN',num2str(ch.channelnumber),':',string,' ',in]; + c = ch.scope.write(['CHAN',num2str(ch.channelnumber),':',string,' ',in]); end end