AutoTrigger and CallBackBlock function

Post your VB and VBA discussions here
Post Reply
Jay H
Newbie
Posts: 0
Joined: Wed Mar 31, 2010 2:13 pm

AutoTrigger and CallBackBlock function

Post by Jay H »

I'm trying to see if it is possible to determine whether my Trigger has been set or the AutoTrigger timeout was reached (as setup by the call to ps5000SetTriggerChannelProperties?

I believe the ps5000RunBlock will eventually call my CALLBACK function if the Trigger isn't hit and my CALLBACK sub will cause the BlockDataHandler to abort the loop and start sending data, so I would imagine if this is possible, I should be able to put something in my CALLBACK sub/function to see if the Trigger was hit or the AutoTrigger was reached. How would I do this, I tried to see if there is a Status (of type PICO_STATUS) that is returned but didn't find any. Is this possible, and if so, how?

Jay

Robin
Advanced User
Advanced User
Posts: 558
Joined: Fri Sep 19, 2008 10:17 am

Re: AutoTrigger and CallBackBlock function

Post by Robin »

Hi Jay

Unfortunately, it's not possible to tell whether the unit has autotriggered or triggered on a trigger condition.

Status is used only to report errors.

Robin

Post Reply