07-10-2006 09:23 AM
07-10-2006 10:05 AM
Hi Frederico
I have attached my modifications to your VI so that its close to what I think you want.
1. I replaced the pt104.vi with Digital Temperature.vi. Its a demo that just simulates temperature acquisition. Its possible that you will need to add the examples directory to your option for VI search path.
2. You are producing a sample every 125 ms inside your for loop so I dividing that figure by 1000 to get the dx in secs
3. I have taken reference time for x0 using the Get Date/Time in Seconds. This is easily converted to double but you could leave it as a timestamp data type if you like.
4. I changed the Temp Graph x-axis format to be Absolute Time. You can get to that through the graph properties. Its on the Format and Precision tab.
Does this help you?
cheers
David