Jump to content
  • 0

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


Karl Balalesa

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 comment
Share on other sites

2 answers to this question

Recommended Posts

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 comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...