Template:UgFrequencyCounter: Difference between revisions

From Phidgets Support
No edit summary
Line 1: Line 1:
===Frequency Counter===
===Frequency Counter===
 
Double-click on the Frequency Counter object in order to run the example:
[[Image:{{{1}}}_FrequencyCounter_Example.jpg|right|link=]]
[[Image:{{{1}}}_FrequencyCounter_Example.jpg|right|link=]]


When you double click on a Frequency Counter object, a window like the one pictured will open.


* At the top of the window, information about your device and the properties of this particular channel will be listed.
{{UGExampleDescription}}
* On the left, you can control the various settings:
*Toggle the ''Enabled'' checkbox to enable/disable the {{{1}}}.
** '''Enabled:''' Click to enable the Frequency Counter input.
*Enter a ''Frequency Cutoff(Hz)'' and the {{{1}}} will ignore frequencies below the specified value.
** '''Timeout:''' How long the device will wait without detecting any pulses before reporting "0 Hz".
*Enter a filter type from the ''Filter Type'' drop-down menu. A ''Logic Level'' signal goes from alternates between 0 and VCC. A ''Zero Crossing'' signal goes from -VCC to VCC.
** '''Filter Type:''' A ''logic level'' pulse goes from 0 to VCC (5V in this case), and back to 0; while a ''zero crossing'' signal goes from -VCC to VCC. Check your frequency counter's technical specifications to determine which mode to use.
*Modify the data interval value by dragging the slider. For more information on this setting, see the [[Data_Rate_and_Change_Trigger|data interval]] page.
* On the right, data from the frequency counter is displayed in real-time:
*The ''Frequency'' label indicates the average frequency calculated from the pulses in the event so far.
** '''Count Event:''' When equal to 1, the Frequency Counter is currently counting pulses toward the current frequency. When equal to 0, no event is active. Lengthen the timeout in order to allow for longer pauses without resetting the event.
*The ''Total Count'' label indicates the total number of pulses since opening the example.
** '''Frequency:''' The average frequency calculated from the pulses in this event so far.
*The ''Total Time'' label indiciates the total time in milliseconds that has elapsed since opening this example.
** '''Total Count:''' The total number of pulses since opening this example window.
** '''Total Time:''' The total time in ms elapsed since opening this example window.
<br clear="all">
<br clear="all">

Revision as of 20:57, 14 June 2017

Frequency Counter

Double-click on the Frequency Counter object in order to run the example: [[Image:{{{1}}}_FrequencyCounter_Example.jpg|right|link=]]


General information about the selected object will be displayed at the top of the window. You can also experiment with the following functionality:

  • Toggle the Enabled checkbox to enable/disable the {{{1}}}.
  • Enter a Frequency Cutoff(Hz) and the {{{1}}} will ignore frequencies below the specified value.
  • Enter a filter type from the Filter Type drop-down menu. A Logic Level signal goes from alternates between 0 and VCC. A Zero Crossing signal goes from -VCC to VCC.
  • Modify the data interval value by dragging the slider. For more information on this setting, see the data interval page.
  • The Frequency label indicates the average frequency calculated from the pulses in the event so far.
  • The Total Count label indicates the total number of pulses since opening the example.
  • The Total Time label indiciates the total time in milliseconds that has elapsed since opening this example.