ThresholdDirection Above/Rising issues

Forum for discussing PicoScope version 6 (non-automotive version)
Post Reply
Sigge83
Newbie
Posts: 0
Joined: Tue Dec 01, 2015 9:10 am

ThresholdDirection Above/Rising issues

Post by Sigge83 »

Hi
I'm currently writing my own application, and I'm noticing that I encounter the same problem when I use the PicoScope 6 software. Which is when I want to use the "Trigger type", i.e. ThresholdDirection, Above instead of Rising the oscilloscope won't trigger. I'm measuring a DC signal with a little ripple, and I would wan't the Oscilloscope to trigger if the DC signal is above say 1 Volt but it won't trigger. It works fine though if I use the Above trigger type and place the threshold at the middle of the ripple (6,5 volts). But then it's exactly as using the rising edge trigger type. Have I misunderstood how to use the different trigger types?
above1.png
above6.png

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

Re: ThresholdDirection Above/Rising issues

Post by Martyn »

In the PicoScope pictures you have a logic trigger, this is intended for when you want to look at a triggering on something happening on two or more channels at a the same time. If you use this trigger with only one channel active, it is the same as a simple rising edge trigger, so it is correct that it only triggers when the threshold is within the signal range.

The little pictures in the trigger window for the other trigger types should enable you to select the correct trigger for your purpose.
Martyn
Technical Support Manager

Sigge83
Newbie
Posts: 0
Joined: Tue Dec 01, 2015 9:10 am

Re: ThresholdDirection Above/Rising issues

Post by Sigge83 »

Ok, but what I want is for the oscilloscope to trigger on a signal that is above a certain value, how do I do it?

Because based on what you wrote the Logic trigger would work if channel A & B was measuring the same signal and both had the "above 1 volt" condition, but as you see in the image below, I get the same results.
aboveab.png

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

Re: ThresholdDirection Above/Rising issues

Post by Martyn »

I have just tested here and with both A and B set to above, and using an AND logic trigger it appears to be functioning correctly for me.

Can you post the details from Help->About so that I can then check that I am using the same setup as you, additionally if you post the psdata file, File->Save, I can run with your exact settings.
Martyn
Technical Support Manager

Sigge83
Newbie
Posts: 0
Joined: Tue Dec 01, 2015 9:10 am

Re: ThresholdDirection Above/Rising issues

Post by Sigge83 »

Hi
I had not even considered the logic AND/OR statments. And the strange thing with them is that the seem to be working in the opposite way than what they should. Because if I change one of the signals (it does not matter which of them) to trigger above 6.5 volts the oscilloscope triggers even though I use the AND logic. But if I, on the other hand, use the OR logic, I must set the level to 6.5 on both signals to get a trigger!
Attachments
20160315-0002.pssettings
(3.25 KiB) Downloaded 303 times
picoabout.png

Sigge83
Newbie
Posts: 0
Joined: Tue Dec 01, 2015 9:10 am

Re: ThresholdDirection Above/Rising issues

Post by Sigge83 »

By the way did you also measure on a DC signal? Because I get the same result as you do if measure on a sine wave (or any signal that doesn't have a DC offset i.e. it has a zero crossing). And then the logical operators AND/OR also behaves the way the should.

Kind Regards
Sixten

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

Re: ThresholdDirection Above/Rising issues

Post by Martyn »

My signal had started below the threshold. I will perform some additional tests and then discuss this with the development team.
Martyn
Technical Support Manager

Sigge83
Newbie
Posts: 0
Joined: Tue Dec 01, 2015 9:10 am

Re: ThresholdDirection Above/Rising issues

Post by Sigge83 »

Hello Martyn,
I do not want to seem impatient, but have you had a chance to discuss it with your development team?

Best Regards
Sixten

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

Re: ThresholdDirection Above/Rising issues

Post by Martyn »

Had an interesting discussion with the development team, the behaviour was as defined, however they agreed that it was incorrect. We now have an updated driver which will allow this to work correctly in your application, PicoScope 6 will not currently support this, and will require a future upgrade.

Please email support@picotech.com and I will supply the driver and details on how to implement the additional functionality, released documentation will take a while to catch up.
Martyn
Technical Support Manager

Post Reply