LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Sampling

Hello !

I changed a VI i got from the example finder
and I changed also the value of the sampling period.
Still, the VI doesn't react to that and measures
with the 250 ms period that was given at the
beginning. Here the VI attached,

thanks,

Frederico
0 Kudos
Message 1 of 2
(2,430 Views)

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

0 Kudos
Message 2 of 2
(2,416 Views)