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 次查看(过去 30 天)
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.

采纳的回答

MathWorks Support Team
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 个)

类别

Help CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

标签

尚未输入任何标签。

产品


版本

尚未输入任何版本。

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by