• 0

SDK and measurements


Question

Hi all

hope you are all doing well.

I need to use the SDK and measure all this measurements but apparently there are no functions to calculate  for example AC RMS values to call.

do i need to come up with my formula or is there any function that can return all the following values ?

thank you.

 

image.png.d894ae1d4b488c212d08877b1991f03a.png

Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 1

Hi @Zebel

The WF SDK provides raw data and network/impedance analysis. The measurements and others are implemented in the WF app.
In custom app the measurements needs to be implemented.
You could eventually use instead custom app the Script tool in the WF app to access the measurements, like: var acrms =  Scope.Channel1.measure("ACRMS")

Link to post
Share on other sites
  • 0

When you say we could call these (like the "ACRMS" that you stated as example) from the Scripts section, it's still part of GUI right, I understand we cannot use these keywords from our C or python code, is that correct?

We are planning to use the SDK to incorporate Analogue Discovery into our existing software to measure various hardware parameters. It would be great if we have libraries exposing functions to measure frequency, ACRMS (and other measurements that are chosen in the screen shot shared, but not limited to these). Does the dwf.lib include the functions for these "Defined measurements" ("Frequency", "ACRMS" etc) as the GUI calls it. If so, could you share examples on how to use them. If the measurement functions are not part of the dwf library, then could you share the c/python code for all these "Defined measurements".

image.png.31272e6fa75776c3ef3466e5640953f9.png

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now