LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

right time scale on my graph

Hi guys!
 
I´ve got a problem to get the right time on the x-axle. I´m reading data from my homemade device from the serial port. The data is converted through my A/D-converter (PIC18F452, 8 bits).  I would like the get the right time scale on the x-axel on my graph. For an example; If I would send a sinussignal from a waveformgenerator with a frequency of 100 Hz, I would like to get the right periodtime (10ms) automaticly, without manipulating the x-axel. Hope anyone can help my with this.
 
Thanks!
 
Fadde
0 Kudos
Message 1 of 2
(2,560 Views)
You can convert this data to a waveform which has a t0(initial time) dt (period of each point) and the array of Y values (A/D conversion) this can be plotted on a waveform chart with the x-axis time values embedded in the waveform or you can construct an xy graph where the two arrays ar the time values for each point and the V(t) Voltage at each time.  The second version is a little more difficult to implement but does allow for irregular time scale measurments.
 
Paul
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
0 Kudos
Message 2 of 2
(2,542 Views)