motorcycle dynamics acquisition with simulink & hardware button
12 views (last 30 days)
Show older comments
Hello,
I have some difficulties about a short project. The idea is to perform dynamic acquisitions on motorcycle which is equipped with an embedded computer and an acquisition card NI PCIe 6353. We have different kind of sensors: IMU, steering encoder, ABS sensor, Smartphone sensors (Matlab Mobile). We have chosen to use Simulink to realize the project. First question, what is the best choice between perform the test in Simulink normal mode or deploy the code onto the acquisition card? In a second time, I would like create a hardware button to launch acquisition. For example during a 10 min ride maybe separate the whole into 3 scenarios by pressing the button each time. I was thinking to read a digital input from the card associates to a button and define a counter. I would like when first scenario starts, the rider clicks on the button, a new folder is created ‘Scenario1’ and all acquired data are saved into this folder. When driver press a second time the button it would realize the same process as previously but into the folder ‘Scenario2’. I did a short Simulink model which almost works but I have some trouble to save the data in the good folder. I am open to any advices for my project! Thank you in advance for people who can help me, Pm
0 Comments
Answers (0)
See Also
Categories
Find more on Naming Conventions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!