LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I disable the access to windows 2000(O.S.) from LabView?

I need to disable the access to windows when an application (exe), created by LabView, is running. When the application is running, the user can not acces to windows (for example, execute another application) until he stops the application.

I am using LabView 6.1 and windows 2000
Many Thanks
0 Kudos
Message 1 of 4
(3,519 Views)
Hi Francesc,

There are a couple of options for this. One of them could be calling Windows OS activex components and making the Desktop invisible through labVIEW and then bringing it back on after the LabVIEW execution is stopped.

The other option is to modify user settings on the target machine. I have tried this on windows 2000 and it works.

Run "gpedit.msc" from your start menu. In the Group Policy template choose the user configuration that you wish to make the settings for. Expand User Configuration , expand Administrative Templates , and then expand System. Choose 'Custom user interface'
In this panel select 'Enabled' and enter the interface file name, in this case C:\Program Files\National Instruments\Labview 6.1.exe. (or your own filepath\App
lication.exe). Reboot the machine.

This replaces the default windows shell (explorer.exe) with your LabVIEW executable. When the operator logs on, the only thing on his screen is the Labview application. No desktop, no taskbar, no start button.

This can also be done through LabVIEW using register-level programming. But it would be a more complex approach.

Hope this helps.
Regards,
Pravin Borade
Applications Engineer, National Instruments
Message 2 of 4
(3,519 Views)
Many thanks Pravin,

I have tried the second option and it works. But I prefer to control this from the aplication. Could you give more information about calling Windows OS activex (Which control) and using the register-level programming.

Many Thanks.
0 Kudos
Message 3 of 4
(3,519 Views)
Francesc,
You can find information about the register-level changes on the MSDN page. I think its an OS issue so if you can get it working for any application on your system you can get it working for labview too.

pravin
0 Kudos
Message 4 of 4
(3,519 Views)