Test and Measurement Forum

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

Post any questions you may have about our current range of oscilloscopes

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

Postby wanming2008 » Mon Sep 18, 2017 8:37 am

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 249 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
wanming2008
Newbie
 
Posts: 0
Joined: Mon Sep 18, 2017 8:26 am

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

Postby NeilH » Mon Sep 18, 2017 10:20 am

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
NeilH
PICO STAFF
PICO STAFF
 
Posts: 18
Joined: Tue Jul 18, 2017 8:28 am


Return to USB PC Oscilloscopes

Who is online

Users browsing this forum: No registered users and 0 guests