07-11-2016 09:12 AM
hey guys,
Im trying to create a graphical representation of temperature over time, currently using a waveform chart. I want the user to be able to select the interval that the temperature reading takes place and the level that qualifies as an event worthy of note. I've got the level and the random data graphing on the same graph, which is a start, now I'm trying to get the interval between readings to reflect in the x axis.
From what I see the waveform chart always incriments by one every reading, this works fine if the measurment interval is one second but if the user selects 2 seconds I'd like the next value on the x axis to incriment by two.
I found something that has a Y value and a dt value (build waveform), I'm pretty sure im using it wrong by sending a single value at a time. is there a way to do what I'm looking to do?
Ill post a screen shot of what I have, thanks for any help
Solved! Go to Solution.
07-11-2016 09:15 AM
Instead of setting the dt for the waveform, set the T0 which wants a timestamp. The chart will use the time you give for the T0 for the x-axis.
07-11-2016 09:28 AM
Like set the T0 once with a fixed time? or put the current time stamp in T0 every time?
If the first can I just use some timestamp in the past? or does it need to be the actual start time of the test? this would ideally be a test that is started once and not stopped very often if ever.
07-11-2016 09:33 AM - edited 07-11-2016 09:34 AM
Use the time that the sample was taken as the "t0" of the update. The Chart will take the "t)" as the leteral time of the sample and will post the udpate using the "T0" on the X-Axis
Ben
07-11-2016 09:39 AM
A waveform chart is not the best choice for requirements like this. A waveform chart maintains a history of data. That easily messes up when using timestamps and dt other than 1.
It sounds like you want to use a XY graph and maintain your customized "history".
Norbert
07-11-2016 09:39 AM
@Ben wrote:SpoilerWhere is a link to the Nugget you wrote on Waveform Charts Tim? You really have to market your Nuggets better (smiley-wink)
I was getting to it. I have other things distracting me at the moment. But here is the nugget I wrote: Sporatic Waveform Chart
07-11-2016 09:59 AM
ohh that link what exactly what I needed, thanks guys
07-11-2016 03:03 PM
@Norbert_B wrote:A waveform chart is not the best choice for requirements like this. A waveform chart maintains a history of data. That easily messes up when using timestamps and dt other than 1.
It sounds like you want to use a XY graph and maintain your customized "history".
Norbert
See Tim's Nugget.
I have been using the WF Chart since lv 6i
and as long as you follow the rules it works just fine.
Ben