01-29-2006 12:32 PM
01-30-2006 09:40 AM
Tomi,
Could you please explain why you are having problems using the same config VI for both the runtime and the Express VI (edit time)? Here is what I think you might be having problems with, but there may be more to it.
The way most Express configuration VIs work is by reading in the present configuration, having a UI loop for (re)configuring, then writing out the configured values. Some of the reading and most of the writing cannot be performed during runtime due to the limitations of the VI server (which is used to change the control and constant values of the instance being configured).
What you would need to do is to encase the reading and writing sections in a case structure and then use the present read/write when launched via ExpressVI (maybe check to see if some of the refnums are valid??) and if it is during runtime, perform those actions differently. I am not really sure how you would go about performing the read and write sections, but I bet you can figure something out.
Hope that this helps,
Bob Young