__ __ __ __ __ __
<(o )___ <(o )___ <(o )___ <(o )___ <(o )___ <(o )___ GOD BLESS AMERICA
( ._> / ( ._> / ( ._> / ( ._> / ( ._> / ( ._> / JULY 4TH, 1776
`---' `---' `---' `---' `---' `---'
This was built because I had to make a module that would search through an NVX system that had 500 sources...
The Module is structured this way:
TYPE | INPUT VAR | OUTPUT VAR | TYPE |
---|---|---|---|
STRING | Search$ | Search_FB$ | STRING |
DIGITAL | Source[001-500]VIS_IN | Source[001-500]VIS_OUT | DIGITAL |
STRING | Source[001-500]Text$ |
I tied "Search$" to the TextEntry smart graphic on my touch panel.
- For every change of Search$, the module will perform a FOR loop to check each Source[X]Text$, however, it will only check the source text of sources that are also Enabled via Source[X] VIS_IN.
- If there is a match then Source[X]VIS_OUT goes high.
- When the length of Search$ is 0, then Source[X]VIS_OUT is set equal to Source[X]VIS_IN.
I wanted to make this a C# module, but not sure how to do that right now. If you know of a solution let me know in This Discussions
Enjoy!
- PROVIDE MODULE
- PROVIDE EXAMPLE PROGRAM
- DETAIL README