11-26-2009 10:24 AM
11-26-2009 11:21 AM
Never, ever post a VI that is set to run when opened.
Your VI is generating an error and you should read what it says and read the help for the method. The help clearly says that you cannot use the method when the VI is running. You would have to call the method from a tope level VI. You could also use the config file functions to write to an ini file. This is more typically done than the method since you cannot use the method when you create an exe.
Your VI has other flaws. The sequence structure is totally unnecessary. The VI stops if there is an error and you don't have a chance to change anything. For example, your default com port is Com8, Since I do not have Com8, an error was generated and I could not change the port until the VI was stopped. Is that your intent?