|
- classdef Oscilloscope < Equipment
- %OSCILLOSCOPE Summary of this class goes here
- % Detailed explanation goes here
-
- properties
- nchannels
- horizontalPosition
- ch1
- ch2
- ch3
- ch4
- end
-
- methods
- function obj = Oscilloscope(ipAddress,port,nchannels)
- %OSCILLOSCOPE Construct an instance of this class
- % Detailed explanation goes here
- obj@Equipment(ipAddress,port,-1);
- for i = 1:nchannels
- obj.(['ch',num2str(i)]) = Channel(obj,i);
- end
- end
- % CHAN:DATA:POIN DEF
- % CHAN:DATA:POIN?;:CHAN2:DATA:POIN?
- % Returned values: 10416;10416
- % CHAN:DATA:POIN DMAX
- % CHAN:DATA:POIN?;:CHAN2:DATA:POIN?
- % Returned values: 124992;124992
- % CHAN:DATA:POIN MAX
- % CHAN:DATA:POIN?;:CHAN2:DATA:
- end
- end
-
-
-
-
|