I have designed a GUI in Microsoft Visual Studio 2008 C# to communicate with my xPC Target. The primary form controls most of the system testing, but there are several other forms that focus on specific parts of the model and which are called from the primary form to adjust the parameters of the model or to just deal with collecting signal data from narrow areas of the design.
When we switch from one form to another, the new form apparently has to connect to the target and download another copy of the .dlm file to the target before it can have access to the target's parameters and signals. If another .dlm file is downloaded to the model by the new form, all of the accumulated model information and anything that has been changed from the original default values are lost and the system is essentially starting all over again.
I want to use multiple forms called by the user from the primary form in order to access the target without losing any information or resetting the model.
Best Answer