03-24-2006 07:25 AM
well what i want is make a train pulse from one counter (counter0) be the gate for another one (counter1) and for this i need the that two counters work simultaneosly bau when a try make this the labview guive me an error like you can see in the next picture above.
03-24-2006 07:26 AM
03-24-2006 07:33 AM
03-24-2006 07:43 AM
03-24-2006 08:56 AM
I *think* you might be able to get there from here, but am not at hw to verify.
The idea is to keep your edge-counter set for Finite Sampling while setting your pulse train for Continuous. This is probably what Paul (falkpl) was hinting at. There are essentially at least 4 ways to try to perform buffered edge counting using another counter as the sampling clock. I'm suggesting #1, you were trying #3.
1. Set edge-counting task as Finite and pulsetrain task as Continuous. Requires 2 counters. When edge-counting task is complete, must then stop pulsetrain task.
2. Set edge-counting task as Continuous and pulsetrain task as Finite. Requires 3 counters. When pulsetrain task is complete, read edge-counting buffer and stop task.
3. Set edge-counting task as Finite and pulsetrain task as Finite. Requires 3 counters. Both tasks complete themselves after specified # of samples.
4. Set edge-counting task as Continuous and pulsetrain task as Continuous. Requires 2 counters. Must monitor acquisition buffer and choose to read and retain only the first N samples (where N is the # you would have used for a Finite sampling task), then stop both tasks.
Good luck!
-Kevin P.
03-27-2006 05:38 AM
I have another problem the maximum number off samples that i can read to the buffer with board 6023E.
Because i try send a sygnal to the gate with the maximum frequency possible and that in my case 5E6 Hz (this signal is created with the counter0) and measure duryng two seconds and for make this how i can configure the input counter (counter1).
03-28-2006 06:39 AM
03-28-2006 07:59 AM
03-28-2006 09:27 AM
Sorry, I really know nothing about the field of spectroscopy at all. I only know some things about measuring time intervals and pulsetrains in general. I don't really understand what you need here in a functional sense. The kind of description that would help me help you better might sound something like:
"I need to generate an array where each element is the # of photomultiplier pulses during a precisely-timed interval. I want the t=0 point to be set by a different external trigger signal."
Also helpful:
1. What kind of rate might the photomultiplier fire at?
2. What size are the time interval bins?
3. Is the process repeatable? Can you repeat a test multiple times in order to focus on a different portion of the response each time?
4. The term "gate" is used in different ways with counters. Do you mean it to act like a sampling clock where there's an active edge? Or like an enable signal where there's an active state?
Further thoughts:
A. I'm afraid I don't know if DAQmx supports triggering a counter task on an E-series board. I've only used M-series MIO boards since switching to DAQmx.
B. Have you searched the Counter/Timer forum? A lot of people have posted about photomultiplier measurements there. Searching on "PMT" or "photomultiplier" should give you some to start with.
-Kevin P.
03-29-2006 08:26 AM
Are you trying to do a time response to a spectral execitation, I have done this almost the same thing, I did a time gated measurment using a 6602 and a hamamatsu PMT (Photon counting photomultiplier tube) The time response was however much slower. I was starting the collection after 10us post excitation and I collected bins of 150us for a total integrated time of 1500us. I did this in a continious fassion with each excitation. What are the details of the time resolved spec measurments.
Paul