Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: measuring frequency with pxi-6259, hardware and software example

7 views
Skip to first unread message

Raajit L

unread,
Aug 15, 2008, 10:10:10 AM8/15/08
to
A good way to test whether your DAQ board is working or not is to use the DAQ diagnostic utility, which you can download from the link below.&nbsp;<a href="http://joule.ni.com/nidu/cds/view/p/id/566/lang/en" target="_blank" class="result-title">DAQ Diagnostic Utility 2.0 - Windows 2000/NT/XP --</a> &nbsp;Since this is a TTL signal, you should be able to put it inot one of the PFI lines and be able to measure it.&nbsp; However, there are some lines that are used by default and that might be where the problem lies.&nbsp; What we can do is start from creating a task in Measurement and Automation explorer.&nbsp; To do this Open MAX and find your device under DAQmx Devices &gt;&gt; Right click on the device and select &gt;&gt; Create&nbsp; Task &gt;&gt; Acquire Signals &gt;&gt; Counter Input &gt;&gt; Frequency.&nbsp; Since there are two counters on the board, select one of those counters. Now there are a few different ways in which you can read frequeuncies on the DAQ board and each one of those ways has different PFI lines that you would plug into.&nbsp; Again, these are only default values and you can change them.&nbsp; For now though, if it is easy enough to switch your signal to one of these default lines that would be good.&nbsp; Lets say you want to measure High Frequency, you can select High Frequency from the drop down menu.&nbsp; You will notice that there is a little note that says Connect Your Signal to (Input Terminal) PFI8. This is the default value.&nbsp; If you connect your signal to this value and still dont see a count up value then there might be something else that is going on.&nbsp;Once you get the above to work, we can open up an Example program and take it from there.&nbsp; A good example program is the one shown below, which you can access from the Example Finder. &nbsp; &nbsp;<img src="http://forums.ni.com/ni/attachments/ni/40/6677/1/2008-08-15_090114.jpg" border="0">&nbsp; &nbsp;Let me know how that goes and also what the results of the Diagnostic Utility are.&nbsp;Regards,&nbsp;&nbsp;Message Edited by Raajit L on 08-15-2008 09:03 AM


2008-08-15_090114.jpg:
http://forums.ni.com/ni/attachments/ni/40/6677/1/2008-08-15_090114.jpg

0 new messages