LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Configuring Simulation Time

Thanks. Initially i used time delay inside the while loop, set it to 0.01 i.e is like setting the sampling period of 15minutes (0.01041667day). The final time of the simulation 60x60x24x14days(1209600s) but this lead to no synchronization between the while loop and simulation loop, therefore i have changed to 0.0104167 so that immeadiately the sample is read the simulation loop will also read it. But ideally the final simulation time is 14days (1209600secs), this is my major problem configuring this time so that each sample data is read at interval of 15minutes (900secs), from t=0 to the last t=13.98958days. Thanks once more

0 Kudos
Message 11 of 15
(393 Views)

Have you tried putting your final time at 900 seconds instead? Can you adjust your data to serve this? It seems this rounding could be the source of the inaccuracy.

Ravi A.
National Instruments | Applications Engineer
0 Kudos
Message 12 of 15
(388 Views)

Thanks so much. I tried 900secs but it was giving me NaN as the output. This timing issue is my problem.

0 Kudos
Message 13 of 15
(383 Views)

Is it at all possible to get your data formatted in a different way? Where is it from? What format options did you have for it?

Ravi A.
National Instruments | Applications Engineer
0 Kudos
Message 14 of 15
(375 Views)

Yes you can format it, provided the values are not tempered and the required results will be obtained. Thanks

0 Kudos
Message 15 of 15
(372 Views)