LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to get waveform graph to observe zero of reference trigger

This should be straightforward, but as with so many things LV, I just can't seem to find the solution.

 

I am using a waveform chart to display waveform data type acquired via DAQmx with a reference trigger.  I want to display the data relative to the reference trigger.  That is, I want the reference trigger to be at t=0, and I want the rest of the data to be displayed using the waveform attributes t0 and delta t.  I do not want to display absolute time.  In other words, I want it to display much like an oscilloscope does.

 

I can elect to "Ignore Time Stamp" on the chart, but then the data is always interpreted as the first sample being t=0.

 

I would like the solution to be in the Display Format of the chart properties, but I suspect that I will have to use the number of pre-trigger samples and do some additional programming.

 

Much thanks,

Matt

0 Kudos
Message 1 of 3
(2,357 Views)

Not easy to do as a waveform!

Convert to XY Pairs and subtract trigger time from X

Capture.PNG


"Should be" isn't "Is" -Jay
Message 2 of 3
(2,342 Views)
The graph still accepts the older style cluster of data. No need for a waveform data type or xy graph.
0 Kudos
Message 3 of 3
(2,329 Views)