Data

SCPI Command :

CALCulate<n>:SPECtrogram:TSTamp:DATA
class DataCls[source]

Data commands group definition. 1 total commands, 0 Subgroups, 1 group commands

class GetStruct[source]

Response structure. Fields:

  • Seconds: float: Number of seconds that have passed since 01.01.1970 until the frame start

  • Nanoseconds: float: Number of nanoseconds that have passed in addition to the Seconds since 01.01.1970 until the frame start.

  • Reserved: float: The third value is reserved for future uses.

  • Reserved_B: float: The third value is reserved for future uses.

get(frames: RsFsw.enums.SelectionRangeB, window=Window.Default) GetStruct[source]
# SCPI: CALCulate<n>:SPECtrogram:TSTamp:DATA
value: GetStruct = driver.calculate.spectrogram.tstamp.data.get(frames = enums.SelectionRangeB.ALL, window = repcap.Window.Default)

Queries the starting time of the frames. The return values consist of four values for each frame. If the ‘Spectrogram’ is empty, the command returns ‘0,0,0,0’. The times are given as delta values, which simplifies evaluating relative results; however, you can also calculate the absolute date and time as displayed on the screen. The frame results themselves are returned with TRAC:DATA? SGR See method RsFsw.Trace.Data.get_.

param frames

CURRent Returns the starting time of the current frame. ALL Returns the starting time for all frames. The results are sorted in descending order, beginning with the current frame.

param window

optional repeated capability selector. Default value: Nr1 (settable in the interface ‘Calculate’)

return

structure: for return value, see the help for GetStruct structure arguments.