Template:UgFrequencyCounter: Difference between revisions

From Phidgets Support
(Created page with "===Frequency Counter=== right|link= When you double click on a Frequency Counter object, a window like the one pictured will open. *...")
 
No edit summary
 
(9 intermediate revisions by 2 users not shown)
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|center|link=]]


[[Image:FrequencyCounter_Example.jpg|right|link=]]


When you double click on a Frequency Counter object, a window like the one pictured will open.
{{UGExampleDescription}}
 
*'''Frequency:''' the average frequency calculated from the pulses in the event so far.
* At the top of the window, information about your device and the properties of this particular channel will be listed.
*'''Total Count:''' the total number of pulses since opening the example.
* On the left, you can control the various settings:
*'''Total Time:''' the total time in milliseconds that has elapsed since opening this example.
** '''Enabled:''' Click to enable the Frequency Counter input.
*Enter a cutoff frequency in the ''Frequency Cutoff(Hz)'' textbox 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".
** '''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 encoder's technical specifications to determine which mode to use.
* On the right, data from the encoder is displayed in real-time:
** '''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.
** '''Frequency:''' The average frequency calculated from the pulses in this event so far.
** '''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">

Latest revision as of 23:42, 19 June 2017

Frequency Counter

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


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

  • Frequency: the average frequency calculated from the pulses in the event so far.
  • Total Count: the total number of pulses since opening the example.
  • Total Time: the total time in milliseconds that has elapsed since opening this example.
  • Enter a cutoff frequency in the Frequency Cutoff(Hz) textbox and the {{{1}}} will ignore frequencies below the specified value.