diff --git a/Instrument_Examples/AFG31000/Send_and_Save_Arb_Waveform_Example.py b/Instrument_Examples/AFG31000/Send_and_Save_Arb_Waveform_Example.py index 118adda..ba35968 100644 --- a/Instrument_Examples/AFG31000/Send_and_Save_Arb_Waveform_Example.py +++ b/Instrument_Examples/AFG31000/Send_and_Save_Arb_Waveform_Example.py @@ -52,4 +52,6 @@ # Save channel 1 as a .tfwx file instrument.write("MMEMory:STORe:TRACe EMEMory1,\"M:/sample1.tfwx\"") -rm.close() #Close Visa Connection +instrument.clear() # Clear connection +instrument.close() # Close VISA session +rm.close() # Close Visa Connection