Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: RBPLC on April 18, 2022, 07:33:14 AM

Title: MATH feature request
Post by: RBPLC on April 18, 2022, 07:33:14 AM
One frustrating thing about using the MATH instruction is having to know the exact name of all variables needed in the instruction. I'm hoping you guys can incorporate some way to search for variables while in the MATH instruction. It's difficult building an equation with multiple variables and not being able to look up those variables but instead being required to remember them and correctly spell all of them. 
Title: Re: MATH feature request
Post by: franji1 on April 18, 2022, 09:06:34 AM
With your cursor in the Expression multi-line editor, hit F9 to bring up the Element Picker.  It also works in the Result field.

We need to add a button, in addition to the hot key.
Title: Re: MATH feature request
Post by: franji1 on April 18, 2022, 09:08:15 AM
We are looking to implement an auto-complete mechanism for elements, function calls, parameters, etc.  I think this will be extremely helpful.
Title: Re: MATH feature request
Post by: RBPLC on April 18, 2022, 09:10:38 AM
With your cursor in the Expression multi-line editor, hit F9 to bring up the Element Picker.  It also works in the Result field.

We need to add a button, in addition to the hot key.

Didn't realize you could do this with F9 (not something I use frequently). A button would definitely be helpful.
Title: Re: MATH feature request
Post by: RBPLC on April 18, 2022, 09:11:09 AM
We are looking to implement an auto-complete mechanism for elements, function calls, parameters, etc.  I think this will be extremely helpful.

Auto-complete would be the most helpful (better than a button).
Title: Re: MATH feature request
Post by: Controls Guy on April 18, 2022, 07:29:16 PM
And retained but ignored whitespace, like tabs, CRLFs, etc., so we can format long expressions for better reading.
Title: Re: MATH feature request
Post by: franji1 on April 20, 2022, 02:23:48 PM
We added an Element Picker button to the Expression field label in 2.9.3

Auto Complete is a little more work, TBD  ;D
Title: Re: MATH feature request
Post by: RBPLC on April 21, 2022, 08:29:28 AM
Thanks franji. Threshold = Button, Objective = Auto Complete.