From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Saturday, Nov 23rd 7:00 PM CST - Sunday, Nov 24th 7:45 AM CST, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-04-2024 10:02 AM
Hi everyone. I was wondering, if I can measure 2 signals, compare them in a labview and see if the are synchronized or not, and then basically write to a csv file yes or no (for synchronized or not). For example, If I am measuring motor current and frequency generated, I want to see if the rise time of these 2 signals is synchronized? I don't have a VI because its just an idea and I have no idea how to implement it if its possible. Thanks a lot
06-04-2024 11:35 AM
LabVIEW has all the tools for that ( measure signals, doing math and signal processing and writing to a text file, etc.).
The main problem is probably defining what "synchronized" means and what kind of differences are acceptable to pass and this is completely independent of any programming language. Once you come to a consensus for that, the implementation in LabVIEW will be peanuts.
06-04-2024 12:51 PM
@Lily3000 wrote:
Hi everyone. I was wondering, if I can measure 2 signals, compare them in a labview and see if the are synchronized or not, and then basically write to a csv file yes or no (for synchronized or not). For example, If I am measuring motor current and frequency generated, I want to see if the rise time of these 2 signals is synchronized? I don't have a VI because its just an idea and I have no idea how to implement it if its possible. Thanks a lot
Have you figured out the signal acquisition part?
06-06-2024 01:31 AM
yes, its not a problem since I did that before . But how to process these data in a LabVIEW and get only pass or fail I didn't get. I can record it also in a csv and then compare suing python but its also not the goal here.
06-06-2024 01:44 AM
Hi Lily,
@Lily3000 wrote:
I can record it also in a csv and then compare suing python but its also not the goal here.
How would you "compare in python"?
You just need to implement the same algorithm in LabVIEW…
06-06-2024 01:48 AM
With synchronized I mean they start and stop at the same time, and difference of 10% for example is acceptable. Here, for example, signals are synchronized, so after some data processing I should get True in my ideal world. Thanks
06-06-2024 01:52 AM
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
06-06-2024 01:58 AM
06-06-2024 03:02 AM
Is it possible to compare sin wave and square wave in this way? I want to see if they start at the same time or not
06-06-2024 03:53 AM
Hi Lily,
@Lily3000 wrote:
Is it possible to compare sin wave and square wave in this way? I want to see if they start at the same time or not
Yes.
(Please don't spread your questions for the same topic over several threads!)