12-08-2020 08:42 AM
I've done a little digging and haven't found quite what I'm looking for. hoping someone can help. I have an application, where I am basically building a rules engine. This application uses rules and conditions stored in a database. Each rule is tied to a condition, and my conditions have a basic structure of a numeric evaluation sequence, a Boolean AND/OR operator, parenthetical groupings, operators (<, >, etc.), a value to compare against (free-text), and a parameter which is pulled from the external system.
The problem: The parameters are constantly being updated, so I do need to be able to pull them on the fly and make them available to my admins so they can create new rules or change rules, or whatever - and my application needs to be able to pull the latest list of parameters to use in the rule evaluation engine.
What is the best way to make the list of parameters available to my admins for them to update this form. I need the parameters to match exactly, as they are coming from a second system that I have no control over, so I need to force my admins to make a selection from what is available.
What I'm doing in the screenshot isn't working. it is throwing an error about duplicate strings, even though there are no duplicates
Error Message: LabVIEW: (Hex 0x469) You cannot assign the same numeric value to two or more strings in a ring control. You also cannot assign the same string value to two or more strings in a combo box control.
I did attempt resetting the control before doing this, but got the same result.
Please Help!
12-08-2020 08:49 AM - edited 12-08-2020 09:03 AM
figured out my mistake... wired the string/int backwards... smh...
in any case, I still cannot get the parameter ring control in the Condition cluster in the Conditions Array to populate with all possible values.
12-09-2020 01:38 AM - edited 12-09-2020 01:38 AM
12-09-2020 05:07 AM
@GerdW wrote:Btw. have you heard of the MinMax function in the comparisons palette?
Also look into autoindexing and conditional last value indexing.
Both will replace the need the shift registers, I think completely, increasing readability. And it would have been faster to make, but only if you do it from the start of course.