Capturing GPIB Command Sequences for Instrument Migration