My xPC Target model exhibits strange behavior when starting the application via
+tg
When I use one of the supplied test models, (for example, xpcosc.mdl) I can successfully do an xPC Target build. I can also successfully start the application on the target by typing the following on the host PC:
+tg
These successful build and runs occur for both serial and TCP/IP host-target connections.
However, I have a National Instruments PCI-MIO 16-E4 DAQ card inserted into the target PC. When I use a trivial model containing the Analog Output block for this board, I have observed that:
a.) "+tg" works just fine if the host-target communications are serial
b.) "+tg" causes the error message given below if the host-target communications are TCP/IP
??? Error using ==> xpc/uplus TCP/IP Read Error
So in summary, the pattern that causes the problem is:
TCP/IP communication and a model containing an Analog Output block for PCI-MIO 16-E4
Best Answer