How Do I Know When My Finite Pulse Train Is Done?Hardware: Multifunction DAQ (MIO)
Problem: I am generating a finite pulse train using a counter with NI-DAQmx. I need to know when my finite pulse train is done. I tried using the Is Pulse Done? and Ready For New Value DAQmx Channel Property Nodes, but they don't work. How can I tell when generation is complete for a finite pulse train? Solution: The Is Pulse Done? and Ready For New Value DAQmx Channel Property Nodes only work with single pulses. In order to use one of these property nodes to check when pulse train generation is complete, you will need to set up the pulse train as two counter tasks. Configure the tasks so that the first counter outputs a continuous pulse train, while the second counter creates a pulse (pause trigger) to allow a certain number of pulses from the first counter to pass. You can use the second counter with the DAQmx Channel Property nodes mentioned to measure when the pulse train is done. The list below shows the steps to follow:
See the attached image for an example of how to implement this in LabVIEW.
Report Date: 06/28/2007 Last Updated: 10/22/2007 Document ID: 4AR9T749 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
