Auto trigger using advanced triggers

Post your MATLAB discussions here
Post Reply
Posts: 0
Joined: Wed Sep 06, 2017 8:40 am

Auto trigger using advanced triggers

Post by Mathias_ » Wed Sep 06, 2017 9:05 am


I recently updated to the latest SDK Drivers and those got rid of a lot of issues I had in the past.
However I still have one problem remaining. The auto trigger only seems to work for simple edge triggers.

As soon as I use advanced triggers, the auto trigger does not work any more.

to initialize the auto trigger I'm using the procedure stated in the examples

triggerGroupObj = get(obj.PICO.ps4000aDeviceObj, 'Trigger');
triggerGroupObj = triggerGroupObj(1);
set(triggerGroupObj, 'autoTriggerMs', 5000);

The same object is called when invoking the function for the simple and advanced trigger. Still it does not work for the advanced Trigger. What am I doing wrong?

I would be greatful for any help.


Posts: 2855
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire

Re: Auto trigger using advanced triggers

Post by Hitesh » Wed Sep 06, 2017 4:02 pm

Hi Mathias,

The autoTriggerMs property is also used in the setAdvancedTrigger() function call so there should be no difference between the simple trigger and advanced trigger.

Would it be possible to post your code here or send it please? Are you using the ps4000a.dll from PicoSDK

Also, which version of MATLAB are you using and is it 32-bit or 64-bit?

I can then run some tests here.


Software Dev. Engineer

Post Reply