From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
10-08-2013 12:33 PM
Hi,
I have simulated square wave signal from which I have to measure time period continuously..automatic time measurement for a single cycle....
For example, I have square wave and I need to measure time period and display it without assigning any external cursors...I need automatic measurement of it...
Solved! Go to Solution.
10-08-2013 01:03 PM
Have you looked into triggering? You might start with "Basic Level Trigger Detection.vi". If you know the threshold and desired slope, this will return the time where the threshold was crossed. Do it twice and subtract to get a delta-t for a square wave.
10-09-2013 12:19 AM
My VI is general Square wave, I just need to place cursors which reads the value of time period automatically.
10-09-2013 12:44 AM
Is this what you mean?
10-09-2013 02:08 AM
This is my VI...
I need to measure and display time period for one individual cycle.
10-09-2013 02:33 AM
I don't have LV13, can you post you .vi in LV12 ?
10-09-2013 03:16 AM
At present i dont have LV12 in my PC.
Can u please explain me how to find time period of single cycle of 1D array of data.
10-09-2013 03:44 AM
Well, you need to compare previous values to current value and detect if it passes a threshold (which you decide).
There are functions for this, so if your data is "easy" changed into eg waveform, then do that instead of re-inventing peroid detect.
Without knowing your code, i can't be more specific...
you can save in earlier versions
10-09-2013 04:04 AM
Okay i will try for that..
this is converted VI.
10-09-2013 04:14 AM
is this what you want?
(i just added the period detect to your vi)