DebugPrint
In short
Simply prints its command to stdio. Advanced settings allow it to throw variable exceptions, to simulate hardware failure.
Settings
Global:
Module_Name
-String
:Set this toDebugPrint
to load this page's module.Command_Name
-String
:The command that will trigger this module when called by a user or script.Warner
-String
:What system will be used to alert of a failure by this Driver. There are a few keywords here:default
will use the systems default (set in the .ChamberConfig file), and if empty it will not attempt an alert at all.Checker
-String
:This feature is still in development!
Advanced:
CrashChance
-Double
: Hardcoded chance for this Driver to crash everytime it is run. The system will recover and log the crash.
Template configuration
#####################
# Basic Settings #
#####################
# The name of the module to load. This might be SmartLight or LegacyI2C_DoubleRail.
Module_Name=DebugPrint
# The command that will trigger this module when called by a user or script.
Command_Name=STRING
# What system will be used to alert of a failure by this Driver. There are a few
# keywords here: <code>default</code> will use the systems default (set in the
# .ChamberConfig file), and if empty it will not attempt an alert at all.
Warner=STRING
# This feature is still in development!
Checker=STRING
#####################
# Advanced Settings #
#####################
# Hardcoded chance for this Driver to crash everytime it is run. The system will recover and log the crash.
CrashChance=DOUBLE
Normal configurations
test
##################### # Basic Settings # ##################### # The name of the module to load. This might be SmartLight or LegacyI2C_DoubleRail. Module_Name=DebugPrint # The command that will trigger this module when called by a user or script. Command_Name=test # What system will be used to alert of a failure by this Driver. There are a few # keywords here: <code>default</code> will use the systems default (set in the # .ChamberConfig file), and if empty it will not attempt an alert at all. Warner=default # This feature is still in development! Checker= ##################### # Advanced Settings # ##################### # Hardcoded chance for this Driver to crash everytime it is run. The system will recover and log the crash. CrashChance=0.0
crash
##################### # Basic Settings # ##################### # The name of the module to load. This might be SmartLight or LegacyI2C_DoubleRail. Module_Name=DebugPrint # The command that will trigger this module when called by a user or script. Command_Name=crash # What system will be used to alert of a failure by this Driver. There are a few # keywords here: <code>default</code> will use the systems default (set in the # .ChamberConfig file), and if empty it will not attempt an alert at all. Warner=default # This feature is still in development! Checker= ##################### # Advanced Settings # ##################### # Hardcoded chance for this Driver to crash everytime it is run. The system will recover and log the crash. CrashChance=1.0