LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Program not responding while creating report

Solved!
Go to solution

I have created a program to calculate the PPM of resistance value of register 

The program was good and was generating report (by using report generation toolkit) but one it crash when I try to generate report 

 

 

 

 

0 Kudos
Message 1 of 8
(298 Views)

Hi Fuzz,

 


@FUZZICC wrote:

I have created a program to calculate the PPM of resistance value of register 

The program was good and was generating report (by using report generation toolkit) but one it crash when I try to generate report 


Ok. And what is your question?

 

Spoiler

 

What exactly changed before your program "crashed"?

Best regards,
GerdW


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

It is possible that there is a bug somewhere in your LabVIEW code that generates the Report.  If you want us to examine your code, and suggest how to fix the problem, you must show us the code.  If you are a new LabVIEW user, you might be using LabVIEW 2022, 2023, or 2024, and many of the more experienced LabVIEW participants in this Forum are using LabVIEW 2019 and 2021, so you may want to "save for Previous Value" before you attach your LabVIEW code.  [Please do not send a screen shot of your Block Diagram -- hard to execute a picture).

 

Bob Schor

 

 

0 Kudos
Message 3 of 8
(252 Views)

thanks you for guidance i have attached the LabVIEW 2020 version VI

 

i tried to figure out the problem and noticed the problem only occurs when i am using the report generation tool kit i have also created a  new vi to generate report of small array is sowing same problem

 

the program was running well and was generating excel report  but after sometime this issue occurred when i execute the print  the program stucks in run condition and i cant exit i have to close the program and  then LabVIEW shows resetting 'name of the vi'

 

Please Guide Me guide me through this situation 

0 Kudos
Message 4 of 8
(209 Views)

The program was running and generating excel reports for some time  but suddenly this issues happen when ever I try to execute  print the labview stucks in the running condition and I can't stop it if I close the labview window the screen popups and says resetting ' name of vi' 

I tried this thing in new vi by generating excel report i was facing the same problem their

0 Kudos
Message 5 of 8
(202 Views)

Thank you for submitting some code.  I'm puzzled by the lack of a Project file (<Project name>.lvproj).  I think when you did a "Save for Previous version", it brought along earlier versions of OpenG and some other libraries, which is OK.

 

But since the "problem" was using the Report Generation Toolkit, I went looking for those VIs.  The only two I could find were in the "Print" case inside your main VI:

RGT VIs.png

This opens and immediately closes an Excel report, and uses an Error line connected to nothing!

 

My suggestion is to write a little demonstration routine for yourself that generates a small amount of "typical data", writes a single Excel report, closes the report, and exits.  If you need an example of how to do this, I posted one on this Forum a decade ago that you can find by going to the Search Bar at the beginning of this Forum and typing "Revised ", which should pop up the entire title (Revised "Generate Excel Report" Example) that has a working version (with some Bells and Whistles) of how to generate an Excel Report.  Although it was written with an "old" version of the RGT, it still works just fine with LabVIEW 2021 (and probably with 2024).

 

Bob Schor 

0 Kudos
Message 6 of 8
(176 Views)

thank you for your valuable time but i have facing the same problem i have researched it more and got to know there is some problem with my report generation save report vi

 

i have even changed the code ill share it

please help with this problem

Download All
0 Kudos
Message 7 of 8
(112 Views)
Solution
Accepted by topic author FUZZICC

I have just solved the problem my invoke node was broken from some vi in my program that's why my save report vi from report generation kit was showing dependency is broken 

all I have to do is find the the invoke node from the vi and and right click on them and then select relink invoke node that solved my whole problem

 

for further understanding I did some research and understanded its happens when the Microsoft office or Microsoft 365 has been upgraded or changed some how now the program is generating report without crashing, I am doing this programming for some particular company I guess they must have upgraded their Microsoft office or Microsoft 365 

 

thankyou guys it only possible because of you all

 

FUZZICC

0 Kudos
Message 8 of 8
(102 Views)