04-12-2007 04:53 PM
04-13-2007 01:41 AM - edited 04-13-2007 01:41 AM
First of all, you must consider that CVI is not a scripting language, it's always a compiled one. That is, you cannot change source code on the fly neither in the compiled executable nor when running in debugging mode.
What you can do is to design your software so that its behaviour changes depending on some particular conditions (choice messages to the operator, content of some files, signals received from tcp/ip or from some acquisition device,,,) , but you must know the possible situations in advance and write code before running the application.
One of the possible option is to drive CVI via activeX so that you can create, compile and execute a different program from your application. A little example of these activities can be found in <cvidir>\samples\activex\cvi directory but it's not an easy way to walk bay especially if you are new to CVI. Moreover, it requires full installation of CVI on the target machine for all this to run.
Given this, if you can give us some more detail on your needs we can try to help you in more detail.
Message Edited by Roberto Bozzolo on 04-13-2007 08:47 AM
04-13-2007 05:10 AM
04-13-2007 07:50 AM
04-13-2007 11:11 AM
04-13-2007 11:12 AM