LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI freezing with out executing ???

I press the RUN button and nothing is happening.   I check my block diagram & find that the VI is not executing, buttons un-responsive, etc.   This is on a group of VIs that were functioning fine untill just now- no changes made.   I'm also not getting any error messages.    When I try to exit out, I get the "Resetting VI:  *.vi  "   window,  and it never goes away- I have to task-manager my way out.  

 

  Any Ideas???

     Kevin

0 Kudos
Message 1 of 5
(2,789 Views)
ps.  LV 8.2.1
0 Kudos
Message 2 of 5
(2,787 Views)

I would put a good sum of money that you have an ever-expanding loop somewhere.

 

For example, a loop that is running and collecting more and more data, doing arithmetic over and over.

Check if you have a loop that is doing that somewhere. 

This would easily freeze your computer.


Without actually seeing your VI, that would be my guess. 

Cory K
0 Kudos
Message 3 of 5
(2,785 Views)

Kory,

  nope nothing that obvious...   Your idea also would not explain why I can't just press Ctrl-.  or 'Stop'  to escape

I have uncovered the problem- but not found the solution:

 

    There is an ActiveX control (modbus TCP communicaiton)  that starts upon execution.  for what ever reason it is not responding when called.   The control normally works fine with or without communition, I don't know why it is failing now.   

 

0 Kudos
Message 4 of 5
(2,778 Views)

Kevin,

 

Do you mind posting your code or a screen shot for us to take a look at the way your code is set up? Can you create a similiar VI that uses just the ActiveX control and reproduce the issue?

Product Support Engineer
National Instruments
0 Kudos
Message 5 of 5
(2,738 Views)