Test and Measurement Forum

Auto trigger using advanced triggers

Post your MATLAB discussions here

Auto trigger using advanced triggers

Postby Mathias_ » Wed Sep 06, 2017 9:05 am

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
Mathias_
Newbie
 
Posts: 0
Joined: Wed Sep 06, 2017 8:40 am

Re: Auto trigger using advanced triggers

Postby 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 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,
Hitesh

Technical Support Engineer
Hitesh
Site Admin
Site Admin
 
Posts: 2498
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to MATLAB

Who is online

Users browsing this forum: No registered users and 0 guests