Add code which have tested with PicoScope 3027, fix the bug which dead when there's no picoscope plug-in