Software for a compact measuring system for chemical sensor substrates KBS4