Halt capture when PWM is interrupted

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
dsabol
Newbie
Posts: 0
Joined: Thu Nov 06, 2014 8:00 pm

Halt capture when PWM is interrupted

Post by dsabol » Thu Nov 06, 2014 8:06 pm

Hi,

I am generating a pwm with a 7 ms period and 50% duty cycle. However, every once in a while (anywhere from 100 ms to 1 min) the pwm output skips a period (so the signal flatlines temporarily). Right now I have a round about way in firmware on my board which captures the condition so I know when to pause the scope to see what is going on, but it is tedious and hit or miss.

Is there a way I can set it up so that if it does not see a trigger within a specified period of time it halts capture?

Thanks,
David

Martyn
Site Admin
Site Admin
Posts: 3371
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Halt capture when PWM is interrupted

Post by Martyn » Mon Nov 10, 2014 1:17 pm

Can you change it round so that you set a trigger to catch the dropout, not the regular signal. Advanced triggers using Runt or level Drop Out may be appropriate although it depends upon your exact signal.
Martyn
Technical Support Manager

dsabol
Newbie
Posts: 0
Joined: Thu Nov 06, 2014 8:00 pm

Re: Halt capture when PWM is interrupted

Post by dsabol » Mon Nov 10, 2014 8:13 pm

I'll give it a try.

Thanks for the fast response.

Post Reply