LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Processing data in labview

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. 

0 Kudos
Message 11 of 16
(221 Views)

@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?

0 Kudos
Message 12 of 16
(202 Views)

I do not have any VI's because signal comes from scope, ill try to make one and upload here, thanks a lot

0 Kudos
Message 13 of 16
(197 Views)

@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?

0 Kudos
Message 14 of 16
(190 Views)

The signals are current and motor speed (as square wave)

0 Kudos
Message 15 of 16
(149 Views)

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.

0 Kudos
Message 16 of 16
(134 Views)