LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get right time values on X-axis in a cluster?

Hello!
I have the following problem.
I acquire data from a sensor with a 5000Hz sampling rate. I save the data in a binary file. I use a separate vi to read the data and display it in waveform graphs where I select the interval that interests me. I apply statistics advanced vi and FFT advanced vi (From labview 7.1) to this data. I take the selected interval and supply it to a "selected subset" case from a 'bundle by name' and then to a cluster which contains graphs for selected data and FFT. Unfortunately the time in the chart for the selected interval is not the right time - it is actually the time multiplied with the sampling rate. In other words it appears that I am supplying only the array of data to the graph in the cluster and there is no timing information (t0 and dt). I tried different options but I could not find a reliable way to get the right time values in the charts from the cluster.
What could be the solution? Any ideas? I would appreciate if you could include simple example.

Thank you.
0 Kudos
Message 1 of 3
(2,175 Views)
Can you post your code?
Randall Pursley
0 Kudos
Message 2 of 3
(2,158 Views)
Problem solved.

Thank you.
0 Kudos
Message 3 of 3
(2,154 Views)