05-14-2016 01:27 PM
Hello Guys,
I created a sine signal at my OPC UA server and I am reading that signal at my OPC UA client. I plotted the signal at both , the server and at the client. My task now is to compare the two signals and make sure that the data is transfered as fast as possible so when I am sampling I wont miss any data. Maybe OPC UA is not the best toolkit to do fast sampling but I want to test its limitations and work on it at its best.
I am attaching my files here, where you can see what did I write so far. I need help comparing the two waveforms. Since there is time difference between the two waveforms. I need to compare them in a separet VI. And should calculate the offset in order to make for that time difference and be able to compare the two signals. Comparison according to (Sampling rate, frequency, phase difference, noise). I am supposing that the comparison would be done in a separate VI and the result can be sent to the OPC UA server to update it.
So I am considering the signal generated at the server is IDEAL and I'll compare the signal at the client to it. And I need to measure the %error between them.
Please excuse my level of programming. Any help would be highly appreciated.
Thank you.
ELias
05-15-2016 06:33 AM - edited 05-15-2016 06:33 AM
05-15-2016 08:08 AM
So I cant post my question on different forums? The users on this forum arent the same there....Its a different website...
05-16-2016 08:15 AM - edited 05-16-2016 08:16 AM
You are allowed to post your question an different websites. But it is considered as impolite not to mention that. Read Rolf's comment on labviewforum.de, I cannot state it any better than that.
For everyone here at ni.com: Question has also been posted on LAVA: https://lavag.org/topic/19613-phase-difference-between-two-signals
Regards, Jens