Hi all,
I'm hoping someone can help me define a custom channel in WaveForms, or point me to a better way to do it. I am familiar with adding virtual Math channels in desktop scopes, so that is my approach here.
What I need to do is graph the frequency of a frequency-modulated square wave as a separate custom channel, so it can be displayed under a waveform capture. I assume this should be possible using the scripting under Measurements in WaveForms, but I'm having a little trouble wrapping my head around how it works and the best approach to take. I'd also like to be able to log the frequency under the Logging tab, too.
If I was doing it through say Python in post processing, I would find all the zero crossings, measure the period between them, then graph the inverse as frequency, but this doesn't seem like the approach for ECMAScript?
I'm doing this using the device Demo source in WaveForms, as I need to make sure what I want will work before I buy the hardware.
Many thanks in advance!