12-15-2010 01:51 PM
The equivalent of this (This VI configures one or two counters to count the signal on the specified counter's SOURCE) in labview 9?
12-16-2010 08:34 AM
Your question is a litte vague. But my guess is that you need to view some of NI's training and tutorial material on counter/timers, such as these:
http://zone.ni.com/devzone/cda/tut/p/id/12491
http://zone.ni.com/devzone/cda/tut/p/id/3117
01-12-2011 01:15 PM
I had the same question..A VI that has the same functionality of the event or time counter configuration with the NIDAQmx package?
01-13-2011 11:48 AM
Lakersrl,
The example code you are looking for can be found in the NI Example finder. Help>> Find Examples... Once you open the example finder go to hardware input output>>DAQmx>>CounterMeasurements>>CountDigitalEvents.
This is how you get the count events functionality out of DAQmx code.
<Joel Khan | Applications Engineering | National Instruments | Rice University BSEE>
01-19-2011 12:45 PM
which do you recommend chooseing? there are three vi's under the count digital events tab.
thanks
01-19-2011 12:47 PM
also how would I create this as a subvi that I could easily call in my main vi?
thanks
01-20-2011 01:31 PM
I would just start with the "Count Digital Events.vi" to start off. You can make any VI a subvi. You just need to save it and you can drag it into another VI. For instance save the example to your desktop, open another VI, and drag the example code from your desktop into the new VI.
You should use projects when you have multiple VIs of your creation being used.
Good tutorial on SubVIs:: http://decibel.ni.com/content/docs/DOC-1694
<Joel Khan | Applications Engineering | National Instruments | Rice University BSEE>
01-21-2011 02:19 PM
would i need to modify the CountDigitalEvents code any to match the event or time counter config vi?
01-24-2011 12:08 PM
Usually customers use the example programs shipped with labview as a starting point for their application. They usually do GUI changes and might change the code parameters in order to get the functionality they need out of the program.
<Joel Khan | Applications Engineering | National Instruments | Rice University BSEE>
01-24-2011 03:44 PM
would i need to modify the CountDigitalEvents code any to match the event or time counter config vi?