LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview Errors

Dear Madam/Sir,

 

I face some labviews errors when I do my labview codings.

 

Some extra lines, which are not generated by me, come out. And these lines are not connected to any function block symblols. 

 

Coding Block Diagram

Zhaonian_0-1595297657311.png

 

Navigation window

Zhaonian_1-1595297720981.png

 

These labview errors do not affect running program, but sometimes the labview closes suddenly and requests to send error report when I edit the labview codings. 

 

May I know how to solve this issue? My labview program is quite complicated and I don't want to recode it.

 

Thanks!

Best Regards!

 

Guo Zhaonian 

 

0 Kudos
Message 1 of 6
(2,135 Views)

Try running block diagram cleanup.

 

Are you sure it isn't a graphics redraw issue?

0 Kudos
Message 2 of 6
(2,113 Views)

Thanks for your reply. The block diagram cleanup function is not working for this VI. And I confirm that it is not graphics redraw issue.

0 Kudos
Message 3 of 6
(2,105 Views)

It is very large.  Perhaps you've hit some limits as to the size of the block diagram window.  Something must have corrupted the block diagram arrangement.

 

I suggest going back to your source code repository and retrieving a version that did not have this problem.

Or just re-code it from scratch.

0 Kudos
Message 4 of 6
(2,096 Views)

Yes, it is very large.

 

Retrieve a version and recode will take long time. Can local NI technical staff help to resolve the issue?

 

Thanks!

0 Kudos
Message 5 of 6
(2,085 Views)

Hi Zhaonian,

 


@Zhaonian wrote:

Retrieve a version and recode will take long time.


Retrieving an older version from SCC (or even a backup) only takes seconds.

Recoding might take an hour.

(How long are you struggling with this VI right now? For several hours or even days?)

 


@Zhaonian wrote:

Can local NI technical staff help to resolve the issue?


I don't think so, but you are free to call them…

 

Lessons learned:

  • Never let the block diagram of a VI grow this large by following the StyleGuide in the LabVIEW help.
  • Setup a SCC system (or implement a backup scheme on a regular interval).

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 6 of 6
(2,080 Views)