how to set adv trigger using chA and chB with 3206D

Post any questions you may have about our current range of oscilloscopes
Post Reply
wanming2008
Newbie
Posts: 0
Joined: Mon Sep 18, 2017 8:26 am

how to set adv trigger using chA and chB with 3206D

Post by wanming2008 »

helllo pico:

i bought one pico3206D from HONGKE in China http://www.hkaco.com/

I need to set a advanced trigger with two channels,channel A is below to -1000mv and channel B below 1000mv.

i use the github matlab driver and pico3000-api for matlab

Since don't have the advanced trigger example for ps3000,I tried the ps5000 advtrigger example using the code as below
% Set Advanced trigger
status.advTrigStatus = invoke(ps3000aDeviceObj, 'setAdvancedTrigger', channelProperties,triggerConditions, triggerDirections, triggerDelay, autoTrigMs);
InsertPic_9397(01).png
(5.56 KiB) Not downloaded yet


and I get the error is :


Error using icdevice/invoke (line 54)
The function setAdvancedTrigger is not supported by this device object.
This method is supported by the trigger channel object.

Does the 3206D have the setAdvancedTrigger function,and how to set two channels with ADD function ?
InsertPic_9397(01).png
(5.56 KiB) Not downloaded yet
InsertPic_9397(01).png
(5.56 KiB) Not downloaded yet
InsertPic_9397(01).png
(5.56 KiB) Not downloaded yet
Attachments
InsertPic_A353(09-18-16-25-19).png
InsertPic_A353(09-18-16-25-19).png (2.15 KiB) Viewed 3317 times
InsertPic_9397(09-18-16-25-19).png
(5.56 KiB) Not downloaded yet
InsertP2-18-16-25-19).png
(5.56 KiB) Not downloaded yet

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

Re: how to set adv trigger using chA and chB with 3206D

Post by NeilH »

From the error message, the device object being passed needs to be changed to a trigger group object for the 3000a setAdvancedTrigger function.

Code: Select all

*% Trigger properties and functions are located in the Instrument
% Driver's Trigger group.

triggerObj = get(ps3000aDeviceObj, 'Trigger');
triggerObj = triggerObj(1);
Neil
Technical Support Engineer

Post Reply