you made great products with Analog Discovery and Electronics Explorer, especially since Waveforms 3 offers even more functionality!
For Debugging especially the Logging-function is useful. In my case I'm sending SPI signals to a FPGA which controls a power electronics circuit. Some times there are glitches or faulty output values, so that I wanted to check the sent SPI signals. Therefore I want to log them and make a statistical analysis, since the errors are not periodical. I output a 50Hz sinus signal and send about 10 SPI commands per period. As sending the signals is much faster than the output signal, I can only see one of the commands at a time. To decode it I have to choose a resolution of 20µs or less in the logic analyzer. Logging this signal gives me a huge csv with very little information.
I've read the scripting page in your wiki but I didn't find an answer to my question: Is it possible to write a script, which only saves new datawords in a csv? Something like take 10000 samples and only write the SPI word 'on signal change' to the csv? If not, would it be possible to only write the SPI word of a certain time frame (e.g. only write value from SPI at sample 1200 to the csv and do this for 10000 triggered events)?
Question
Arthur
Hello,
you made great products with Analog Discovery and Electronics Explorer, especially since Waveforms 3 offers even more functionality!
For Debugging especially the Logging-function is useful. In my case I'm sending SPI signals to a FPGA which controls a power electronics circuit. Some times there are glitches or faulty output values, so that I wanted to check the sent SPI signals. Therefore I want to log them and make a statistical analysis, since the errors are not periodical. I output a 50Hz sinus signal and send about 10 SPI commands per period. As sending the signals is much faster than the output signal, I can only see one of the commands at a time. To decode it I have to choose a resolution of 20µs or less in the logic analyzer. Logging this signal gives me a huge csv with very little information.
I've read the scripting page in your wiki but I didn't find an answer to my question: Is it possible to write a script, which only saves new datawords in a csv? Something like take 10000 samples and only write the SPI word 'on signal change' to the csv? If not, would it be possible to only write the SPI word of a certain time frame (e.g. only write value from SPI at sample 1200 to the csv and do this for 10000 triggered events)?
Best regards,
Arthur
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.