NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

max generate report.vi crashing on techincal support report generation

Hi guys, I have been having this problem.

 

I went to MAX directly, and tried the technical support generation from there.

 

In attemopt to do this, MAX closed itself. Then I went to the directory where the zip file should be created in. I didn't any zip files, but a few txt and .html files. (as shown below)

3-02-2012 10-54-29 a.m..png

 

 

So I guess the report generation functionaility of MAX is broken, and my first question would be: Is this assumption correct?

 

Secondly, if this assumption is correct, how do you repair this? I tried to repair MAX, which asked my which component I wanted to repair. Not quiet sure which component the report generation function is under:

 

3-02-2012 11-08-04 a.m..png

0 Kudos
Message 1 of 8
(3,957 Views)

Hi Jack@nz,

 

There isn't a Measurement and Automation Explorer download from your drivers page, however, you can find NI DAQmx 9.4 (http://www.ni.com/nisearch/app/main/p/bot/no/ap/tech/lang/en/pg/1/sn/catnav:du,n8:3478.41.181.5495,s...) which will install MAX 5.0

 

With a new MAX installation, the report generation tool should be fixed. Hope this helps!

 

 

Aldo A
Applications Engineer
National Instruments
0 Kudos
Message 2 of 8
(3,947 Views)

Thanks Aldo,

 

unfortunately, we can't go with that solution, because our system is designed with our current MAX version.

 

However, we did spot what seems to be the real cause.

 

The technical report generation stopped during the synthesis of "ni_reg_repot.txt",

 

and the synthesis of that txt file stopped at where it is writing the license path.

 

So, it seems that we should repair the license manager.

 

So now, my question would be, is license manager something I can just re-install? I am worried that it may be tied to some other applications, and just reinstalling it may introduce more consequences.

0 Kudos
Message 3 of 8
(3,932 Views)

Thank you for your follow up,

 

I found that the report generator does not create a "Copy of ni_reg_report.txt", are you adding that manually during the process? If so, don't add it when generating the report and the generator will create only a "ni_reg_report.txt"

 

In addition, can you post the exact line of ni_reg_report.txt where it stops? that would give me a better idea of the path giving problems before doing repairs to the NI License Manager. Thanks!

 

 

 

 

Aldo A
Applications Engineer
National Instruments
0 Kudos
Message 4 of 8
(3,920 Views)

Nope, I think that file is actually generated by MAX on default, and is something that will eventually get put into a zip file.

 

The content of the file, at where it stops, is shown below:

 


[HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\License Manager]
"RootPath"="C:\Program Files\National Instruments\Shared\License Manager\"
"Executable"="C:\Program Files\National Instruments\Shared\License Manager\Bin\nilmUtil.exe"
"CommonAppDataPath"="C:\Documents and Settings\All Users\Application Data\National Instruments\License Manager\Data\"
"ExecutableName"="nilmUtil.exe"
"NetworkServers"="C:\Documents and Settings\All Users\Application Data\National Instruments\License Manager\Data\servers.ini"
"Path"="C:\Program Files\National Instruments\Shared\License Manager\Bin\"
"Licenses"="C:\Program Files\National Instruments\Shared\Li

0 Kudos
Message 5 of 8
(3,911 Views)

Hi Jack@nz,

 

Lets check for any registry key corruption:

 

Press the Windows Key + R to bring up the Run Command windows and type "regedit"

 

Navigate to [HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\License Manager]

 

Double check that the "Licenses" key has the value "C:\ProgramData\National Instruments\License Manager\Licenses"

 

In addition, can you post a screenshot of all the reg keys in this section? Thanks!

Aldo A
Applications Engineer
National Instruments
0 Kudos
Message 6 of 8
(3,900 Views)

Hi Aldo, the license path is under "...program files", instead of "...program data". Do you think that will be the cause?

 

13-02-2012 1-11-37 p.m..png

0 Kudos
Message 7 of 8
(3,890 Views)

Another update to this issue, which may provide more hints.

 

Tried technical report geenration one more time. Crashed all the same, but interestingly the crash is in a different place:

 

"

[HKEY_LOCAL_MACHINE\SOFTWARE\National Instruments\LabVIEW Run-Time\8.2]
"Path"="C:\Program Files\National Instruments\Shared\LabVIEW Run-Time\8.2\"
"Version"="8.2.1"
"VersionString"="8.2.1"

[HKEY_LOC "

 

I guess we can say it's not license manager, but the registry reading process of  MAX.

0 Kudos
Message 8 of 8
(3,885 Views)