AUBRAUX
 

 

Exim

Ensemble

Quantum

JitLab

PCScope

Modules:

SigGen

SoundImp

SoundExp

Plot

Meas

Stats

FileImp

TextImp

TextExp

Filter

FFT

DspWnd

Visa

Arithmetic

Plugins:

CodeEditor

SchEditor

Wizards:

JitLab

Help:

Getting Started

Examples:

PC Oscilloscope

Signal Generator

Amp. Modulation

Freq. Modulation

Phase Modulation

AM, FM & PM

PAM

PWM

Text Imp. & Exp.

 

Filter: FIR & IIR Digital Filters

Programming Interface

Settings

Filter Type

Syntax:filtertype
Type:string
Unit:n/a
Default :"FIR"

Either "FIR" or "IIR"

Delimiter

Syntax:delimiter
Type:string
Unit:n/a
Default :","

Specify "tab", "line", "space", or your own, for example ",".

Filter Bypass Mode

Syntax:bypass
Type:long
Unit:n/a
Default :0

0=OFF, 1=ON

Continuous Mode

Syntax:continuous
Type:long
Unit:n/a
Default :0

0=OFF, 1=ON

FIR Filter Coefficients

Syntax:coeffs
Type:string
Unit:n/a
Default :"1"

List of coefficients separated by commas or user specified delimiter, in the order a0...an.

IIR Filter X-Coefficients

Syntax:coeffs
Type:string
Unit:n/a
Default :"1"

List of X-coefficients separated by commas or user specified delimiter, in the order a0...an.

IIR Filter Y-Coefficients

Syntax:y.coeffs
Type:string
Unit:n/a
Default :""

List of Y-coefficients separated by commas or user specified delimiter, in the order b1...bn.

Filter Output Gain

Syntax:gain
Type:double
Unit:n/a
Default :1

Floating point value, >0

Number of Stages

Syntax:stages.count
Type:long
Unit:n/a
Default :1

Integer value, greater than or equal to 1

Stage Output Gain

Syntax:stages.gain
Type:double
Unit:n/a
Default :1

Floating point value, >0

Decimation Factor

Syntax:decimation
Type:long
Unit:n/a
Default :1

Integer value, greater than or equal to 1

Functions

Reset State

Resets the filter state when in continuous mode.

void reset()

Returns:None

Window Size

Changes the width and height of the GUI window.

void gui.size(float width, float height)

Returns:None
width:Window width in pixels
height:Window height in pixels

Window Location

Moves GUI window to the specified location and optionally changes size.

void gui.move(float left, float top, float width, float height)

Returns:None
left:Horizontal coordinate for the left edge of the window in pixels.
top:Vertical coordinate for the top edge of the window in pixels.
width:Optional. Window width in pixels
height:Optional. Window height in pixels

Ports

Data In

Syntax:src
Type:Input

Data stream to be filtered.

Data Out

Syntax:out
Type:Output

Filtered data out.

 
©Aubraux

All Rights
Reserved