LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generate Reports

Hi, would you post the sample report generator.vi please as i have some trouble relinking the path of my image. my vi automatically links it back to C:\Program Files\National Instruments\LabVIEW 8.0\examples\reports. i am unable to change the path.
0 Kudos
Message 11 of 17
(1,112 Views)

Howdy Trig,

 

I'm a little confused as to what you mean by "trouble linking the path of your image".  You should be able to navigate to the Report Generation Toolkit example files through the NI Example Finder.  In LabVIEW, select Help » Find Examples, and go to the Browse tab.  From there, the examples will be under either the Toolkits and Modules folder or the Toolkits and Modules Not Installed, depending on if the toolkit is installed. 

 

Please post back if you are unable to open the examples through the Example Finder and verify that you have the Report Generation Toolkit properly installed.  Additionally, please elaborate on which sample report generator VI you're looking for (Word or Excel).  Thanks!

Sincerely,

Chris G in AE
0 Kudos
Message 12 of 17
(1,091 Views)
Hi Chris, ive found the Sample Test Report.vi. I have solved the problem thanks anyway. but i don't know how to create a button [REPORT] which when you press on it, it will open a pop up window and display a summary of all the results obtain from the array. and in that window i want to have a button [generate] which when i press on it will either save the summary results to my hard drive or send it to the printer. please help.
0 Kudos
Message 13 of 17
(1,082 Views)

There are some shipping examples of pop-ups. Basically, you would have an event structure with a value change event for the Boolean. In the event, you have a pop-up subVI that you pass the data to. In that subVI, you would format the data for display and also have an event structure to handle the Save/Print Booleans.

 

You might want to check the resources at the Learning LabVIEW page.

Message 14 of 17
(1,075 Views)
Hi, is there any example VI about what you said? is it i have to create an event structure and a subVI?? what is a value change event? i have no idea.
0 Kudos
Message 15 of 17
(1,072 Views)

As I said, there are example VIs for pop-ups. Go to Help>Find Examples. Do a search for dialog.

 

No, you don't have to use an event structure but it is probably the most elegant and simplest way of handling the thing you want to do. You could also just use a while loop with a case statement. Before event structure, that was the standard way to handle front panel events. A more advanced technique would be to use sub-panels.

 

You asked for a pop-up window and that implies a separate subVI with it's own front panel. 

 

The example finder also has example VIs that show how to use the event structure. This is the sort of basic LabVIEW programming that is also covered in the tutorials. It would really be benefical for you to go through some of them and not have to post a lot of simple questions. 

Message 16 of 17
(1,069 Views)
Hi DEnnis, i have followed your advice and created an event structure with a value change event for the boolean and created a subVI which when click it will open a pop up window and allowed me to select it. Thank you very much for the quick response. it help me solve my problem. The dialog examples were indeed a great help for me to have a basic understanding of the pop up. By the way i have a VI that i would like to use, is it possible to add in save as PDF file format and DOC file format? in this VI it can only save as HTML format and send to printer only. please help.
0 Kudos
Message 17 of 17
(1,046 Views)