LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW6i Report Generation ERROR

I have LabVIEW6i with LabVIEW 6.0 Run Time Engine and LabVIEW 6.0.2 patch updated with LabVIEW 6.0.2 Run Time Engine, at my development environment. I have read all the necessary related documents on the NI website, but did not help for the problem.

I run an example from examples section of Report Generation vi's.
I run the example "Sample Test Report.vi" and get the following error:

1)-->Error -2147352567 occurred at The margins are invalid.. in Print Report.vi->Sample Test Report.vi.

I open the Print Report.vi to check for the margins settings, I dont find any, and when I run the "Print Report.vi", I get the the following error:

2)-->Error 1 occurred at "Generate Report Get Data to Modify.vi".
Possible r
easons:
Object 0x000000 is not valid.

I tried to debug the Print Report.vi, then I find the 2nd error is from "Generate Report Get Data to Modify.vi".
I dont find any possibility to modify or change the margins. Or what necessary modifications I have to make to what *.vi, and excute the required *.vi's.

Reply awaited.
Thanks in advance.
Sudhir N.
0 Kudos
Message 1 of 3
(2,996 Views)
I don't use the Report Generation functions much but I can say that there is a Set Report Margins.vi under the Report Generation>Report Layout palette. It is not included in Sample Test Report.vi example but you can add it. Probably the reason you got the error when running Print Report.vi is that you didn't run the New Report.vi first in order to create a reference.
0 Kudos
Message 2 of 3
(2,996 Views)
Have you checked the printer settings(margin settings or page size)..may be proper paper setting or margins not defined there..check it out then try your program
0 Kudos
Message 3 of 3
(2,996 Views)