Is it possible to use the driver S-Functions provided in the xPC Target 3.2 for a supported PC Hardware to communicate with the hardware in a non-real-time and non-xpc mode?
1 view (last 30 days)
Show older comments
I have a particular PC Hardware which is supported in xPC Target 3.2 and I can communicate with the card using the following driver S-functions provided in the xPC Target toolbox.
However, in order to reduce the testing time, I do not want to build and download my model everytime. I want to use these S-functions in a non-real time and non-xpc mode. I want to have these S-functions in my Simulink model which when run will communicate with the card.
Accepted Answer
MathWorks Support Team
on 27 Jun 2009
This is not possible with the S-function drivers provided with the list of hardwares in xPC Target 3.2(R2007a).
The C-files provided for these hardware drivers cannot be readily modified to S-functions for non-realtime mode operations. These programs have been specifically built for real-time operation to communicate with the card directly.
In order to work with a particular card on a non-realtime mode, one would have to use the Windows driver that comes with the card. Along with that, separate S-functions have to be created that can communicate with those drivers.
0 Comments
More Answers (0)
See Also
Categories
Find more on Introduction to Installation and Licensing 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!