PXI

cancel
Showing results for 
Search instead for 
Did you mean: 

control target vi from host vi

I'm trying to create a stand-alone RT applicaton (main VI) which will call [via Invoke Node] 2 other VIs (Read VI and Write VI).  Currently I am manually deploying the main VI until I've debugged all the problems.  When the main VI invokes the Read VI and the Write VI they generate error 1003.  I see no problems with Read VI and Write VI.  I can manually deploy these VIs and they run perfectly.  What am I not understand about RT applications?
0 Kudos
Message 1 of 7
(4,094 Views)

I'm not sure about what I'm saying, however:

- Do you have the SIT Server powered on? (Matlab open)

- Are your IP configs correct?

- Have you tried to re-deploy?

0 Kudos
Message 2 of 7
(4,088 Views)

Hi,

 

 

If I am not wrong, you are trying to dynamically call read.vi and write.vi from the application main.vi.  If this is the case, while building the application, add read and write vi as always included.  or if you are just deploying main.vi manually (not an application) then you need to deploy read write vis along with it. 

 

It would be more clear if you post your Vis.

 

 

-Mallya

" Appreciate and motivate those who help"
0 Kudos
Message 3 of 7
(4,073 Views)

Could you post the rest of the error message? Does it occur when you try to build an RT application? Or just run the Main.vi?

 

Regards,

 

Anna K.

National Instruments
0 Kudos
Message 4 of 7
(4,062 Views)
The error occurs only when I try to run the main VI.  enclosed is the main VI.
0 Kudos
Message 5 of 7
(4,049 Views)

Hello,

 

It is not possible to run this VI without all the dependencies. I would suggest searching error 1003 in the ni.com search and check the Knowledge Bases to see which one applies to your case as there are many of these for different situations. As well check other discussion threads as someone may have discussed this before. This error usually applies to application, if you have a an application in you project, check to see if it deploys and builds properly.

 

Regards,

Anna K.

National Instruments
0 Kudos
Message 6 of 7
(4,034 Views)

Hi,

 

Error 1003 occurs, if a vi is broken or some subvis are missing. As I have said ealier in my post, include the subvis (read and write) in always included while building the application. Also, as a good practice, close all the references opened.There is no need to convert string to path while giving it to open vi reference. You can just give the names of the subvis ( provided they are deployed and are in the memory when this is run).

 

 

-Mallya

" Appreciate and motivate those who help"
0 Kudos
Message 7 of 7
(4,003 Views)