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: 717
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: http://hndaheng.net/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: 717
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: 207
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. http://hndaheng.net/download/manua ... -guide.pdf

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

Neil
Neil
Technical Support Engineer

Post Reply