Trigger current state?

Post your C and C++ discussions here
Post Reply
Posts: 0
Joined: Tue Oct 02, 2012 7:32 am

Trigger current state?

Post by m8hpw » Tue Oct 02, 2012 7:40 am

I am using a 4424 picoscope unit. With a C programme I record seconds of signals (8 seconds at 1MHz sampling rate) but I would like to know immediatly if the scope has been corretly triggered.
Is there a function that returns the current trigger state (triggered or waiting a trigger event)?



Site Admin
Site Admin
Posts: 3799
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Re: Trigger current state?

Post by Martyn » Tue Oct 02, 2012 8:13 am

If you are using streaming, and you can with a 1MHz sampling rate, the call back function will have triggered and triggeredAt parameters

Code: Select all

typedef void (CALLBACK *ps4000StreamingReady)
short handle,
long noOfSamples,
unsigned long startIndex,
short overflow,
unsigned long triggerAt,
short triggered,
short autoStop,
void * pParameter
Technical Support Manager

Post Reply