Begin with High Speed Measurement
This commit is contained in:
@@ -237,7 +237,7 @@ classdef AwgKeysight
|
||||
obj.writeNcheck(v,sprintf(':FREQuency:RASTer %.15g;', obj.fdac));
|
||||
|
||||
case awg_model.M8199B
|
||||
obj.writeNcheck(v,':ABORt ''M2'''); %war auf M2, das wird wohl der CH sein oder?
|
||||
obj.writeNcheck(v,':ABORt ''M2''');
|
||||
obj.writeNcheck(v,sprintf(':FREQ ''M1.ClkGen'', %.15g;', obj.fdac));
|
||||
|
||||
end
|
||||
@@ -301,6 +301,14 @@ classdef AwgKeysight
|
||||
|
||||
|
||||
end
|
||||
|
||||
else
|
||||
% If no signal defined, turn off channel
|
||||
switch obj.model
|
||||
case awg_model.M8199B
|
||||
obj.writeNcheck(v, sprintf(':OUTP ''M2.DataOut%d'', OFF',chan));
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
end
|
||||
@@ -313,8 +321,8 @@ classdef AwgKeysight
|
||||
|
||||
case awg_model.M8199B
|
||||
|
||||
% SET Ref clock out (which is conn. to scope) to 100 MHz
|
||||
obj.writeNcheck(v, ':OUTPut:FREQuency ''M1.RefClkOut'',100000000');
|
||||
% SET Ref clock out (which is conn. to scope) to 10 MHz
|
||||
obj.writeNcheck(v, ':OUTPut:FREQuency ''M1.RefClkOut'',10000000');
|
||||
|
||||
% :OUTP:GLOB 'M1.System', OFF
|
||||
obj.writeNcheck(v, ':OUTP:GLOB ''M1.System'', ON');
|
||||
|
||||
Reference in New Issue
Block a user