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