Data Acquisition (DAQ) and Control from Microstar Laboratories

DAPL Processing Commands

Configuration Commands

System Commands

Processing Elements

DSP -- Filtering Commands

DSP -- Spectral Analysis

Sensor Conditioning Commands

Processing Commands

Trigger Commands

Output Commands

Process Control Commands

Data Flow Commands

DAPL processing commands are used to analyze data, detect important features, test for special conditions, or collect statistical information.


+ - * / & | ^ << >>
Calculate arithmetic and logical operations on data: addition, subtraction, multiplication, division, with logical and, logical or, xor, shift left, shift right. Coefficients can be pipes, constants or variables.
HIGH (s, n, d)
Reads blocks of n values from source s and places maximum values in destination d.
LOW (s, n, d)
Reads blocks of n values from source s and places minimum values in destination d.
ABS (s, d)
Reads data from source s, forms absolute values, and places results in destination d.
PULSECOUNT (s, n, c)
Reads data from source s, detects low-to-high transitions of bit n, and places transition counts in variable c.
DELTA (s, d)
Reads data from source s and places differences between current and previous values in destination d. DELTA approximates differentiation of the source data.
INTEGRATE (s, d)
Reads from source s, integrates by the trapezoidal method, and places results in destination d.
SQRT (s, d)
Reads from source s, calculates square roots, and places results in destination d.
RANDOM (n, d)
Fills destination d with random numbers generated with seed n.
POLAR (s, d)
Reads from source s, converts data from rectangular to polar coordinates, and places results in destination d.
AVERAGE (s, n, d)
Reads from source s and places block averages in destination d.
BAVERAGE (s, n1, n2, d)
Reads n2 blocks of n1 points from source s and places averages of corresponding points in destination d. This command operates like the AVERAGE command, simultaneously and independently averaging data on multiple data channels.
VARIANCE (s, n, d)
Reads blocks of n values from source s, computes statistical variance of each block, and places results in destination d.
DECIBEL (s, ref, scale, d)
Reads data from source s, converts to decibel units, and places results in destination d.
RMS (s, n, d)
Reads data from source s and places RMS power in destination d.
COSINEWAVE (a, n, d)
Places cosine wave data in destination d. Maximum value of amplitude a is 32767. n is the number of samples per cycle. Amplitude or frequency, or both, may be modulated with optional parameters.
SAWTOOTH (a, n, d)
Places sawtooth wave data in destination d. Maximum value of amplitude a is 32767. n is the number of samples per cycle. Amplitude or frequency, or both, may be modulated with optional parameters.
SINEWAVE (a, n, d)
Places sine wave data in destination d. Maximum value of amplitude a is 32767. n is the number of samples per cycle. Amplitude or frequency, or both, may be modulated with optional parameters.
SQUAREWAVE (a, n, d)
Places square wave data in destination d. Maximum value of amplitude a is 32767. n is the number of samples per cycle. Amplitude or frequency, or both, may be modulated with optional parameters.
TRIANGLE (a, n, d)
Places triangle wave data in destination d. Maximum value of amplitude a is 32767. n is the number of samples per cycle. Amplitude or frequency, or both, may be modulated with optional parameters.
FINDMAX (s, n, r, d)
Reads blocks of n values from source s and places in destination d each maximum value within region r. An optional extra destination holds the index in n of each maximum value.
RANGE (s, r, d)
Transfers from source s to destination d those values that fall in region r.
EXTRACT (s, b, d)
Reads bit b from each value in source and writes 0 or 1 as a value to destination d. Bit b is 0 for the least significant bit through 15 for the most significant.
PCOUNT (s, v)
Increments a count in variable v for each value in source s.
PVALUE (s, v)
Updates variable v with each value in source s.
PULSECOUNT (s, b, v)
Counts in variable v each low-to-high transition of bit b in successive values from source s.
CTCOUNT (s, d)v
Implements a 32-bit counter with 16-bit counter/timer hardware. Asssumes fewer than 65,535 pulses between successive acquisitions from a Counter Timer Board as source s. Destination d is a 32-bit pipe.
CTRATE (s, d)
Takes differences between successive acquisitions from a Counter Timer Board as source s to provide a frequency or rate to destination d.
Top

 

Return to the Software or DAPL page.