Use of customizable software and modular measurement hardware to create user-defined measurement systems, called virtual instruments