Read FFT channels with Dwdatareader Python

Benji N

Posted on 28.05.2021 09:46

Hi!


Is it possible to read Dewesoft calculated FFT with dwdatareader in Python?

It works just fine for me to read the time signal, but not FFT.

Matic Pevec
Customer Support Engineer
Posted on 04.06.2021 12:50

Hi Benji,


It is possible. Do you have datafile and an example of what you are intending to read? You can send it to us in Private discussion.


Best regards

Rok Kmetič
Customer Support Engineer
Posted on 30.06.2021 17:33

Dear Benji,


we have made a quick test with simulated channels and tried reading the FFT data with Python.

The data is available if FFT analysis in channel setup is used. If you store the data with FFT preview the Python script cannot access the data.


Below is a picture of the example:


I hope the above is useful to you. If you require a more specific explanation or help we would need a short data file, so we could have a better look into the project.


Best Regards.

Rok

Benji N

Posted on 18.08.2021 12:32

@Rok Kmetič

Sorry! I can't open the picture you have posted.

Rok Kmetič
Customer Support Engineer
Posted on 18.08.2021 14:59

Dear Benji,


I have attached the picture. Please let us know if this works.


Best Regards.

Rok


Attached files:
Benji N

Posted on 18.08.2021 15:16

@Rok Kmetič

Thanks! I can see now the attached file :)


Is it possible for you to share your code?

I can read the FFT channel now, but still, it's not correct.

Rok Kmetič
Customer Support Engineer
Posted on 18.08.2021 15:33

Dear Benji,


attached you can find the DWData reader examples. These scripts were used to open the FFT data.

The scripts are in the ''Win32&64 Python'' folder.


Please let me know if you have any questions.


Best Regards.

Rok


Attached files:
Benji N

Posted on 19.08.2021 16:05

@Rok Kmetič

Thanks!

Is there any instruction on how to install the DWDataReader package for Python?

I used Pip, but I got the 0.13.1 version of DWDataReader.

Rok Kmetič
Customer Support Engineer
Posted on 25.08.2021 10:51

Dear Benji,


you do not need to install the packages. Just download the package and run the script.


Best Regards.

Rok

Login to reply to this topic. If you don't have account yet, you can signup for free account .