Jump to content
  • 0

Analog discovery 2: Export Wavegen data through script


Dante

Question

Hello, 

I am trying to export Wavegen Channel1 data to a .csv file through the script. 
For my example I have a square wave as shown below:


image.thumb.png.5d04531599c096ed0e4b709a8189ff95.png

When I export this data manually it works as expected but I run this script :
Wavegen1.Channel1.Export("C:/acquisition.csv")

I get a .csv file with no data information as shown below:
image.png.186b3413ec8f3daecc769039ffc2cebc.png

 

What do I need to change in my script so that the data is exported as well?

Thank you.

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...