02-01-2008 10:27 AM
02-01-2008 10:39 AM
02-01-2008 10:56 AM - edited 02-01-2008 11:03 AM
02-01-2008 11:02 AM
02-01-2008 11:04 AM
02-02-2008 11:31 AM
02-02-2008 12:16 PM
I was hoping I could build a fully functional vi this way. I'm building a tester that will change configuration often; the idea was to build a utility where a user could reconfigure vi's for the current test set-up.
Sounds like there's no way to connect the wiring, though, or it's too difficult to be worth while.
02-02-2008 12:28 PM
You might wish to check out object oriented programming or plugins.
In your case, OOP should let you design several types of tests and choose between them at run-time. The basic idea in this case is that each class (type) will have some configurable options (which will be coded beforehand) and the users will select the type of the class and then its options. If you want an example, think of the properties page you can get by right clicking a control. Depending on the control type you get different tab pages and options.
Full native OOP is available in 8.2 or later, but there are some implementation for earlier versions as well (you can try searching for GOOP).
Plugins allow you to define a basic interface for something and then use different versions which use this interface at run-time. Again, a search should yield some examples.
02-02-2008 01:59 PM