|
|
|
@@ -118,15 +118,15 @@ classdef Channel |
|
|
|
end |
|
|
|
|
|
|
|
methods (Hidden, Access = private) |
|
|
|
function c = CHAN(ch,string) |
|
|
|
function c = CHAN(ch,string,in) |
|
|
|
if nargin == 2 |
|
|
|
if strcmp(string(end),'?') |
|
|
|
c = ch.scope.query(['CHAN',num2str(ch.channelnumber),':',string]); |
|
|
|
else |
|
|
|
c = ch.scope.write(['CHAN',num2str(ch.channelnumber),':',string]); |
|
|
|
ch.scope.write(['CHAN',num2str(ch.channelnumber),':',string]); |
|
|
|
end |
|
|
|
else |
|
|
|
c = ch.scope.write(['CHAN',num2str(ch.channelnumber),':',string,' ',in]); |
|
|
|
ch.scope.write(['CHAN',num2str(ch.channelnumber),':',string,' ',in]); |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|