Question

I am using the Waveforms software as an oscilloscope and I can see the sample rate, but I need to know how fast it's triggering. I am trying to compare the trigger rate at different trigger levels, which is a number I can get on my normal oscilloscope but I don't know how to get on this software. My only thought was setting up a custom measurement, but I'm not sure what exactly that would look like or if that would work. Thanks for any help!

Link to post
Share on other sites

1 answer to this question

Recommended Posts

  • 0
Posted (edited)

Hi @jpaulus

There is no dedicated trigger frequency measurement available.
It was supported very long time ago, but it was not too popular. It was removed and the device resource reused for other features.

Now you could use the following setup to measure the trigger rate:
1. You can connect Trigger 1 to DIO 0 wire.
2. Configure Settings/ Device Manager/ Trigger 1 = Scope Detector.
3. In Logic Analyzer configure Sync capture with Clock on DIO 0
4. Use a Script to measure the time it takes to have certain amount of triggers.

var t = Date.now()
Logic.single()
Logic.wait()
t = 0.001*(Date.now()-t) // milliseconds to seconds
print(Logic.Time.Samples.value/t) // rate = trigger count / time

image.png.09dc7397f2fac4abeed5199339580128.png

image.thumb.png.e3e2cc97fc48bd9e92632ff124acf185.png

Edited by attila
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