Part 1: Oscilloscope and Signal Generator
Part 2: SCPI Python programming
Red Pitaya SCPI library: