Approximate Frequency Measurement with USB-600X Simple Edge Counter
The operation is as follows:
Steps:
1. Create empty task
2. Create a Counter Input channel to Count Events. The Edge parameter must be set to increment on falling edges.
3. Call the Start VI to arm the counter and begin counting. The counter will be preloaded with the Initial Count.
4. The counter will be continually polled until the Stop button is pressed on the front panel. This will give both counter readings as well as approximate frequency readings.
5. Stop the task
6. Call the Clear Task VI to clear the Task.
7. Use the popup dialog box to display an error if any.
Requirements
Filename: 1406.vi
Software Requirements
Application Software: LabVIEW Base Development System 7.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Multifunction DAQ (MIO)
Hardware Model: USB-6009, USB-6008
Driver: NI-DAQmx 7.4
Software Requirements
Application Software: LabVIEW Base Development System 7.1
Language(s): LabVIEW
Hardware Requirements
Hardware Group: Multifunction DAQ (MIO)
Hardware Model: USB-6008, USB-6009
Driver: NI-DAQmx Base 1.4
Reader Comments | Submit a comment »
.NET equivalent for this function
I was wondering if you have an
equivalent sample using the .NET
environment and DAQmx
- jdietrich@modusmed.com - Jun 22, 2006
Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).
