Skip to content

Latest commit

History

9 Commits

Folders and files

NameName
Last commit message
Last commit date

Repository files navigation

ko-fi

Searching Source Names to present on the Touch Panel

 __ __ __ __ __ __
<(o )___ <(o )___ <(o )___ <(o )___ <(o )___ <(o )___ GOD BLESS AMERICA
( ._> / ( ._> / ( ._> / ( ._> / ( ._> / ( ._> / JULY 4TH, 1776
`---' `---' `---' `---' `---' `---' 

What does this module do?

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:

TYPEINPUT VAROUTPUT VARTYPE
STRINGSearch$Search_FB$STRING
DIGITALSource[001-500]VIS_INSource[001-500]VIS_OUTDIGITAL
STRINGSource[001-500]Text$

How it works...

I tied "Search$" to the TextEntry smart graphic on my touch panel.

  1. 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.
  2. If there is a match then Source[X]VIS_OUT goes high.
  3. 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!

TO-DO

  • PROVIDE MODULE
  • PROVIDE EXAMPLE PROGRAM
  • DETAIL README


Duck1776 GitHub stats

ko-fi

Releases

Sponsor this project

Packages

Contributors