Trigger current state?

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

Trigger current state?

Post by m8hpw »

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)?

Thanks.

M8HPW

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

Re: Trigger current state?

Post by Martyn »

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

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

Post Reply