Image by Gerd Altmann from Pixabay
Question from the Customer:
I have a question about the Beagle I2C/SPI Protocol Analyzer, which I am using with Data Center Software. I have a lot of SPI data to capture and review. I need to save the raw data as plain text on a hard drive. How can I do that?
Response from Technical Support:Thanks for your question! This can be done with our Beagle Software API. We have an example script that continues to save data to the hard drive until you press a key on the keyboard. You can modify this program as needed.
Several functional scripts are provided with Beagle Software API. The script that we are using for your setup is capture_i2c_disklogs.c. The following are steps to modify the program, which refer to the numbered lines of code in that script.
You will need a text editor and Microsoft Visual Studio for building the file. The executable file will be run in a command window.
>> <project name which contains capture_i2c_disklogs.c> <max_packet_len> <num_events>
This is a basic setup. You can continue to modify the script for exactly what you need.
We hope this answers your question. Additional resources that you may find helpful include the following:
If you want more information, feel free to contact us with your questions, or request a demo that applies to your application.