Jump to content
  • 0

Exporting Data using Script


KayCee

Question

Hello, 

I'm having issues creating a script to continuously export the data from the spectrum analyzer. I'm very new to programming so while i have looked at other posts on this topic i wasn't able to get what i was looking for. 

The code i have gotten from other posts is:

for(var i = 0; i < 10 && wait(); i++){

Spectrum1.run()

Spectrum1.wait()

Spectrum1.Export("~Desktop/default"+i+".csv")

}

The script runs, turns on the spectrum analyzer, and ends but i don't get a file on my desktop. 

Any help would be greatly appreciated. 

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

Archived

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

×
×
  • Create New...