Unfortunately, there is no way to set the active configuration programmatically in LabVIEW. There is an ActiveX control in LabVIEW that allows you to manually change the configuration of MAX from within LabVIEW.
You can use the NiMax Viewer ActiveX control to configure your hardware directly in LabVIEW. You still must configure all settings manually, but you can do so in LabVIEW instead of launching a separate application (MAX).
To use the control, place an ActiveX container on the front panel. Right-click the container, select Insert ActiveX Object from the shortcut menu, select NiMax Viewer, and click the OK button.
This container gives you access to the configuration tree of MAX but you aren't able to get to the Tools menu option.
Refer to the LabVIEW H
elp, available by selecting Help»Contents and Index (6.0) or Help»VI, Function, & How-To Help (6.1 & 7.0), for more information about using ActiveX containers.
Regards,
Todd D.
NI Applications Engineer