LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scale time

Hi, i want to modify the settings of time, I'm simulating a signal and storing the value and time of adquisition, for purpose of time, I want the time to be 1 ms of Labview = 1 second "real" , I'm using a Get time in secods then convernting to double float (time in seconds since 1904) shift register and adding 600, but it appears to not change.

 

Any suggestion?

 

Thnaks in advance

0 Kudos
Message 1 of 5
(2,573 Views)

Durring initialize call get system time(Base Time) and get ms timer tick(Base Tick).  In your simulation loop get ms timer tick subtract the "base Tick" and multiply by 1000 (Relative scaled elapsed time) add to Base Time for current date time simulated.


"Should be" isn't "Is" -Jay
0 Kudos
Message 2 of 5
(2,569 Views)

Sorry I don't understood your explanation, can you give me a little example.

 

Thanks

0 Kudos
Message 3 of 5
(2,564 Views)

fasttime.png

 


"Should be" isn't "Is" -Jay
Message 4 of 5
(2,555 Views)

Thank you, I really appreciate your help.

0 Kudos
Message 5 of 5
(2,548 Views)