Jump to content
  • 0

Wait for averaging in script


Phil_D

Question

Is there a way for a script function to have a delay that will wait for a certain number of averages to take place before stopping the trace?

Right now, I'm doing this:

Spectrum1.run()
wait(1.1)
Spectrum1.stop()
Spectrum1.Export("C:/Users/User/pjm_2019/acquisition410.doc")

For the few times I tried this by hand, 1.1 seconds was enough time to get at least 50 averages in my trace. I'm just wondering if there isn't something a little more precise than this, that would maybe get feedback from the Spectrum display and know exactly when 50 averages was achieved.

Thanks!

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...