27.09.2014 Views

PDF (double-sided) - Physics Department, UCSB - University of ...

PDF (double-sided) - Physics Department, UCSB - University of ...

PDF (double-sided) - Physics Department, UCSB - University of ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Another benefit <strong>of</strong> this hard separation <strong>of</strong> Modules are the “social” implications.<br />

Since Modules are accessed through the abstract interface provided by<br />

LabRAD, it is possible to use them without ever having to look at their sourcecode.<br />

Thus, Modules can and will be effectively treated as black boxes, which has<br />

two main advantages.<br />

First, since it is never necessary to look at a Module’s source-code, the perception<br />

<strong>of</strong> the Module as a magical whole remains, quenching the desire for another<br />

user to ever mess with it. Just like most people would never consider editing a<br />

program like Open Office despite the fact that the source code is available. People<br />

either find ways around missing features or request their implementation from<br />

the original developers, rather than trying to add new features themselves, which<br />

always bears the risk <strong>of</strong> breaking existing code.<br />

Secondly, the hard separation makes it easy to declare a specific person responsible<br />

for the maintenance <strong>of</strong> the Module. This way, any code changes are<br />

made by the person that has the best overview <strong>of</strong> potential implications for both<br />

reliability and performance.<br />

Last, but not least, the modular nature <strong>of</strong> LabRAD addresses the Abstraction<br />

Requirement very effectively. A LabRAD system can be layered just like the HALs<br />

(Hardware Abstraction Layers) used in operating systems. For example, there can<br />

be one Module each to provide access to the lab’s different GPIB buses. A single<br />

131

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!