Test and Measurement Forum

Trigger current state?

Post your C and C++ discussions here

Trigger current state?

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


Posts: 0
Joined: Tue Oct 02, 2012 7:32 am

Re: Trigger current state?

Postby 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 Specialist
Site Admin
Site Admin
Posts: 2314
Joined: Fri Jun 10, 2011 8:15 am
Location: St. Neots

Return to C and C++

Who is online

Users browsing this forum: No registered users and 0 guests