Hey, Iam using C# and the ps4000.dll to program some kind of data logger. However data sampling, and simple triggering works just fine. But whenever i try to setup/add an advanced trigger by using the "SetPulseWidthQualifier", the trigger never fires.
Has anyone a working code snippet for using this function together with a simple threshold or any ideas on how to link the trigger functions ?
The code snippet in the ps3000 series doesnt work either or at least wont help me.
kind regards and thanks in advance
Debugging the code leaves me with Error Pico_Pulse_width_Qualifier (most likely range issues), if no error occurs trigger wont fire
Imports.PwqConditions conditions = new Imports.PwqConditions
if (pwq == null)
pwq = new Pwq(conditions,
if ((status = Imports.SetPulseWidthQualifier(_handle, pwq.conditions,
pwq.lower, pwq.upper, pwq.type)) != 0)