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.
09-13-2005 12:50 PM
09-13-2005 01:28 PM
09-13-2005 02:54 PM
09-13-2005 03:01 PM - edited 09-13-2005 03:01 PM
(With every call, you are currently initializeing all shift registers with the same value and thus you only get current the input value back at each call)
Message Edited by altenbach on 09-13-2005 01:11 PM
09-13-2005 03:32 PM
Altenbach
Sorry for the confusion.
In the test system I am working on I have a stable wave that drifts very little. Running in the continuous mode I need to measure the time from the start until I have a zero crossing on a wave. I would like to increase the accuracy of the time measurement over what is available on the board.
The wave looks like a sine wave that a small amount of noise The location of the peak remains in the same position in time but just moves up and down. I thought I could "pick off" the data points on each side of the rough crossing. Next, I would curve fit a line through a group of them to produce an equation of the line y=m*x+b to find zero crossing to a greater accuracy than the card could support.
RTucker.
09-13-2005 03:42 PM
Altenbach
I will remove all the wires leading to the shift register on the left side of
the for loop. I couldn’t figure why it
wasn’t retaining the history.
I also will set the loop count to 1 so that it retains information and does not keep removing it.
How do I make the VI reentrant? So I do not mix different data threads.
I appreciate your help.
RTucker.