LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

event or time counter configuration in labvew 9

The equivalent of this (This VI configures one or two counters to count the signal on the specified counter's SOURCE) in labview 9?

0 Kudos
Message 1 of 10
(3,175 Views)

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

 

 

http://www.medicollector.com
0 Kudos
Message 2 of 10
(3,150 Views)

I had the same question..A VI that has the same functionality of the event or time counter configuration with the NIDAQmx package?

0 Kudos
Message 3 of 10
(3,093 Views)

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>

 


0 Kudos
Message 4 of 10
(3,076 Views)

which do you recommend chooseing? there are three vi's under the count digital events tab.

thanks

0 Kudos
Message 5 of 10
(3,043 Views)

also how would I create this as a subvi that I could easily call in my main vi?

 

thanks

0 Kudos
Message 6 of 10
(3,042 Views)

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> 


0 Kudos
Message 7 of 10
(3,023 Views)

would i need to modify the CountDigitalEvents code any to match the event or time counter config vi?

 

0 Kudos
Message 8 of 10
(3,006 Views)

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> 


0 Kudos
Message 9 of 10
(2,987 Views)

would i need to modify the CountDigitalEvents code any to match the event or time counter config vi?

0 Kudos
Message 10 of 10
(2,976 Views)