LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Lauch a LabVIEW VI on boot or restart

I have some answers:

Almost every recent computer (ATX) can do a boot-up on power restore, alsmost all laptops can't (that's a pity)

To automatically log in as a user (in windows) use 'control userpasswords2' command line.

It will show the advanced user control dialog.
Make sure the auto-login user has an eternal password (standard an winXP Pro user password has a life span of 2 weeks), remove the welcom message, or legal notice.

This with the shortcut tip from my previous post should keep you running.

Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
Message 11 of 18
(1,520 Views)

Thanks to TonP and Ravens Fan.

You both suggest excellent solutions.  I think a combination of RF's relay logic and TonP's automatic login would constitute a nice fix.  I probably will get a UPS as my lab budget improves. 

Does anyone have a sense of the security risk posed by automatic login + an open remote desktop port.   Theoretically I could disable Remote Desktop and use some other VNC program that would restrict the access to a small subset of IP addresses if there was a security risk.

Jeremy

0 Kudos
Message 12 of 18
(1,500 Views)


@JHourigan wrote:

Does anyone have a sense of the security risk posed by automatic login + an open remote desktop port. 

Jeremy


Remote desktop is ALWAYS a risk, it is activated before login of any user, so not really related to this issue.


Ton
Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
Nederlandse LabVIEW user groep www.lvug.nl
My LabVIEW Ideas

LabVIEW, programming like it should be!
0 Kudos
Message 13 of 18
(1,495 Views)

I have something opposite problem that yours.

I have a system with gears and motors for my friction test in my lab.The motor starts itself when i switch on the PC,I have to wait until PC is completly loaded and stable, then open the labview software to stop it manually.Later i can do my testings.I am trying to figure it out,If its issue of the software or its issue with the controller between PC and the motor.

I run a different labview file only to stop the motor before i begin the test.I am attaching that file here which helps to stop the motor after PC switch on.Can any on please help?

0 Kudos
Message 14 of 18
(1,068 Views)

Why is the motor starting itself?  How do you have it wired up?  Motors don't run unless something is actively supplying power to it, so what is supplying that power and why would the starting of the PC cause that to happen?

 

(In your VI, you have two DAQ assistants.  You can get by with one when you set it for N channels, 1 sample and designate both lines within that DAQ assistant.  Better yet, use the native DAQmx functions.)

0 Kudos
Message 15 of 18
(1,060 Views)

Hello All,

 

I am trying to do small modifications on a software in the LAbview in my university.

The program earlier written and running is on LABVIEW 8. , I took the program to be modified and trying to run it in my laptop with LABVIEW 2015.

but i get this error 

 

"C:\Users\khk\Desktop\work in coimbra\LLABVIEW\labview\Pin-on-disc2.vi\Instance 2 20Saved Pin-on-disc2 .vi (Pin-on-disc2.vi:Instance:Instance 2 20Saved Pin-on-disc2 .vi)
NI-DAQmx Driver support for LabVIEW 2015 is missing and is referenced by the following VIs:"

 

 

Could you please help me with what needs to be done.?

 

I downloaded latest driver fro the NI website,and still it doesnt work.

0 Kudos
Message 16 of 18
(1,046 Views)

This problem description is completely different from what you just posted about the motor starting on its own.

 

Installing the latest DAQmx driver from NI should've worked.

 

http://www.ni.com/product-documentation/53326/en/

 

Are you sure you had support for LabVIEW 2015 enabled when you installed it?

0 Kudos
Message 17 of 18
(1,037 Views)

Just to mention something that is actually on topic...

 

The build in Windows Task Scheduler is a more flexible (then start folder) way to start applications. You can start on several triggers, with or without delays, and automatically respawn or stop programs as well. And it has an API as well...

Message 18 of 18
(1,023 Views)