Improved style / error handling for DAC module.
Improved style / error handling for DAC module.

Improved coding style and error handling for the analog outputs
module. Part of issue #56 and issue #59.

Samnsparky/ljswitchboard,Samnsparky/ljswitchboard,Samnsparky/ljswitchboard,Samnsparky/ljswitchboard,Samnsparky/ljswitchboard