Host Engineering Forum

General Category => Do-more CPUs and Do-more Designer Software => Topic started by: MarkTTU on July 12, 2024, 12:47:52 PM

Title: Expression Relational Contacts
Post by: MarkTTU on July 12, 2024, 12:47:52 PM
I must be missing something on how to use this new function. I'm trying to do

--- (r21) > (r22-5) ------ MATH

But I just keep getting an error that says "invalid decimal ID".

What am I missing? Or is this not what the new expression relational contacts are meant to do?
Title: Re: Expression Relational Contacts
Post by: BobO on July 12, 2024, 12:53:27 PM
I must be missing something on how to use this new function. I'm trying to do

--- (r21) > (r22-5) ------ MATH

But I just keep getting an error that says "invalid decimal ID".

What am I missing? Or is this not what the new expression relational contacts are meant to do?

Click the "Expression" button.

White input fields can only accept simple elements. Yellow input fields accept expressions.
Title: Re: Expression Relational Contacts
Post by: franji1 on July 12, 2024, 12:55:27 PM
The Expression version of the relational contact is much more elaborate than the simple relational contact.  Since most people just need simple relationals, you get the simple editor.  You have to hit the Expression button to toggle it to the more extensive Expression version.
Title: Re: Expression Relational Contacts
Post by: MarkTTU on July 12, 2024, 04:47:50 PM
That got it and man do I feel like an idiot for not trying to press that button  ::)

Thanks guys! This expression relational contact is going to make reading some of my code MUCH simpler. Awesome new feature.
Title: Re: Expression Relational Contacts
Post by: Controls Guy on July 12, 2024, 06:36:08 PM
That got it and man do I feel like an idiot for not trying to press that button  ::)

Thanks guys! This expression relational contact is going to make reading some of my code MUCH simpler. Awesome new feature.

Yeah, I have MATH boxes with a coil as the destination.   This is going to be so much cooler!