Library Configurators

Top  Previous  Next

Configurators are HTML/JavaScrip-based editors for configuration files.

Internally, configuration files are text files that contain (define) necessary data (for the library to operate). For example, the configuration file for the AGG (AggreGate) library contains text describing AggreGate variables, functions, and events. Looking at the "unshielded" file reveals some really heavy stuff:

 

==info        root        <R=<AGG_TEST_DEVICE><apoint>>

==variables        root        <R=<version><<<version><S>> <M=1> <X=1>><Version><1><0><^><remote|General><^>>

~~<R=<date><<<date><D>> <M=1> <X=1>><Date/Time><1><0><^><remote|General><^>>

~~<R=<modtime><<<variable><S>> <<modtime><D><F=N>>><Modification time><1><0><^><^><^>>

>>BR        S        <R=<BR><<<BR><I><V=<L=0 13>><S=<1200=0><2400=1><4800=2><9600=3><19200=4><38400=5><57600=6><115200=7><150=8><300=9><600=10><28800=11><230400=12><460800=13>>><M=1><X=1>><Baudrate><1><1><^><remote|Access Control><^>>

>>EG        S        <R=<EG><<<EG><B>><M=1><X=1>><Generate Event><1><1><^><remote|Access Control><^>>

>>UT        S        <R=<UT><<<UT><I><V=<L=0 255>>><M=1><X=1>><Unlock Time><1><1><^><remote|Access Control><^>>

>>DS        S        <R=<DS><<<DS><I><S=<Closed=0><Opened=1>><V=<L=0 1>>><M=1><X=1>><Door State><1><0><^><remote|Access Control><^>>

>>user        T        <R=<user><<<user_id><S><V=<L=1 14>><A=123456>><<name><S><V=<L=0 31>>><M=0><X=1024>><user><1><1><^><remote|Access Control><^>>

==functions        root        <R=<hash><<<context><S>><<variable><S>><M=1><X=1>><<<hash><I>><M=1><X=1>><Table Hash><^><^>>

~~<R=<finishTable><<<context><S>><<variable><S>><M=1><X=1>><<<hash><I>><M=1><X=1>><Finish Table><^><^>>

~~<R=<startTable><<<context><S>><<variable><S>><M=1><X=1>><<M=0><X=0>><Start Table><^><^>>

~~<R=<addRecord><<<context><S>><<variable><S>><<record><S>><M=1><X=1>><<M=0><X=0>><Add Record><^><^>>

 

We are sure you'd rather look at this (see below).

Descriptor files are added like any other files. The Type is set to Configuration File, and then the Format is set to the format of the library you are dealing with.

 

test_agg_lib_conf