Machinekit

Machinekit

Machinekit Documentation

HAL Component — MAXN

INSTANTIABLE COMPONENTS — General

All instantiable components can be loaded in two manners

Using loadrt with or without count= | names= parameters as per legacy components
Using newinst, which names the instance and allows further parameters and arguments
primarily pincount= which can set the number of pins created for that instance (where applicable)

NAME

maxn — Output the maximum of all inputs

SYNOPSIS

maxn

USAGE SYNOPSIS

loadrt maxn
OR
newinst maxn <newinstname> [ pincount=N | iprefix=prefix ] [instanceparamX=X | argX=X ]

( args in [ ] denote possible args and parameters, may not be used in all components )

FUNCTIONS

maxn.N.funct ( OR <newinstname>.funct (requires a floating-point thread) )

PINS

maxn.N.out float out ( OR <newinstname>.out float out ) - Follows the highest value of all in pins

maxn.N.in%01d float in (M=0..pincount) ( OR <newinstname>.in%01d float in (M=0..pincount) )

INST_PARAMETERS

pincount int (default: 2)

AUTHOR

Alexander Roessler

LICENCE

GPL