09-27-2006 03:09 PM
09-27-2006 04:17 PM
09-28-2006 08:30 AM
09-28-2006 12:11 PM
For the VI to be deployed and run the 5 other VIs on the target system, all 6 VIs must be on the target. You have two options.
1. You can build a single executable and deploy it to the FieldPoint Real-Time system. However, you must have application builder or the Professional Development System to use this option. You will also need to include the 5 VIs as dynamic VIs in the application.
2. You can build 5 executables each in a different folder in the Real-Time target (one for each VI). You can then have the VI targetted to the FieldPoint open each of these VIs while they are inside the executables. This also requires application builder.
If you do not have the application builder, then these are not an options for you. I would recommend to combine the VIs into a single VI that will call each of them as normal subvis. You can then run this larger VI with subvis targeted to the FieldPoint Controller.
I hope this helps.
09-28-2006 01:21 PM
Thanks, Steven.I would say that to combine the VI's into a single one is not a practical option for me. Hence, based on your comments, my only applicable option is to build the executable(s)? How can I easly check if I have the application buider in the system I'm working at?
09-29-2006 10:21 AM
10-02-2006 09:49 AM
OK. I'm going to create the single executable and deploy it to the FP. But you didn't say what should be the VIs' paths on the "invoke node" components so that the main VI could run them. I tried just to use their names (assuming they would be in the same directory), but it didn't work...
Thanks a lot!
10-02-2006 10:50 AM
I tried a few experiments with deploying all on an RT Target. I tried running a VI from the host and accessing the vis in memory using VI server. This may be a dead end since I do not see any properties that would allow me to get the references to the VIs currently in memory. I also ran into a dead end using a VI on the target to access a reference to a VI in memory. So far I have not met with success, but I think that I could be doing something wrong. Let me know if you have tried similar experiments.
When you added the vi into the dynamically called box, it places the dynamic VIs inside of the executable. This is in the same directory as the VI that you are calling them from. You can use the constant for current VI's path with a strip path VI and build path VI with the name of the VI. I hope this helps you.