LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

2011 hangs on startup

Solved!
Go to solution

My Labview ProDev hangs on startup every time.  I get a blank panel (Not Responding) and see that much communication goes back and forth over my network port.  This goes on for 3 minutes or more, then it finishes and LabVIEW runs fine.

If I disable my network port, Labview starts and runs normally.

 

The web server is not enabled.  This is a fresh install with defaults.

0 Kudos
Message 1 of 10
(3,625 Views)

I've heard of this problem related to disconnected printers.

 

Look at http://lavag.org/topic/9700-labview-8-6-slow-startup-time/

0 Kudos
Message 2 of 10
(3,621 Views)

Make that 6 minutes.  Wow.  This is unacceptable.  Checking all the printers.

0 Kudos
Message 3 of 10
(3,595 Views)

No extra printers.  Still we get 6 minutes.  Network light is lit throughout, but the task manager says no activity.

0 Kudos
Message 4 of 10
(3,593 Views)

Fire it up and try "netstat" in cmdline.  See where all the connections are open to.  Might narrow down where the problem is.... printer, network share, database, ni.com...

0 Kudos
Message 5 of 10
(3,587 Views)

Are you setup with a license server? (Not pointing fingers, just trying to get more information).

 

These times definitely seem to point to nework connection timeouts.

What is the meaning of "network light is lit" (no traffic? losta traffic?)

During the wait, open a console window and type "netstat -n". Any unusual connections?

Get wireshark and capture all traffic from before opening LabVIEW until it opens.

 

(EDIT: I see snowmule already suggested netstat. I composed my message but then got sidetracked and did not post until much later)

0 Kudos
Message 6 of 10
(3,583 Views)

The license is for Prof. Dev. Sys., and it's activated. I've just always installed and used the local NI License Manager.  That program says I'm activated.

 

Running netstat - I've been able to account for every connection.  No ni.com addresses.

0 Kudos
Message 7 of 10
(3,577 Views)

Try two more tests:

 

  1. Turn off the firewall
  2. Turn off antivirus (... and other "security" software)

Is there anything in the system log?

0 Kudos
Message 8 of 10
(3,573 Views)

This company uses an external monitored & managed firewall, and the virus protection is remote and operated by IT as well.  Novell logons, etc.



They give us test guys pretty much what we ask for.  If I knew a port or protocol that needed to be unblocked they'd probably do it for me.  But since I have no idea what's going on I don't know what to ask for.

 

Disabling web server, vi sharing..no change.

0 Kudos
Message 9 of 10
(3,569 Views)
Solution
Accepted by jmerrill

Apparantly the issue is related to the Novell connections.

At this location a Novell script maps 6 remote servers.  If LabVIEW attempts to resolve those mapped drives in some way on startup it's bound to take a while.  I tried logging in without processing the Novell logon [a local-only login] and the delay was eliminated.

 

I can certainly login without those servers attached and add them later, after LabVIEW starts.

0 Kudos
Message 10 of 10
(3,557 Views)