06-06-2024 06:04 AM
i want to implement two types of data sets: one is the lock in output voltage and the position of the delay stage with wait time, i want to synchronize these two data sets, can any one help me how to start this as i am very new to this soft ware, learning it as a intern student. i have created two codes, one is for delay stage and another is for lock in amplifier output voltage measurement. we have both this set ups in our lab.
06-06-2024 08:18 AM - edited 06-06-2024 08:48 AM
@Lily3000 wrote:
i would check if the rise time of second signal -+10% of the rise time of the first signal. How I can do this is Labview? so far, i mostly did data acquisition in labview and data processing in python
So how did you do it in Python? You should be able to port the algorithm 1:1.
So you have two signal recordings, both with the same start time (because the fist points overlap) and both show a dominant frequency that is the same. So you are apparently looking at a phase difference and a ±10% would be about ±36 degrees, and there are many ways to get that. Once you attach a VI containing some typical data, we can try a few things.. Since the signal is periodic, there will be many more solutions 360 degrees apart.
Do you know the main frequency exactly?
06-06-2024 08:21 AM
I do not have any VI's because signal comes from scope, ill try to make one and upload here, thanks a lot
06-06-2024 08:49 AM - edited 06-06-2024 08:50 AM
@Lily3000 wrote:
I do not have any VI's because signal comes from scope, ill try to make one and upload here, thanks a lot
We need both signals. but you could attach the as a tab delimited text file, for example. What do the signals represent? Again, do you know the dominant frequency exactly?
06-21-2024 03:35 AM
The signals are current and motor speed (as square wave)
06-21-2024 06:58 AM
I suppose you can just measure the frequency and phase of both signals and compare them. If both are within your 10% tolerence, you can output True. Try the "Extract Tone" vi.