Begin with High Speed Measurement

This commit is contained in:
Silas Labor Zizou
2024-10-23 09:32:10 +02:00
parent d6beff670c
commit b7975a96e9
6 changed files with 317 additions and 11 deletions

View File

@@ -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');