C/C++, C#, Python, Matlab, LabVIEW
and when querying:
hor:reco? returns: 1250
hor:mode:sca? returns: 20.0000E-9.
hor:samplerate? returns: 6.2500E+9
No other Tek scopes I have interfaced have ever done this.
What settings do I need to enable/disable to allow me to do this?
- (21.49 KiB) Downloaded 213 times
- Tektronix Applications
- Posts: 24
- Joined: August 3rd, 2016, 10:21 am
- Country: United States
sampling rate = (record length)/(time scale)
record length = (time scale)*(sampling rate)
In this horizontal system, sampling rate is always the dominant term. That is, we assume that the sampling rate is set to the intended value when other settings are changed. When you send the :hor:mode:scale 2e-008 command, the total time scale is set to 200 ns (20e-009 s/division). At this point in the sequence, the sampling rate is 6.25 GS/s, so the record length becomes (200 ns)*(6.25 GS/s) = 1250.
The other important behavior is that the sampling rate can only be set to an integer divisor of the maximum sampling rate. The max sample rate on this scope is 6.25 GS/s, so it can only be set to 3.125, 1.25, etc. GS/s. Attempting to set another value will cause the scope to choose the closest settable value. This is true for all Tek scopes.
Who is online
Users browsing this forum: No registered users and 1 guest