Thank you for your answer!!!
Hmm, your data flow seems a bit awkward. Are you sure you want to approach it like this? The thing is that I didn't find a logic analyser that could deal correctly with both analog and digital signal. Also, the number of channel is quite high so I choose the solution of dealing with the SPI separatly from the analog signals. I did commit a lot on this solution and I already bought the Dslogic so I must find a way to make it work now I guess. Do you think I'm going in the wrong direction? Or that I could choose a simpler path? Because I though it was possible to do it that way but I could be wrong of course.
Is the choice of hardware components already a given, or can you choose something else?The final solution must work, that's the main requirement.
Are the remaining 4 sufficient for your digitized analog data? How do you want to transfer these data -- parallel, serial? How many analog channels, and how do you multiplex them?I was thinking about sending them from the Arduino in serial (the digitalWrite function of the Arduino seems to be a correct solution). So, the 4 remaining are enough. And since I would know how I did encode the data, it should not be difficult to decode it afterwards.
Also, the two separate devices (Arduino and logic analyzer) are not very elegantI understand your point, but the solution doesn't seem to bother my professor. The final solution must work, that's the main requirement.
Finally, I don't think SigRok is the right platform for defining a complex custom GUI like the mockup (?) you have attached. Not sure whether there is any way of defining your own GUI from a user level in SigRok (i.e. short of changing the SigRok source code). LabView is a typical tool for this, but you would need to select an interface supported by LabView. Maybe others have additional proposals for suitable software.The main reasons I want to use Sigrok was because it can decode the SPI directly and export the data on a file quite easily. Once the file is written, I could process it and display it on a java-based GUI. That was my main idea. But the idea of written on a file by using sigrok-cli and then opening it with java to read and process the data didn't seem optimal.
Then, I saw some API binding for java (I have some basics in programming but when it comes to API and stuff like that, I'm quite lost :/) and thought it was possible for me to by-pass sigrok-cli (
https://www.sigrok.org/api/libsigrok/unstable/bindings/java/) . That way, I would have a piece of code that is only based on java so that I don't have to write in some file and process it afterwards, but directly process it. And still use some useful function like the decoding one.
The GUI I attached was just an example I found on google to give you an idea of the final product I have to achieve. The solution of labView is not an option according to my professor. (I think he doesn't like labView for some reasons). So, a solution based on LabView is not possible unfortunately.
You have not indicated the required data rates.You're right!
For the SPI, the maximum data rate is 4MHz and the logic analyser can sustain until 20Mhz sampling when the 16 channels are used.
For the analog data, they are all DC. I must sample their value every second. It's not the critical part I think.
The update rate for the display is every second. The data I record is the effective information which has been decoded. For example, if a temperature measurement is sent throught the SPI lines, I must only record the value of the temperature in Celsius, not the bits. So, all the informations displayed will have to be stored in some log file.