EasyManuals Logo
Home>PICO>Test Equipment>PicoScope 3000 A Series

PICO PicoScope 3000 A Series Programmer's Guide

PICO PicoScope 3000 A Series
144 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #121 background imageLoading...
Page #121 background image
PicoScope 3000A Series Prog rammer's Guide 115
Copyright © 2011-2013 Pico Technology Limited. All rights reserved. ps3000abpg.en r9
2.13.9
SetTriggerProperties
PICO_STATUS SetTriggerProperties
(
short handle,
int * propertiesArray,
short nProperties,
short auxEnable,
long autoTrig
)
This function is used to enable or disable triggering and set its parameters. This is done
by assigning the values from the propertiesArray to an array of
TRIGGER_CHANNEL_PROPERTIES structures which are then passed to the
ps3000aSetTriggerChannelProperties function with the other parameters.
Use this function with programming languages that do not support structs.
Applicability
All modes
Arguments
handle, the handle of the required device
propertiesArray, an array of sets of integers corresponding to
TRIGGER_CHANNEL_PROPERTIES structures describing the required
properties to be set. See also channelProperties in
ps3000aSetTriggerChannelProperties.
nProperties, the number that will be passed after the wrapper
code has created its structures (i.e. the number of
propertiesArray elements divided by 6)
auxEnable, not used
autoTrig, see autoTriggerMilliseconds in
ps3000aSetTriggerChannelProperties
Returns
See ps3000aSetTriggerProperties return values
Example
Here is an example for using the function in Visual Basic:
Dim propertiesArray(11) As Integer
'channel A
propertiesArray(0) = 1500 ' Upper
propertiesArray(1) = 300 ' UpperHysteresis
propertiesArray(2) = 0 ' Lower
propertiesArray(3) = 0 ' LowerHysteresis
propertiesArray(4) = 0 ' channel (0=ChA, 1=ChB, 2=ChC,
3=ChD)
propertiesArray(5) = 0 ' thresholdMode (Level=0, Window=1)
'channel B
propertiesArray(6) = 1500 ' Upper
propertiesArray(7) = 300 ' UpperHysteresis
propertiesArray(8) = 0 ' Lower
propertiesArray(9) = 0 ' LowerHysteresis
propertiesArray(10) = 1 ' channel (0=ChA, 1=ChB, 2=ChC,

Table of Contents

Other manuals for PICO PicoScope 3000 A Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the PICO PicoScope 3000 A Series and is the answer not in the manual?

PICO PicoScope 3000 A Series Specifications

General IconGeneral
BrandPICO
ModelPicoScope 3000 A Series
CategoryTest Equipment
LanguageEnglish

Related product manuals