Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

OAT Build Digital Tacho Info VI

Owning Palette: Tachometer Processing VIs

Installed With: Sound and Vibration Measurement Suite

Builds a digital tachometer signal information cluster that compensates for the input filter delay in the sound or vibration acquisition channel. You can use the output of this VI as an input for the OAT Digital Tacho Process VI.

reset? specifies the initialization of the internal states. The first time this VI runs, or when reset? is TRUE, the internal states initialize to zero. If reset? is FALSE, this VI sets the internal states to the final states from the previous call to the VI. The default is FALSE.
synchronization type specifies the type of synchronization to use to synchronize the vibration and tachometer signal acquisition devices.
0by sharing sample clock—(Default) Specifies that sharing the sample clock of the master device synchronizes the devices.
1by using reference clock—Specifies that using the PXI backplane reference clock synchronizes the devices.
tacho counts specifies the counter value at each tachometer pulse. The default is 0.
sample rate specifies the sound or vibration signal sample rate, synchronized with the input tachometer signal, in samples per second.
counter task type specifies how this VI measures tachometer pulses.
0period measurement—Specifies tacho counts as the count between two sequential pulses.
1event counting—(Default) Specifies tacho counts as the count from the measurement start time to the pulse arrival time.
counter digit specifies the number of digits the counter generates. The default is 32.
error in describes error conditions that occur before this node runs. The default is no error. If an error occurred before this node runs, the node passes the error in value to error out. This node runs normally only if no error occurred before this node runs. If an error occurs while this node runs, it runs normally and sets its own error status in error out. Use the Simple Error Handler or General Error Handler VIs to display the description of the error code. Use error in and error out to check errors and to specify execution order by wiring error out from one node to error in of the next node.
status is TRUE (X) if an error occurred before this node ran or FALSE (checkmark) to indicate a warning or that no error occurred before this node ran. The default is FALSE.
code is the error or warning code. The default is 0. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source specifies the origin of the error or warning and is, in most cases, the name of the node that produced the error or warning. The default is an empty string.
device info specifies the device information you use to calculate the counter timebase rate and compensate for the input filter delay in the sound or vibration acquisition channel.
device type specifies the device type. Supported types include NI dynamic signal acquisition (DSA) devices such as the NI 446X series, NI 447X series, NI 449X series, NI 9229, NI 9233, NI 9234, NI 9239, and user-defined custom devices. The default is custom. You must define a custom device for a device that is not listed. When defining a custom device, set the sample clock rate using the custom sample clock rate parameter, and set the filter delay using the custom input filter delay parameter.
EAR enabled? specifies whether the Enhanced Alias Rejection (EAR) property for DSA device analog input channels is enabled. The default is FALSE.
custom sample clock rate specifies the device sample clock rate when you set device type to custom. The default is 0.
custom input filter delay specifies the input filter delay for the sound or vibration acquisition channel, in number of sample clock samples, when you set device type to custom. The default is 0.
counter timebase [Hz] specifies the frequency of the counter clock in hertz. Use counter timebase [Hz] only when synchronization type is set to by using reference clock. The default is 20M.
digital tacho info returns the tachometer information from the digital input channel of the counter device.
tacho counts returns the tachometer counts at each tachometer pulse.
counter timebase [Hz] returns the frequency of the counter clock in hertz.
counter task type returns the type of counter task this VI used to time tachometer pulses.

0period measurement—Returns tacho counts as the count between two sequential pulses.
1event counting— Returns tacho counts as the count from the measurement start time to the pulse arrival time.
counter digit (32) returns the number of digits from the counter.
error out contains error information. If error in indicates that an error occurred before this node ran, error out contains the same error information. Otherwise, it describes the error status that this node produces. Right-click the error out front panel indicator and select Explain Error from the shortcut menu for more information about the error.
status is TRUE (X) if an error occurred or FALSE (checkmark) to indicate a warning or that no error occurred.
code is the error or warning code. If status is TRUE, code is a nonzero error code. If status is FALSE, code is 0 or a warning code.
source describes the origin of the error or warning and is, in most cases, the name of the node that produced the error or warning.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit