Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: ddubs2248 on April 04, 2019, 04:20:40 PM

Title: BRX Local I/O
Post by: ddubs2248 on April 04, 2019, 04:20:40 PM
Is it possible to scale the onboard analog inputs with memory locations (i.e. D0, Custom Heap Item, etc.)?  It does not appear so, but maybe, just maybe it will be there in the future?
Title: Re: BRX Local I/O
Post by: ATU on April 04, 2019, 04:31:20 PM
That would be nice.
I use either a Math  or Scale function inside of a For/Next loop with the scale factors stored in a custom UDT.
Title: Re: BRX Local I/O
Post by: franji1 on April 04, 2019, 04:44:44 PM
SCALE box does great for programmatic scaling (vs. static scaling which is in the configuration).  You can even use MATH or LERP if it's non-linear.  Very, very powerful.

Just stick them in the $tTopOfScan for inputs or $tBottomOfScan for outputs.
Title: Re: BRX Local I/O
Post by: ddubs2248 on April 04, 2019, 04:56:15 PM
Guess you guys do think through mostly everything!  Good point Franji1!