Trigger on interval between 2 channels

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
bennog
Advanced User
Advanced User
Posts: 208
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Trigger on interval between 2 channels

Post by bennog »

I have a 4444 scope and want to trigger when the time difference between ch C and D from 0 to 24V is bigger than 50 ms.
So when ch D follows ch C < 50 ms do nothing but when ch D stays low or takes 100 ms after ch C then trigger.

Benno

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: Trigger on interval between 2 channels

Post by Gerry »

Hi Benno,

If I understand you correctly, what you need is 2 channel logic triggering with timing, which we don't have in a PicoScope, so you would need some hardware to implement this. You could implement it with a watchdog timer function, i.e. Ch C starts a counter/timer, and Ch D stops the Timer, with the timer timing out at 50ms and a trigger signal being generated from the Terminal Count. Or you could just OR the 2 signals together (reduce the voltages to logic levels and invert any input if required) and trigger on a pulse width less than 50ms.

Regards,

Gerry
Gerry
Technical Specialist

bennog
Advanced User
Advanced User
Posts: 208
Joined: Mon Nov 26, 2012 9:16 am
Location: Netherlands

Re: Trigger on interval between 2 channels

Post by bennog »

I had taken this the other way around, with the SDK capture the data in streaming mode at 5MS/sec and process this data in a separate thread and save the raw data on the HD.

I am now in the proces of importing this RAW data back into .psdata format.
Seems quite simple updating the valuechunk andcollectiontime array should be sufficient in an existing .psdata file with the same setup as used with the SDK.

Benno

Post Reply