Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I set the input channel on a counter for frequency measurement

I am using a counter on a 6250 card and want to measure a frequency on PFI3, using Dev1/ctr1.  The default input channel for counter frequency input is FPI4.  The documentation suggests that you can change the default input channel.  What is the DAQmx C command to do this?  The help files and example programs on absolutely useless for finding the answer, (as well as the paid for tech support service contract...they only support Labview/LabWindows according to the guy I spoke with).

Thanks in advance,

Eric 

0 Kudos
Message 1 of 3
(6,798 Views)

Hi Eric,


I think the DAQmx C command you are refering to is DAQmxSetCIFreqTerm.  This is located under List of Channel Properties>>Counter Input>>Input Terminal.


Also, there is a document that explains how to do this in LabVIEW, CVI and C on our website.

Changing the Input Terminal (Source) for a Counter Measurement with NI-DAQmx

 

 

Regards,
Jordan F
National Instruments
Message 2 of 3
(6,783 Views)
Thanks Jordan, it worked perfectly!
0 Kudos
Message 3 of 3
(6,756 Views)