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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I synchronize two signals in Labview?

Solved!
Go to solution

The first signal is an index pulse that gives the position of a reference point of the wheel (signal=1 for 0° and signal=0 for 1-360°), and the second signal gives the total force that the wheel is experiencing. The two signals have different sampling rates. The first signal is always 360/rotation, but the second signal varies from cycle to cycle based on how fast the force is changing. The signals are in the form of two columns of numbers in an excel spreadsheet.

 

I would like Labview to output the angular position in degrees of the reference point at the time in the cycle when the wheel is experiencing the maximum force. Can anyone suggest a vi or a method that I might be able to use for this task? I am new to Labview, so any help is appreciated.

0 Kudos
Message 1 of 2
(2,563 Views)
Solution
Accepted by westerman111

Hi Westerman,

 

I'm having a little trouble understanding the basics of what you're trying to do. A little more details would be very helpful in pointing you in the right direction .So are you trying to align the timestamps/reference time of the two signals? 

 

I've included a link to a document which describes generally how rotary encoders (I assume your index pulse indicates you're using an incremental encoder) can be utilized within LabVIEW.

 

http://www.ni.com/white-paper/7109/en

 

You should also try searching the forums for other issues relating to using a rotary encoder in LabVIEW. I was able to find several with example code included.

 

Feel free to provide us with a few more details and we can help to guide you further.

 

Andy C.

Applications Engineer

National Instruments

 

0 Kudos
Message 2 of 2
(2,533 Views)