LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

how to open an existing report using the LabView 7.1 Express?

 
0 Kudos
Message 1 of 6
(3,087 Views)
Hey BS1965.

What would you like to do to this report when you have it open?  Do you want to add to it, or change what is in the report?  Do you mean with a LabVIEW Express VI?  Are you using the Report Generation Toolkit?  Please repost with some specific information about what you would like to do. 

Thanks!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 2 of 6
(3,077 Views)
There is a state machine. During one step of the state machine I'm creating a report and saving on the specific folder. Later on using another subprogram of the same state machine, I need to open the same report and add more data.  I tried use combination of “new report.vi” - “append file to report.vi”. But the data from the privies report shifted on the middle of page. I could not find the "VI" under report generation tools to do that.  
0 Kudos
Message 3 of 6
(3,073 Views)
Hey BS1965,

Okay so in the same program you would like to add more information to a report that you are generating. Is this correct?  This can be done rather simply.  If this program is still running I would suggest keeping track of that report reference and using that in each case of your state machine and disposing of the reference at the very end of the program instead of during any other part of the program.  If you keep track of the reference (using shift registers) then whenever you need to add information to the file then you can do so without having to try to reopen the file.  One thing to look for is an option called Append on New Line?, which you should set to True if you want to add to the end of the file. 

Hope this helps!
Andy F.
-----------------------------------------------------------------
National Instruments
0 Kudos
Message 4 of 6
(3,065 Views)

I'm using the LabView 8. Yes I using the reprt geration kit. I tried to create a new word document.

 

0 Kudos
Message 5 of 6
(3,032 Views)

Forgive me if this is a bad question, but are you trying to open an existing report, or create a new report?  If all this is in the same VI, have you tried Andy’s suggestion of just not closing it until the very end?  You can pass references to the report through shift registers in your while loop in your st. machine architecture.  If you clarify your problem, I’m sure someone will be able to help!

Travis M
LabVIEW R&D
National Instruments
0 Kudos
Message 6 of 6
(3,022 Views)