Auto trigger using advanced triggers

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

Auto trigger using advanced triggers

Post by Mathias_ »

Hi,

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.

cheers,
Mathias

Hitesh

Re: Auto trigger using advanced triggers

Post by Hitesh »

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 support@picotech.com please? Are you using the ps4000a.dll from PicoSDK 10.6.12.41?

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

I can then run some tests here.

Regards,

Post Reply