Software: A-B-X test
All of the software for the A-B-X test is in the form TyE_FrmAbxTest.FRM.
The variables which are saved in the initialisation file are in the module TyE_ModIniFile.BAS
The A-B-X test modifies the settings for volume and led's of the Attenuator Unit and inspects the button status with the variables declared in the file TyE_ModGlobals.BAS.
Although the code is fairly self explaining by namegiving and comment lines a few remarks must be made:
- The actual code in the statemachine AbxTimer_Timer() is quite more complex than mentioned in the Flowdiagram (English) or Stroomschema
(NL). That is because some extra states and tests had to be inserted to
prevent strange behaviour when a button is pressed for somewhat longer
time. Also states in which logging is used must be left quickly to
prevent repeating logging messages and some extra code was required to
adapt to the fact that it takes some time to clear the buttonstatus.
- The calculation for the Reliability factor is explained on the page about the Normal Distribution (English) or Normaalverdeling (NL).
- For most Logging messages no defaults are available, so it is important to use a language file.