LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

On how to load LabView directly from PC

I actually have a question in my mind regarding how to load LabView directly from PC whenever the PC is powered up. Normally when we powered up a PC, the first thing to load is the operating system (in my case, Windows). What I wish to do is to have a LabView program being loaded instead of Windows so that operator or user can only access the LabView program whenever the PC is powered up and cannot tamper with any settings in Windows environment.
0 Kudos
Message 1 of 4
(2,959 Views)
Hi,
you can not run any kind of software without operational system (OS) such as windows or unix. The idea is that OS manages the execution of programs on processor. Any program can run on your PC because OS controls and provides this process.
So in any case first you have to load the OS (windows in your case) and only after this you will be able to run you LV instruments.

Good luck.

Oleg Chutko.
0 Kudos
Message 2 of 4
(2,959 Views)
You must start the OS to run any LabVIEW program because it needs it to use the services the OS has like File I/O, windows ....

What you want is a system here only you LV app is available to the user. This can be reached in some different ways depending on your needs.
1. Add your app to the autostart group of the machine or the user.
2. Make an entry in the registry under HKLM\Software\Microsoft\Windows\Current Version\Run to start during boot or HKCU\Software\Microsoft\Windows\Current Version\Run to start after login.
3. You can make your app as the shell. The shell that will be started is in the registry under HKLM\Software\Microsoft\Windows NT\Current Version\Winlogon. It is the value shell you have to change. For test be sure to have a button to r
each regedit to change this setting backwards. Also you need to add a mechanism to logoff the user or shutdown windows from your app.

Waldemar
Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 3 of 4
(2,959 Views)
KF wrote in news:5065000000080000001D980000-1042324653000
@exchange.ni.com:

> I actually have a question in my mind regarding how to load LabView
> directly from PC whenever the PC is powered up. Normally when we
> powered up a PC, the first thing to load is the operating system (in
> my case, Windows). What I wish to do is to have a LabView program
> being loaded instead of Windows so that operator or user can only
> access the LabView program whenever the PC is powered up and cannot
> tamper with any settings in Windows environment.

As others have said, you need Windows running to run LabView. It
depends on how deep the security has to be. The easiest solution would
be to get Windows XP Pro, set up a Guest account, then set up the Local
Secu
rity Policy (under Computer Management) to restrict access to the
system. There are additional policies which will prevent execution of
programs except for in certain locations, but this may be beyond what
you want(?) If the PC is networked and you want to restrict use of
programs like IE, you can either prevent user access to the .exe file,
or use "Set Program Access and Defaults" to remove access to it.

Lastly, to get the program running at bootup, use TweakUI (search for
Powertoys on support.microsoft.com) to automatically log the LabView
user in on startup, and then simply put the .vi (or .exe if it's an App
Builder program) in to the Startup group for that user.

If you need a really hard solution, you might want to look for a 3rd
party "kiosk mode" launcher, which are used in banks, public terminals
etc.

Hope this helps,

Andrew
0 Kudos
Message 4 of 4
(2,959 Views)