14.05.2016, 19:30
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
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