LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Set a start time for a graph (waterfall)

I have a intensity graph a 2D array. I've manipulated the graph so that it is essentially behaving like a waterfall display. That is the frequency is on the X axis and the time is on the Y axis. I want to the Y axis to display the time from which the signal is being generated.

To elaborate this problem further I need to describe the the signal. The signal is a standard waveform signal. I have the the t0 (start time), and a dt (the change time), and the array of values. I process the array of values to generate the spectrogram (also known as the intensity graph)

I need to put t0 (start time) which is a time stamp into the Y axis of my inensity chart. How do I do that? I don't want the current system time, but the time that's from the signal.

This is what I have so far. The cluster of t0 and dt are from the actual signal. The property node I have showing is the of the intensity graoh. As you can see right now it's displaying the current time. It is suppose to display each signal's start time. As more signals comes in, the time should change of the axis. The graph is a waterfall meaning that start time would eventually drop off.

Thank you!




0 Kudos
Message 1 of 10
(4,017 Views)
I am a little confused as to what you are trying to do.  Are you trying to wire the t0 timestamp across and make that the Yscale.rangestart?  You can do a numeric conversion of the time stamp to DBL on the numeric conversion pallette.
 
If it's some other issue with the waterfall graph, perhaps someone else will be able to help.
0 Kudos
Message 2 of 10
(4,004 Views)
perhaps I'm making it more complicated than it's suppose to be. All I need to know is how to specify the start time for the y axis to start from a "time stamp" input and the increments in seconds.
0 Kudos
Message 3 of 10
(3,972 Views)

Try converting the timestamp to double, then wiring that into a property node of the graph for Yscale.Offset.

If that isn't it, I would recommend posting your VI.  Make sure you have run it, then select Edit, Make Current Values default so that real data is present in the graph, controls, and indicators.  Then save it and post it to the thread.

0 Kudos
Message 4 of 10
(3,966 Views)
that's it the whole problem, how do you convert a time to a double correct? You just can't connect it.
I solved the problem by subtract the time by 00:00:00. After subtracting it, it apparently converted it to a double. It's a stupid way to solve the problem, and there has got to be a better way.
0 Kudos
Message 5 of 10
(3,957 Views)
Look back at reply #2.  On the numeric pallette there is a conversion sub-pallette.  In there is a conversion to double.
 


Message Edited by Ravens Fan on 02-06-2008 10:19 AM
0 Kudos
Message 6 of 10
(3,954 Views)
ahh I feel retarded

TY
0 Kudos
Message 7 of 10
(3,947 Views)
well I thought that would do it, but it didn't. I converted the "time stamp" to a double and fed it to the start Yscale Reg as shown. The graph is treating the Y axis as the system time format. But the time is not being displayed correctly. If you look at my indicator which I used to convert the double back to a time stamp, it's showing the correct time. Help?



0 Kudos
Message 8 of 10
(3,936 Views)
Create a property node for Yscale, Offset and Multiplier, Offset.  so Yscale.Offset. Feed the double coming from the time stamp to that.
0 Kudos
Message 9 of 10
(3,929 Views)
Thanks! works nicely... however only the top tick mark and bottom tick mark exists. The middle tick marks disappeared. Is there a way for force all the tick marks to stay?
0 Kudos
Message 10 of 10
(3,926 Views)