absolute trigger time stamp in rapid block mode 6404D

Post your LabVIEW discussions here
Post Reply
mandreot
Newbie
Posts: 0
Joined: Tue Jan 13, 2015 11:29 am

absolute trigger time stamp in rapid block mode 6404D

Post by mandreot »

Dear all,
I'm using a pico 6404D with labview to acquire waveform of about 600 ns length.
I configured acquisition in rapid block mode, but I'm not able to figure out how to obtain an absolute trigger time stamp (from the device) of each capture in a single run.
Is there a way to extract this information?

Thanks a lot,
cheers

Mirco

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: absolute trigger time stamp in rapid block mode 6404D

Post by Gerry »

Hi Mirco,

If by "absolute trigger time stamp" you mean "date/time" OR "time of day" time stamp, then there is no way to retrieve such information as there is no RTC in the hardware PicoScope to establish at what absolute time the trigger fired.

If, on the other hand you mean "relative trigger time stamp", then you can get the time offset of the first sample in the waveform, relative to the trigger, by calling "ps6000GetTriggerTimeOffset". This will return the time offset for the block number that you specified in the "segmentIndex" argument (see page 33 here: https://www.picotech.com/download/manua ... -guide.pdf).

Regards,

Gerry
Gerry
Technical Specialist

mandreot
Newbie
Posts: 0
Joined: Tue Jan 13, 2015 11:29 am

Re: absolute trigger time stamp in rapid block mode 6404D

Post by mandreot »

Dear Gerry,
thanks for your replay. I will try to explain better, sorry for my not clear question.
For "absolute trigger timestamp" I mean a timing in terms of clock cycles or number of samples or something like that.
Let me make an example. If I have 100 kHz pulses, the time between two pulses is 10 microseconds, which corresponds to about 8333 samples if I'm sampling at 1.2 nanoseconds.

What I should need it is just an indication in term of samples between two captures inside the same run or between a capture and the beginning of the run.
Is this possible?

I looked at the function triggertimeoffset you are mentioning, but this is just an indication relative di a single capture, if I understood well.

Thanks,
cheers

Mirco

Gerry
PICO STAFF
PICO STAFF
Posts: 1145
Joined: Mon Aug 11, 2014 11:14 am

Re: absolute trigger time stamp in rapid block mode 6404D

Post by Gerry »

Hi Mirco,

OK, so what you want is the offset of the 2nd block relative to the 1st Trigger. Unfortunately, this is not available from any documented driver function call for the PicoScope 6404D.

However, I have to ask why do you want the offset for further blocks in Rapid capture Mode?

Regards,

Gerry
Gerry
Technical Specialist

NeilH
PICO STAFF
PICO STAFF
Posts: 270
Joined: Tue Jul 18, 2017 8:28 am

Re: absolute trigger time stamp in rapid block mode 6404D

Post by NeilH »

Hi Mirco

There is a function to get the number of sample intervals between triggers in rapid block mode but it is undocumented. The definition of the function ps6000GetTriggerInfoBulk can be found in the header file in the PicoSDK folder. The ps5000a programmer's guide has a ps5000aGetTriggerInfoBulk function that has the same definition and input so can be useful for understanding this function for the ps6000 driver. https://www.picotech.com/download/manua ... -guide.pdf

If you need assistance in getting this function in Labview if you email into support@picotech.com and one of our tech support team members who are familiar with labview will be able to help you.

Neil
Neil
Technical Support Engineer

mandreot
Newbie
Posts: 0
Joined: Tue Jan 13, 2015 11:29 am

Re: absolute trigger time stamp in rapid block mode 6404D

Post by mandreot »

Dear Neil,
thanks for useful info, I received right now the same indication from your support.
I'm going to try this function inside labview.

Dear Gerry,
we need to know the time between capture in order to study also the variation of our signal rate.

Thanks everybody for your help!

Cheers

Mirco

Mmm22
User
User
Posts: 2
Joined: Mon Jun 15, 2020 9:21 am

Re: absolute trigger time stamp in rapid block mode 6404D

Post by Mmm22 »

NeilH wrote:
Tue Oct 13, 2020 1:43 pm
Hi Mirco

There is a function to get the number of sample intervals between triggers in rapid block mode but it is undocumented. The definition of the function ps6000GetTriggerInfoBulk can be found in the header file in the PicoSDK folder. The ps5000a programmer's guide has a ps5000aGetTriggerInfoBulk function that has the same definition and input so can be useful for understanding this function for the ps6000 driver. https://www.picotech.com/download/manua ... -guide.pdf

If you need assistance in getting this function in Labview if you email into support@picotech.com and one of our tech support team members who are familiar with labview will be able to help you.

Neil
Hi Neil,
Is something like this available for the 2207B?
Thank you.

NeilH
PICO STAFF
PICO STAFF
Posts: 270
Joined: Tue Jul 18, 2017 8:28 am

Re: absolute trigger time stamp in rapid block mode 6404D

Post by NeilH »

Hi

This function is only currently only available for the ps5000a, ps6000 and ps6000a drivers

Neil
Neil
Technical Support Engineer

sbabic44
User
User
Posts: 3
Joined: Thu Nov 30, 2017 10:17 pm

Re: absolute trigger time stamp in rapid block mode 6404D

Post by sbabic44 »

That is not correct. It is available in 3000D series too:
ps3000aGetValuesTriggerTimeOffsetBulk64 API call

I have repeatedly asked over few years that Picoscope software should be enhanced to show segment time offsets... That is extremely important sometimes. Nothing happened. That needs to be added..
regards,
Siniša

NeilH
PICO STAFF
PICO STAFF
Posts: 270
Joined: Tue Jul 18, 2017 8:28 am

Re: absolute trigger time stamp in rapid block mode 6404D

Post by NeilH »

Yes, the GetTriggerInfo function is also available for the ps3000a driver too
Neil
Technical Support Engineer

Post Reply