10-23-2006 10:10 AM
Can someone help me?
I'm trying to obtain, on the same graph, two axis with differentes show of the same time. on the first axis i want to show absolute time in format HH:MM:SS, and i'm able to do.
In the second axis i would like to see the elapsed time in seconds since the beginning of the graph. Like this
19:40:00 19:42:00 19:44:00
time
0 120 240
elapsed time (sec)
Obiusvly elapsed time needs to start always from 0, instead of first Time axis that must show recorded time.
I tried to subtract from the second axis start point the beginning of the first but i'm not obtaining what i need.
Thank You in advance for your help.
Ps. I include an example of a try without result.
Greetings
10-24-2006 03:35 AM
You can set offset and multiplier of different scales by means of property nodes.
RightClicK On Graph >>Create>>PropertyNode>>X Scale>>Offset And Multiplier.
You have to use the active scale property in order to select which one you are operating on.
I suggest you to dig the help about property nodes and always get your help context help windows on.
Property nodes are a real brand new world and you can easily get lost the first time you use them.
Kind Regards
10-24-2006 03:39 AM
ThankYou Filippo,
but, i tried to put every kind of value into the property node: simply i'm not abele to obtain that the second axis start from zero and show elapsed time in seconds.
Have i to set start or min? i tried to set them both without a result
Bye
10-24-2006 04:06 AM
I hope this little change to your code may help you.
Otherwise I misunderstood your needs, I'm sorry.
Feel free to ask if you need further help
Kind Regards
P.S.
Use -3,24231E+9 as offset
10-25-2006 07:18 AM
Dear Filippo,
i have already tried to take data&time from the other axes and multiply it by -1 to obtain the right offset, but, i don't know why, this thing seems to work only the first time: when i try to other data into the graph, calculating offset again, it never starts from zero, it has an offset of 413465 (passed for example from 13:54 3/10/2006 to 19:03 28/9/2006). Why? How can i compensate this move? How did you calculated -3.xxxe-9?
Thankyou
10-25-2006 09:01 AM
Dear Filippo & friends,
i don't know why but just switching the reference axis on plot properties everithing seems to work well.
Thankyou
10-26-2006 11:06 AM
I'm glad you solved your problem.
You know LabView is extremely powerful but you may get lost the first time you navigate in the wilderness of all those options.
As you have directly experienced the best way to learn is to try and try again.
Kind Regards
Filippo