09-07-2024 01:45 AM
currently, I'm using alazartech company SDK
it makes A+B sin waveform by function generator and generate FFT
but I want Split A and B wave and display A and B signals separately
I used below
but these didn't work
1. signal selector
- it did not show signal2 and signal 1 is A+B wave form.
2 array index
- just display A+B two wave from
3. SDK copy and paste
- last setting make wave form, if select A lastly wherever, display A
4. Array Subset
- just display A+B two wave from
5. split signal
- just display A+B two wave from
my english is short, It's my apologize.
09-07-2024 12:04 PM
You show a truncated code picture and nothing is labeled A or B. You need to be much more specific.
09-07-2024 10:40 PM
here is full code PDF
09-07-2024 11:22 PM
@yeers wrote:
here is full code PDF
PDF is no better than an image, in terms of LabVIEW, sharing the VIs is the best.
09-08-2024 03:29 AM
here is the vi file
but you should be in error.
because you don't have SDK file
but If you can analyze it, I am wiling to help.
09-08-2024 08:48 AM
We still don't know what A and B is. Are you talking about the blue wire forming the Y of the waveform? How does the data look like? Can you wire an indicator there, run the program until it displays the data, stop the VI and turn the indicator into a constant and attach the VI again so we have something to look at?
It seems you are trying to find two frequencies with a hairball of code. Once we know how the signal looks like, it will become more clear. Does the signal contain two major frequencies? How much noise is there? For Frequency 2, you probably need to add the index of the first frequency.
09-08-2024 08:13 PM - edited 09-08-2024 08:17 PM
Yes, I'm talking about the blue wire forming the Y of the waveform,
and
below refer to the A, AB, and B signal image
and currently,the A signal is not working. but it is device problem. don't care about that
09-08-2024 09:07 PM
So your waveform contains two equal parts, both with an offset of about 37000. The first looks like noise and the second with a large amplitude high frequency that we cannot see because it just looks like a blue filled square. No way to tell more unless you actually attach some real data.
I would think you should split first, then fft each half separately.
09-08-2024 10:05 PM
What kind of real data?
I can't understand.
I can attach file as possible as I can.
if you ask me for specific order. I will make it.