06-22-2014 04:42 PM
Greetings,
Can I use USB-5132 as a gated integrator?
I have a PMT signal with 1-10 kHz rep. rate. The signal itself lasts 2 us and I would like to slice this 2 us window into smaller bins and collect data in that specific window and integrate the signal.
I checked the manual, it looks like it does not have a built-in gated trigger mode. I am wondering if there is any wy around it...
Best regards
O.Birer
06-23-2014 11:31 AM
O.Birer,
To be honest, I'm not too familiar with gated integrators/boxcar averagers. For your question, can you explain in more detail what you are trying to do? For example, I found this article. Are you trying to do waveform recovery, or static gate acquisition?
You are correct, the USB-5132 doesn't have a hardware gate-trigger, just the standard edge-trigger. This particular unit also doesn't even have hardware trigger re-arming, which means that after each trigger is recieved, the digitizer must be re-initialized in software (which is not deterministic), and may not work at 1-10kHz since the round trip from the hardware to the driver and back may not happen that fast. Overall, this is not a very good unit for your application from the sounds of it.
From what I understand so far, you want to trigger from your PMT, digitize/acquire the 2ns of waveform data, and then integrate it, and do this repeatedly at 1-10kHz. Also, from your description, you want to have some delay between the trigger and a smaller slice of your waveform that varies over the total 2ns of time, and that you will only acquire one slice per trigger (sent every 1-10kHz). Is this all correct? If so, I would not reccomend the USB-5132, since you will likely need the following digitizer/oscilloscope features:
Actually performing the integration must happen in software, since we have no digitizers/oscilloscopes that have hardware integrators.
I hope this helps.
-Nathan
06-23-2014 01:34 PM
Dear Nathan,
Thank you for your answer. I already have the 5132, and I have been trying to figure this out for a while.
The PMT signal is 2 microseconds long, not ns. So I would like to perform static measurements as described in the article you linked, but do so with ~500ns gates which will be located at different positions with respect to a trigger signal other than the PMT signal. In essence, I would like to time resolve the signal which lasts for 2 microseconds. I can generate the gate signal and sweep if necesaary.
My problem is I could not figure out a way to sample the waveform within a gate. Can I use the rising edge to start acquisition and the falling edge to stop the acquisition?
Best regards
O.Birer
06-23-2014 01:53 PM
To trigger the USB_5132, you cannot do gated triggers, therefore the only trigger that sounds applicable is an edge trigger. This means that the digitizer will trigger on either a rising or falling edge of your analog signal, or you can configure it as a digitital trigger on the PFI line. To simulate a gated trigger, you can set your acquisition properties. For example, if you wanted a 100ns gate you could setup a the acquisiton like:
These properties will set your "time per record" at 100ns, which would be like a 100ns gate starting at your trigger, and then ending exactly after the 10 samples were taken. The reference position configures the digitizer to not save any pre-trigger samples, since you probably don't want any of the data before the trigger happens.
Does this make sense?
06-23-2014 02:05 PM - edited 06-23-2014 02:10 PM
My problem is I could not figure out a way to sample the waveform within a gate. Can I use the rising edge to start acquisition and the falling edge to stop the acquisition?
(This is generic for all digitizers, not exclusive toe the 513x devices.)
Because digitizers/oscilloscopes take as granted that the window of time for which you wish to acquire is known at the time of the beginning of the acquisition, you cannot configure it to have a variable window size on-the-fly (without software intervention to stop and reconfigure.) This isn't done on the fly on any oscilloscope product I've ever heard of, from any vendor. In other words, the concept of "gating" an acquisition is not a concept natively handled by digitizers/oscilloscopes.
Work-arounds:
In essence, I would like to time resolve the signal which lasts for 2 microseconds.
Is your signal repetitive? I can only imagine that acquiring several ~500ns windows of data with relative adjustments must mean your signal is repetitive.
Just for reference, see the Acquisition Engine for the USB-513x devices. You can see you will really only have two signals to work with to manipulate this device in hardware time: there is a start trigger (must be digital) and a reference trigger (can be analog or digital). You can send a "start" trigger or a "reference" trigger only to capture the constant amount of data which is (in some constant way) related to the trigger event you set.
06-24-2014 03:36 PM - edited 06-24-2014 03:36 PM
Thank you for your answers.
Yes, the signal is repetitive, 1-10 kHz.
I am wondering about PFI. Will this mean that the acquisition will be allowed as long as PFI is high and stops when PFI is low?
Best regards
O. Birer
06-24-2014 04:18 PM - edited 06-24-2014 04:19 PM
Will this mean that the acquisition will be allowed as long as PFI is high and stops when PFI is low?
No, the PFI lines have a limited set of functionality, and that kind of functionality is not included. You can see what the PFI lines are useful for by looking at the specifications for the device in question (e.g. 5132/5133). You can get more information on what these functions are by referencing the NI-SCOPE help documentation (including the acquisition engine state diagram).
06-24-2014 04:23 PM
On the PFI line, the trigger is an edge-based trigger, not a level based trigger. This means that the trigger is actually the transition from low to high, or high to low, rising edge and falling edge respectively.