How do I get the trigger time (timestamp) from my scope?
When a waveform is acquired on the DPO/DSA/MSO 5K 7K 70K Series oscilloscopes, the scope records a timestamp of when it was triggered to acquire that waveform. However, fetching the value of this timestamp is not always so obvious.
The timestamp from the last acquired waveform can be fetched from the instrument over the remote interface using the following command.
Where <wfm> is the name of the waveform source (i.e. CH1, REF1, etc.) and <NR1> is an integer value selecting the frame number.
Based on the format of the command it would seem that this command is only valid for waveforms acquired using the Fast Frame feature of the oscilloscope. However, this is not true. Internally a single waveform (Fast Frame off) is no more than the first frame of a Fast Frame set. For this reason, you can use this command to fetch the timestamp for the single waveform acquisition.
For example, if you would like to fetch the timestamp of the channel 1 waveform, you would send the command
And this would return a response similar to the following
"14 May 2018 15:36:44.255 204 573 571"
Note that the timestamp includes a Date, Time and Fractional seconds for when the scope was triggered.
This command can also be used to find the trigger timestamp within .wfm files. To do so, first load the .wfm file into one of the reference waveforms then use the name of the reference waveform as the <wfm> piece of the command. For example:
This FAQ Applies to:
Product: DPO5034B, DPO5054, DPO5054B, DPO5104, DPO5104B, DPO5204, DPO5204B, DPO70404, DPO70404B, DPO70404C, DPO7054, DPO7054C, DPO70604, DPO70604B, DPO70604C, DPO70804, DPO70804B, DPO70804C, DPO7104, DPO7104C, DPO71254, DPO71254B, DPO71254C, DPO71604, DPO71604B, DPO71604C, DPO72004, DPO72004B, DPO72004C, DPO72304DX, DPO72304SX, DPO72504D, DPO72504DX, DPO7254, DPO7254C, DPO73304D, DPO73304DX, DPO73304SX, DPO7354, DPO7354C, DPO75002SX, DPO77002SX, DPS73308SX, DPS75004SX, DPS77004SX, DSA70404, DSA70404B, DSA70404C, DSA70604, DSA70604B, DSA70604C, DSA70804, DSA70804B, DSA70804C, DSA71254, DSA71254B, DSA71254C, DSA71604, DSA71604B, DSA71604C, DSA72004, DSA72004B, DSA72004C, DSA72504D, DSA73304D, MSO5034, MSO5034B, MSO5054, MSO5054B, MSO5104, MSO5104B, MSO5204, MSO5204B, MSO70404, MSO70404C, MSO70604, MSO70604C, MSO70804, MSO70804C, MSO71254, MSO71254C, MSO71604, MSO71604C, MSO72004, MSO72004C, MSO72304DX, MSO72504DX, MSO73304DX, TDS5032, TDS5032B, TDS5034, TDS5034B, TDS5052, TDS5052B, TDS5054, TDS5054B, TDS5104, TDS5104B, TDS7054, TDS7104, TDS7154, TDS7154B, TDS7254, TDS7254B, TDS7304, TDS7404, TDS7404B, TDS7704B
FAQ ID : 471576View all FAQs »