07-03-2014 05:26 AM
How to implement the function ( integration function)" integral(Yn)= Yn-1 + Yn * dt " Please suggest the vi and procedure to build this function
07-03-2014 05:48 AM
07-03-2014 05:51 AM
hi...
How do you get a sample time dt???
07-03-2014 05:54 AM
07-03-2014 05:57 AM
Hi,
Can you tell me how to calculate delay by subtracting time stamps and how to use sample rate of DAQ.
Thanks in advance
07-03-2014 06:00 AM
Hi Vika,
when you set a samplerate to your DAQ task you already know dt as dt= 1/samplerate.
To calc dt based on timestamps is quite easy:
This is all very basic LabVIEW stuff so I recommend to go through all those free online courses offered by NI and to study all the relevant example VIs coming with LabVIEW!
07-03-2014 06:12 AM
hii
I have implemented the same way as you told. But I am getting Zero as answer everytime . Even Current time is zero and time since 1st jan 1904 is zero
07-03-2014 06:13 AM - edited 07-03-2014 06:14 AM
07-03-2014 06:21 AM
hii,
It was a silly mistake. I got it. Thank you soo much