Code: Select all
status["SetSigGenBuiltIn"] = ps.ps2000aSetSigGenBuiltIn(chandle, 0, 2000000, wavetype, 10000, 10000, 0, 1, sweepType, 0, 0, 0, triggertype, triggerSource, 1) assert_pico_ok(status["SetSigGenBuiltIn"]) # Pauses the script to show signal time.sleep(10)
I am using picoscope from 2000a series. I am writing a pyton script that can produce a sound for limited time,
for this use i found this sweeping function which can sweep on frequency range, according to some variables.
The problem is that when it gets to the end of this range it will not stop by himself, it will remain on the last frequency until new order will come (close unit, new sweeprange). which will be after the sleeping will be completed.
I need a way to make it stop producing output. This feature is very important for me! is there any function that will silent the Picoscope's output?
thanks in advance,