01-19-2010 10:06 AM
Hi Everyone, I have this problem. For my waveform graph, I have already changed the display format to absolute time.
However the time doesn't tally with the one the below when I run the program. How do I go about doing it so that the time will show exactly
the same on the bottom right hand side. Time-Stamp??? Help will be greatly appreciated.
01-19-2010 10:10 AM
Posting an image of the front panel really does not do any good. The graph gets the timestamp information from your data or from writing to a property node. You did not post an image of the block diagram so can't say much except you did something wrong on the diagram. Look at the shipping examples or post the code/diagram.
01-20-2010 06:56 AM
You are right. I understand what you mean. I have posted the image of my block diagram. U guys will have a clearer picture and troubleshoot
what is wrong. Your help is greatly appreciated.
01-20-2010 09:41 AM
01-20-2010 10:12 AM
hi PSB Singapore,
Since you are from PSB, you may contact me at ian_fung at yahoo dot com. My office is around RedHill area...
01-20-2010 10:24 AM
What do you mean by dt information? I am keen to learn more.
I have searched a few examples and I want to see something like this. This one is a waveform chart.
01-20-2010 10:33 AM
Dt is delta time or the time between samples. That example is setting the t0 or start time. The only reason it works is that the Wait (ms) is set to one second which is the default dt. Anything else, would have to be wired to the XScale Multiplier property. Look at example called Real Time chart. And, as I mentioned, you can use a waveform data type. It's a cluster that contains t0, dt, and a y array. If you turn on context help (which you should always have on) and move your mouse over the graph on the diagram, the context help window will show you how a regular cluster can be used.
At this point, only you know the sample rate, etc of the data since you did not provide the code. No one but you even knows what hardware you are using. If you wrote it, it should be easy for you to modify the returned data.