Andreas Jurack
2009-02-05 15:53:01 UTC
Hi,
I am trying to set up the connection between an Industrial PC with xPCTarget Kernel 2.6 and my Notebook with MatLab R14SP1, xPCTarget 2.6.1 an Visual C 6.0 as Compiler (already tried WATCOM 1.4, 1.7a and 1.8 and Visual Studio 8.0 Express).
So as I followed the instructions in the help-file, I arrived a point where I dont know what to do now.
I am connecting via TCP/IP and the 'xpctest'-function is running well until the 5. test. The MatLab-prompt shows the following:
----------------------------------------------------------
### xPC Target Test Suite 2.6.1
### Host-Target interface is: TCP/IP (Ethernet)
### Test 1, Ping target system using standard ping: ... OK
### Test 2, Ping target system unsing xpctargetping: ... OK
### Test 3, Reboot target using direct call: ........ OK
### Test 4, Build and download xPC Target application using model xpcosc: ... OK
### Test 5, Check host-target communication for commands: ... FAILED
----------------------------------------------------------
After proceeding this test, the target pc textbox says:
----------------------------------------------------------
System:download started...
System:download finished
error:127
DLL model.dll not found
----------------------------------------------------------
Wha is strange to me, is that the target PC shows 'loader' as loaded application, after I perform the xpctest. Shouldn't there be 'xpc_osc' or something like that?
Then I tried to build the mentioned model 'xpc_osc' manually from Simulink. The compiling- and linking-processes goes fine without warnings or errors. But the last lines are also confusing to me:
----------------------------------------------------------
### Download Model onto Target
### create xPC Object tg
xPC Object
Connected = YES
Application = loader
### succesful completion of xPC Target build procedure for model: xpc_osc
----------------------------------------------------------
...and the Target PC has the same error from the xpctest.
When I try to run the model in simulink, by pressing the arrow-button ? get an error-prompt:
"
Error occured while executing External MEX-file 'ext_xpc'
"
I really dont have a clue what I've done wrong and I hope you can help me!
I am trying to set up the connection between an Industrial PC with xPCTarget Kernel 2.6 and my Notebook with MatLab R14SP1, xPCTarget 2.6.1 an Visual C 6.0 as Compiler (already tried WATCOM 1.4, 1.7a and 1.8 and Visual Studio 8.0 Express).
So as I followed the instructions in the help-file, I arrived a point where I dont know what to do now.
I am connecting via TCP/IP and the 'xpctest'-function is running well until the 5. test. The MatLab-prompt shows the following:
----------------------------------------------------------
### xPC Target Test Suite 2.6.1
### Host-Target interface is: TCP/IP (Ethernet)
### Test 1, Ping target system using standard ping: ... OK
### Test 2, Ping target system unsing xpctargetping: ... OK
### Test 3, Reboot target using direct call: ........ OK
### Test 4, Build and download xPC Target application using model xpcosc: ... OK
### Test 5, Check host-target communication for commands: ... FAILED
----------------------------------------------------------
After proceeding this test, the target pc textbox says:
----------------------------------------------------------
System:download started...
System:download finished
error:127
DLL model.dll not found
----------------------------------------------------------
Wha is strange to me, is that the target PC shows 'loader' as loaded application, after I perform the xpctest. Shouldn't there be 'xpc_osc' or something like that?
Then I tried to build the mentioned model 'xpc_osc' manually from Simulink. The compiling- and linking-processes goes fine without warnings or errors. But the last lines are also confusing to me:
----------------------------------------------------------
### Download Model onto Target
### create xPC Object tg
xPC Object
Connected = YES
Application = loader
### succesful completion of xPC Target build procedure for model: xpc_osc
----------------------------------------------------------
...and the Target PC has the same error from the xpctest.
When I try to run the model in simulink, by pressing the arrow-button ? get an error-prompt:
"
Error occured while executing External MEX-file 'ext_xpc'
"
I really dont have a clue what I've done wrong and I hope you can help me!