Is there a way to trigger the scope via software?

Post general discussions on using our drivers to write your own software here
Post Reply
bloer
Newbie
Posts: 0
Joined: Thu Jul 26, 2018 8:46 pm

Is there a way to trigger the scope via software?

Post by bloer » Tue Apr 23, 2019 5:38 pm

If I understand correctly, if I call SetSimpleTrigger with enabled set to false, then call RunBlock, the scope will immediately return after collecting pretrigger+posttrigger samples. Is this correct?

I'd like to know if there is a way to start the scope acquiring, then trigger the scope via the API, so that the pre-trigger samples have already been acquired.

Thanks!
~Ben

NeilH
PICO STAFF
PICO STAFF
Posts: 135
Joined: Tue Jul 18, 2017 8:28 am

Re: Is there a way to trigger the scope via software?

Post by NeilH » Wed Apr 24, 2019 7:02 am

Hi

That is correct if you have no trigger set on calling runBlock it will immediately collect the full number of samples asked for i.e pre-trigger + post-trigger.

There isn't a way to use a software trigger for collection, you would need to set up an appropriate trigger to collect pre-trigger samples that are actually pre-trigger samples with runBlock.

Neil
Neil
Technical Support Engineer

Post Reply