How Can I Launch the User Manager Programmatically in LabVIEW DSC?Primary Software: LabVIEW Modules>>DSC ModulePrimary Software Version: 6.0.2 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I am creating a LabVIEW DSC application which I plan to distribute. I would like to remove user access to the menu bar but I would still like for users to be able to access User Manager to modify security settings using a push button on the Front Panel. Is this possible? Solution: Yes. Since User Manager is an executable, you can use the System Exec.VI to do so. The System Exec VI will allow you to run any .exe program from LabVIEW. You will need to enter the path of the executable as an input of this VI. In the case of the User Manager, the path will be: C:\Program Files\National Instruments\Shared\Logos\usrmgr.exe . In order to start this program from a push button on the Front Panel, you can add a case structure around the System Exec VI and connect the push button to case selector of the case structure. Attached below is an example program written in LabVIEW 7.1 that runs the User Manager from a push button on the Front Panel. Related Links: Attachments:
Report Date: 11/13/2001 Last Updated: 09/29/2005 Document ID: 2FC8TK6Q |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
