Dante Posted June 20, 2022 Share Posted June 20, 2022 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: 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: 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 More sharing options...
0 JColvin Posted June 21, 2022 Share Posted June 21, 2022 Hi @Dante, I have moved your question to a more appropriate section of the Forum where the engineer most familiar with the WaveForms software will be able to see and respond to your question. Thanks, JColvin Link to comment Share on other sites More sharing options...
0 attila Posted June 22, 2022 Share Posted June 22, 2022 Hi @Dante Use: Wavegen1.Export("~/Desktop/preview.csv", "Channel1") Be aware that this is just the Wavengen output preview. Dante 1 Link to comment Share on other sites More sharing options...
Question
Dante
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:
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:
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 accountSign in
Already have an account? Sign in here.
Sign In Now