So I'm reading data from a sensor and then show in a graph the data. This graph has two Y axes and share the same X axe. My grpah should show the time at that moment (see img1)
The problem I see is that the time in the graph is not the real time.
This is how I mange the graph (img2 and img3)
What can I do to fix this error?
Solved! Go to Solution.
Thanks to everyone for your help.
I tried with offset=0; Multiplier=1 and with/without Autoscale but it didn't work.
I thought about a different idea with the information you gave me and found a solution.
So first of all, everything I showed in the images above are inside a timed loop that is executed every 1 second.
The next image attached is outside the timed loop.
What I did is convert time stamp at the begining of the test to DBL, then I linked this to the offset value of the graph (property node). With this solution now each time I execute the .vi the grpah has the real time.
Again, thank you to everyone!!