• 0

Need help with a script to calculate (Scope_Channel1_Pk-to-Pk minus Scope_Channel2_Pk-to-Pk)


Question

Hello, I am using Digilent Analog Discovery 2 and  I began to explore its scripting capabilities. Do you know if there is a way to make calculations between the measurements between the 2 channels of the scope?

In my case, I have 2 different sine waves and I need to subtract the Peak-to-peak value of channel 1 from Peak-to-peak of channel 2. Is there a way to do this in script?

Thanks

Karl

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @Karl Balalesa,

I'm not certain how to do this directly in WaveForms SDK (the engineer much more familiar with WaveForms is out on medical leave right now), but there is a Forum thread in that discusses performing some math functions with the built-in script tool within WaveForms here: https://forum.digilentinc.com/topic/18530-scope-custom-math-channel-limitations/.

Let me know if you have any questions about this.

Thanks,
JColvin

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