Hi,
I wonder if anyone could help. I'm constructing a simulator which
communicates with a chip via the serial port. The simulator has an options
VI which gives the user a list of selections. When a selection is made the
appropriate subVI executes. Within some of these subVIs I am using a
subVI to communicate with the serial port. What I want to do is be able
to let the user change the port settings for this subVI from the options VI,
does anyone know of an easy way of doing this so that when the user changes
the settings these are used when the serial VI is used discretely within one
of the other options. I use this serial VI often throughout the program and
would therefore like a way to alter its settings at a
top level which are
then passed though to whenever it is used again. Ideally I would like to
open up a VI from the menu which enables the serial port settings to be
altered, close this VI, saving the settings, so that when other VIs are
executed from the options screen, the use of the serial VI within them uses
the last saved settings. My options VI operates on a basis that only one
option can be carried out at a time, once each option finishes its execution
the VI is shut down returning to the options screen VI again. Any help
would be greatly appreciated.
Regards,
Martin.