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,