Hi,Everyone,
I have a problem about RT.I plan to call SubVI dynamically in the RT system,but i'm fail.I have a example in the accessories.
In my example ,1,Run "RTMainVI.vi",it will call "RTSubVI.vi",2. "RTSubVI.vi"will build a TCP listen in the port 50000,and send string,3.Run"PCMainVI.vi",it will open TCPConnect,and Receive the string which "RTSubVI.vi" send.It indicate success when the string coming.

But it didn't

In the "Open VI Reference"in the "RTMainVI.vi",Output Terminal is "Not A Refnum Refnum (in hex): 0x00000000",and Error Code is 7
And
1.I move all file in the "RTPXI target" to "My Computer"and run it.(use Local IP to receive)Successful!
2.I ftp the file"RTSubVI.vi"to the RT system (path \ni-rt\startup) by the tool of Measurement & Automation .Successful!
Please Help me
P.S.
Error 7
Open VI Reference in RTMainVI.vi<APPEND>
VI Path: <b>c:\ni-rt\startup\RTSubVI.vi</b>
Built Application or Shared Library (DLL): Make sure all dynamically loaded VIs were properly included in the build specification for the application or shared library.
Using LabVIEW 8.0.0 on Windows XP