For realization, we need to have on the block diagram these APIs: "niScope Fetch Cluster" (with sub-point "Complex WDT (Waveform Data Type)" or "WDT (Waveform Data Type)") or "niScope Read" (with sub-point "WDT") and these functions "Unbundle By Name Function" and "Get Waveform Components (Analog Waveform) Function". 1. Adding SCOPE API: Measurement - NI SCOPE - Acquisition - Fetch.vi or Read.vi 2. Add Unbundle By Name Function and connect to the Fetch or Read by using "wfm info" out. Then select from the Bundle "relativeInitialX" *. 3. Add Get Waveform Components (Analog Waveform) function and connect to the Fetch or Read by using "wfm" out. Then select from this "to" **. 4. t0 will show waveform timestamp: 5. For trigger timestamp need to subtract "relativeInitialX" from "to": * relativeInitialX is the time in seconds from the trigger to the first sample in the acquired waveform. ** t0 returns the trigger time of the waveform.
Collaborate with other users in our discussion forums
A valid service agreement or active software subscription may be required, and support options vary by country.
Helpful
Not Helpful