08-06-2008 02:57 PM
08-07-2008
11:51 AM
- last edited on
12-16-2024
03:23 PM
by
Content Cleaner
08-07-2008 07:54 PM
08-08-2008
02:32 PM
- last edited on
12-16-2024
03:24 PM
by
Content Cleaner
08-08-2008 06:07 PM
Thanks again for your quick reply.
I, however, want to use 1) Traditional DAQ, 2) a continuous pulse train generation, 3) two retriggerable pulse generations for two more delayed pulse trains (gated by the first pulse train generated), and 4) one counter for each pulse train.
If you could provide me some help under this restriction, I would really appreciate it.
pchemjjang
08-11-2008 04:55 PM
pchemjjang,
There is a Traditional DAQ example in the same location that I have specified in my earlier e-mails called Generate Pulse Train - Start Trig (NI-TIO).vi. This will output a continuous pulse train from one counter. In order to output the next pulse trains in the order that you specified in a previous post (i.e. second pulse train begins at first falling edge of first pulse train, third pulse traing begins at first falling edge of second pulse traing) you could utilize the previous counter output as the trigger for the next counter. For example, lets call the three counters used Counter 0, Counter 1, and Counter 2. Since this is a continuous counter output operation you should only need one counter for each task. You will then setup a start trigger on Counter 1 so that it starts on the falling edge of the Counter 0 output. You will then setup a start trigger for Counter 2 so that it starts on the falling edge of the Counter 1 Output. In the example there is a VI called Counter Start Trigger (NI-TIO).vi which sets up the start trigger. This VI will be removed for the Counter 0 task and replaced for the Counter 1 and 2 tasks. Recall that you will have to essentially have three tasks running in parallel. I have included a vi which should accomplish the task that you were looking for. You will obviously need to make changes but this should provide a great framework for you. The VI will continuously output pulse trains from counters 0, 1, and 2 all triggering as I had stated above.
08-13-2008 04:07 PM
I am trying to open the file you attached but it seems that counter gate (ni-tio).vi is missing.
I am using LabView 8.5 and it looks like the counter gate (ni-tio).vi is too old for LabView8.5 to recognize.
Could you please help me on this again?
Thanks.
08-14-2008 03:11 PM
pchemjjang,
The counter gate(ni-tio).vi should be located in the following directory on your machine: C:\Program Files\National Instruments\LabVIEW 8.5\examples\daq\counter\ni-tio.llb. The counter gate (ni-tio).vi is also used in the Generate Pulse Train - Start Trig (NI-TIO).vi example that I had mentioned earlier as well. Also, I was able to open the program in LabVIEW 8.5 so that should not be a problem.