A Framework for the Computer-based Control of Complex Electronic Instrumentation