Test and Measurement Forum

ps5000aSetTriggerChannelDirections

Post your LabVIEW discussions here

ps5000aSetTriggerChannelDirections

Postby mmarimmler » Tue Aug 30, 2016 11:25 am

I am trying to implement some advanced trigger on a Picoscope 5444B by using the corresponging functions ps5000aSetTriggerChannelConditions/Properties and Directions. However, I am struggeling with the last one. I am not sure about the appropriate constants that should represent the availabe threshold direction options. From the programmers guide I can extract the allowable values for the direction in which the signal must pass and I would assume that they are implemented by constants, i.e. PS5000A_ABOVE (=0), PS5000A_ABOVE_LOWER (=1), etc. but this is causing some error (ERROR 5013 in the SetTriggerChannelDirections function). Does anyone have experience with this?

Thanks in advance,

Marius Rimmler
mmarimmler
Newbie
 
Posts: 0
Joined: Tue Aug 30, 2016 9:44 am

Re: ps5000aSetTriggerChannelDirections

Postby Hitesh » Mon Sep 05, 2016 10:02 am

Hi Marius,

What is the condition on which you require the signal to be captured?

If you have a screenshot or example data file of a PicoScope 6 capture with the trigger setup that you require that might be helpful.

The error code 5013 indicates an invalid parameter.

Regards,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to LabVIEW

Who is online

Users browsing this forum: No registered users and 0 guests