Info
Diese Frage ist geschlossen. Öffnen Sie sie erneut, um sie zu bearbeiten oder zu beantworten.
Arrange incoming data in pairs in simulink
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
Hi everyone. I'm trying to acquire digital data sent by a PIC microcontroller via a DAQ board, the microcontroller sends some information in sets of 8 bits numbers, which need to be rearranged to form a 16 bits numbers by merging. To do so, my idea is to make an array and make a column vector every time two 8 bits numbers arrive, but I can't figure out a way to do it, I tried using a buffer but I couldn't get it working. I also tried using an Embedded MAtlab Function block with the same result. Any ideas?
Thanks in advance!
0 Kommentare
Antworten (0)
Diese Frage ist geschlossen.
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!