Search found 33 matches

by _Wim_
Sun Mar 03, 2019 7:53 am
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Hi Kai, Sorry I missed the fact that it started at 40 Hz, just read 10 Hz in the text and jumped to a conclusion. On my scope (picoscope 5442B) I cannot reproduce the periodic phase ripples for a 10µF 1000 ohm combination. I do get more random noise without additional settling time. When I increase ...
by _Wim_
Thu Feb 28, 2019 9:06 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

New version:

Bugfix:
- was not possible any longer to open multiple FRA4Pico plots (was always opening new plot).

Other changes:
- cursor info always same nr of lines (so chart does not move when right mouse button is used)
- pompt on exit when unsaved files are present
by _Wim_
Thu Feb 28, 2019 8:17 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Hi, I am using a PicoScope 2204A with FRA4PicoScope V. 0.6.2b.RC4, assuming that it is the newest version. In recent weeks I have used this for impedance measurement on capacitors and inductances in the range 1 Hz to 100 kHz. The setup is apparently the same as the one posted by _Wim_ on Feb 10, 20...
by _Wim_
Tue Feb 26, 2019 9:18 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Updated version with the fixed message log.
by _Wim_
Tue Feb 26, 2019 7:27 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Hi Hexamer, I solved the problem of returning the message log. I declared the P/Invoke to return and InPtr, and converted this InPtr using Marshal.PtrToStringUni(ptr) directly instead of calling Marshal.ReadIntPtr(pptr) first as I found in interop examples. Now it works perfectly, and I learned a bi...
by _Wim_
Tue Feb 26, 2019 10:04 am
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Attached a version with a basic user interface to control the picoscope directly. As posted above, reading the status log does not work yet, but is default disabled in the app. Source code is on Github
by _Wim_
Sun Feb 24, 2019 12:57 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Hi Hexamer, I have a basic version working with your API (I can perform the measurement from my app), but I am strugling with the GetMessageLog() function. Depending on timing when I call the GetMessageLog(), I get one of the following reactions: - message is returned correctly - message contains ra...
by _Wim_
Thu Feb 14, 2019 6:44 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Hi Hexamer, Thanks for your comments. I was not aware an API version of your app was available. I will definitely look into that. I briefly first considered changing your app, but as I am not a C++ guy, and also not familiar with the PLPlot lib, that seemed a bit too much work. Wrapping a dll and us...
by _Wim_
Mon Feb 11, 2019 8:16 am
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Thanks for uploading the file here also. For me, the file limit was/is limited to 256K?! Could this be related to the number of post? Just tried again to upload a dummy file of 5mB, could not attach it..
by _Wim_
Sun Feb 10, 2019 12:13 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

(copied from my post at EEVBlog) I have been a big fan of using the app FRA4Picoscope to generate bode plots. This for me makes the Pico products much more useful. By using a reference resistor in series with a DUT, it is possible to calculate the impedance from the DUT. For this a made a small tool...
by _Wim_
Fri Oct 05, 2018 7:00 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Miq wrote:
Fri Oct 05, 2018 3:54 pm
Thanks again for not getting discouraged supporting this ever changing platform.
Totally agree! This tool was one of the main reasons I choose the Pico 5000 in the first place. I hope the team at Pico appreciates how much additional value this piece of software brings.
by _Wim_
Fri Jul 20, 2018 7:19 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

HCan you please tell me why Fourier math is required to do this? Thanks again / Charles I am not sure if I understand your question, but if you want to measure the amplitude of a specific frequency only, I think fourier or simular mathematical function is necesarry. Oted herwise the measured amplit...
by _Wim_
Fri Jul 20, 2018 6:22 am
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Hi Barnett, I think even as a non programmer, all the information you need is quite readable in this part of the source code: https://bitbucket.org/hexamer/fra4picoscope/src/ce06453f0b0d2af5a8059766421fc47c6460369b/FRA4PicoScope/PicoScopeFRA.cpp?at=master&fileviewer=file-view-default The most intere...
by _Wim_
Thu Jul 12, 2018 12:46 pm
Forum: Applications
Topic: Frequency Response Analyzer with Bode Plots
Replies: 630
Views: 3286351

Re: Frequency Response Analyzer with Bode Plots

Maybe also a nice idea to implement: "impedance analyzer functionality" like on the Analog Discovery board If I understand correctly, the only difference would be to allow the user to enter the value for the used reference resistor, and to rescale your plot accordingly. You can off course calculate ...