Report Generation tool kit for MS office (Opening an existing excel file and appending to the bottom)
I don't have any problems creating and filling an excel sheet with data. I use the New Report.vi, Easy Title.vi, and Easy Text.vi to create the file. I then save and dispose properly.
What I don't seem to be able to do is open the exsting file and append data to the end of the sheet.
Thanks in advance for your help.
todd
Hi Todd,
You can do this by creating a new Excel report with the existing excel file path wired to the "template" input. Then use "Excel Get Last Row.vi" (located under Report Generation\Excel Specific\Excel General) to obtain the location of the last row. Then use that location to input new data into the file.
Hope this helps,
Dan
Similar Messages
-
Report generation tool kit for vista
Where can we get report generation tool kit software(for vista Operating system) link .one of my friend has given me that software.He said he had got it from internet.can anyone give me the link so that I can download report generation toolkit software (for vista)
Thanks
kiranmayiHi Kiranmayi,
You can download Report generation toolkit from the following weblink:
https://lumen.ni.com/nicif/us/evaltlktrepgen/content.xhtml
or you can send a mail to [email protected] stating your full address and your requirement and we can send you evaluation DVD for free.
Thanx
Gaurav -
Report generation tool kit not printing
I had the report generation tool kit version 1.01 for some time but never used it. I was comfortable with printing front panel vi 's.
But now I installed it on my computer with a windows 2000 and LabView 6.02 .
I created an application (executable) that will print (using the report
genartion tool kit). The application works fine in my development computer
(win 2000).
When I installed it on another computer with a win 2000, it prints as
expected
but when I try to exit I get a message from windows that the application is not responding (I have to go to task manager and terminate the application).
Both computers have word and Excell installed
I installed the application on a third computer (win 2000), but this com
puter does not have word or excell installed. The application does not print the
portion of the software that uses the report generation tool kit, but it can print the front panel of vi's (set to print an end of excution).
In all 3 computers, I have runtime engine 6.02 installed. My vi is simply
the example vi ""Sample test report.vi"", but customized to my application, printing standard report.
What is happening ?Based on what you sent, the version of Excel and Windows that are being used is a non issue since none of the code makes any calls to either one. They all refer to the older version of the report generation VIs that use NI's proprietary report generator.
I can think of two explainations. First, you aren't using what you think you are. Second, NI retained the same VI names when they went to the Word/Excel version of the generator, and I am linked into the old version.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Pareto Chart using Report Generation Tool kit
Hi,
Please help me to get clarification for the following:
I need to log data into MS Excel Report and generate Pareto Chart using LabVIEW for the Logged data.
I have Report Generation Tool kit. but i couldnt find the an option to generate Pareto chart with it.
Thanks,
Thirumala.One way is to Create a Excel template in the predefined format with the rows/colums linked for the Chart.
Use this template with report generation toolkit to populate data in the predefined cells.Based on that the chart will be automatically updated. -
Hi,
I have LabView7.1 and Labview8.0 installed in my pc.Recently i installed Report generation tool kit(version 1.0.1.0)
In the functions palette i couldnt able to see the Excel Specific VI sub palette and Word Specific VI sub palette.
Can u tell me what is the problem
Regards
MeenatchiYou can not see it in either version? Or has it been installed to the wrong version? There has been postings on this board regarding how to get it to install to multiple versions. I have not found tha to work. I go in a 'manually' copy the VIs from add-ons, examples, and help to the latest version of LabVIEW that I have. But if you look here you should find the help you need.
Paul <--Always Learning!!!
sense and simplicity.
Browse my sample VIs? -
Open an existing Excel file created by Report Generation Toolkit
How would I open an existing Excel file that has been created by the LabVIEW Report Generation Toolkit?
Let me explain my application. I have made a test program to collect data on a device. Each time I run the program I want it to append a new row onto an existing data file. Since the tests I do are sometimes over a period of days, I cannot keep the program open and running continuously. So I have to open an existing file and append the new data to it. In technical terms, what I need is to get the 'report out' reference to the existing Excel data file without losing the data that is already there.For info on accessing Excel do a search in the examples for the word "Excel" you will get an example that shows how to open a spreadsheet and manipulate the data. This should get you started.
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
Hi i have installed report generation tool kit but i am unable to find a function
hi,
I have installed report generation toolkit full version and i have few example programms in which a function named generate report get data to modify.vi been used but i am unable to find a function pallet called Generate Report get data to modify.vi in my function list and when ever i try to RUN this example programm i get an error saying this function is not executable if i go inside that function again its showing the same error inside that function saying its not executable if any one knows about this VI pls help me
regards
narayanhi,
i have tried your method by going into
resorces i have opened the VI s there its not showing any error but how
to open same vi or call that VI while i am programming how i can
search those functions in my function pallet and i have a previously
written prog in LABVIEW 8 VERSION where he has used this functions and
he has made some SUB VIS using those functions and some of the contents
VI S of resorce he has put it in a folder so every time when i try to
open this VI it says dependncie issue it is trying to access the VI
FROM RESORCE AS WELL HAS FROM THE FOLDER WHERE PREVIOUSLY STORED HOW TO
SOLVE THIS PROBLE PLEASE HELP IF ANY ONE HAS SOLLUTION FOR THIS
REGARDS
NARAYAN -
I have problem with running excel macro in report generation tool kit
I am trying to use Excel Run Macro.vi but run into a problem: Exception occured in Microsoft Excel, The macro 'personal.xls!Macro1' cannot be found.. Help Path is C:\Program Files\Microsoft Office\Office\1033\xlmain9.chm and context 0 in Excel Run Macro.vi->example.vi
Also I tried to save the macro under the file that is active and I get the same results.
I saved the macro as *.bas file and ran it using Excel Import Module and did not see any erreos and it did not do anything.
Where a re some god examples that use the excel marco feature using the new report generation vis?masoud,
Try this example out and let me know if you have any more questions. Also, this is in LabVIEW 6.1 format. If you need it in a different format, please let me know.
Randy Hoskin
Applications Engineer
National Instruments
http://www.ni.com/ask
Attachments:
Module1.bas 1 KB
TestAddMacro.vi 34 KB -
How to justify the values in table using report generation tool kit
Hi
How can we align the values in excel table using report generation toolkit.
like left,right,center.
Regards,
hari
Attachments:
Report_excel.vi 34 KB
New Bitmap Image.JPG 134 KBHi,
A trigger is designed to be a part of a transaction, not it's end.
It is like following these steps (not really accurate, but should give an idea):
1. programA issues INSERT statement on tableA
2. 'control' goes over to the database
3. constraint checks happen
4. the associated triggers on tableA do their work (e.g. fetching a sequence value for a primary key)
5. 'control' goes back to programA
6. programA decides if a commit (no error occurred) or a rollback (error case) has to be issued.
Did this help? Probably not, I'm not happy with what I wrote, but anyway... :) -
How to open a Excel file and display on the custom screen
Guys, I am new to screen programming. In my first screen (SCREEN #9000) I want to put a field, where I must be able to select a file from my desktop and when I click the DISPLAY button, it should suck all the data from the spread sheet in to an internal table, and should display the next screen (SCREEN #9001), displaying the data from the internal table along with a button called LOAD. Now when I click the LOAD button after reviewing the data, it must load the data to my custom table in R/3. I know how to load an Excel spreadsheet to R/3 without the custom screens. But my requirement now is to do from custom screens like I mentioned above. Any ideas how to do this? Thanks.
DanHi Dan,
In my first screen (SCREEN #9000) I want to put a field, where I must be able to select a file from my desktop and when I click the DISPLAY button, it should suck all the data from the spread sheet in to an internal table, and should display the next screen (SCREEN #9001)
For this create a MPP program and create a Push button. Write the code for this to open a file like use f4_filename.From here you are able to select a file.
+ displaying the data from the internal table along with a button called LOAD. Now when I click the LOAD button after reviewing the data, it must load the data to my custom table in R/3.+
With the above you are able to open a file and now you have to load that data into internal table. Select the file from the desktop.
Totally you have to create 1) Screen 2) Push button( Open File) 3) Load data ( From file) .
[Create Push Buttons|http://help.sap.com/saphelp_nw70/helpdata/en/9f/dba9a635c111d1829f0000e829fbfe/content.htm]
Check this if there is any please post.
Regards,
Madhu. -
Is there a way to open an existing opar file to just explore the same
Is there a way to open a OPAR file and explore the metadata xml files in them. Does any utility in the EMPDK allow us to do the same?
You can use unzip to extract files from an opar file.
Ex:
unzip <opar file>
Regards,
- Loc -
How to get data from an existing Excel file using report generation toolkit
I'm trying to use the Excel Get Data vi from the report generation toolkit, but i can't figure out how to turn a browsable path into the right type for the VI. I've tried using the New Report.vi, but that doesn't work unless you use a template. It won't open an existing excel file and make it an open report to pull data from.
Essentially, i have a bunch of excel files that have data in them and i want to use a VI to analyze the data. So, i'm trying to pull in all the data directly from the excel file so i don't have to reproscess them all into text so i can use the more standard spreadsheet VIs. But to even convert the excel file programtically in labview won't i still need to be able to open the excel file and get the data?
Solved!
Go to Solution.I C.
Got it,
the reason why I can view it using my Excel file because its in .CSV.
I open Microsoft Excel to open .CSV file.
But you can also open .csv file with notepad.
So, you cannot open .xls with Read Spreadsheet File
I learn something everyday
Best regards,
Krispiekream -
Excel MSGraph Axis Value w/ Report Gentration Tool kit help needed
Hello,
I am working on making all my Printed Data sheets dynamic so I don't need to have an Excel Template for each test I create. I have been able to make my own modifications to some of the Report Generation tool kit VIs to add little things I need or want changed, but I am stuck.
I currently have LabVIEW writing Charts in Excel, using the Insert Graph VIs from the tool kit but I want to be able to make the X Axis Values invisible but leave the Y values for this particular data sheet. I have looked through all my documentation but cannot find anything referring to setting that.
What is the correct ActiveX Method and/or Property that I need to incorporate to do this? I found that in Excel if I click on the Chart it is in the Chart Options Menu but I cannot find a way to control it through LabVIEW.
I am currently using 7.1.1 with Office 98 and the Report Generation Toolkit 1.1.0
Any ideas?
Thanks
Jeff
Jeff D.
OS: Win 7 Ultimate
LabVIEW Version: 2011,2010,2009 installed
Certified LabVIEW ArchitectHello,
LabVIEW should have access to everything that the excel ActiveX object publishes. One way to discover how to do it would be to record a macro in excel, where your recorded actions are on the x-axis as you desire. This way you will have a macro which you can run that will do this for you. Perhpas more importantly, you will then be able to look at the code for that macro you recorded, and make the equivalent calls in LabVIEW, which should basically expose which ActiveX calls on that object achieve the axis modification. In any event, to help you with this process, below are some useful links. Also, you will find other threads on this matter if you search the discussion forums.
Excel and LabVIEW Integration Tutorial:
http://zone.ni.com/devzone/conceptd.nsf/webmain/4d86c9752c658da78625689300730c10
Here are links to examples of using macros in Excel from LabVIEW:
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3DD2F56A4E034080020E74861&p_...
http://sine.ni.com/apps/we/niepd_web_display.display_epd4?p_guid=B45EACE3D9D856A4E034080020E74861&p_...
I hope this helps!
Best Regards,
JLS
Best,
JLS
Sixclear -
How to open a specific excel file by activex & overwrite by set_cell_value.vi
I've seen the 'Write Table and Chart to XL.llb', but how can i open an existing excel file/workbook/sheet and rewrite some of the data instead of open a new worksheet everytime? It may already shown in your examples somewhere, but since I'm new to activex/property node stuff, I can't figure it out. Your help is appretiated.
Thanks
AnthonyThe process is very similar. Starting with the example, open the diagram and you'll see a VI labled "Open Book" (The name of the VI is actually "Open New Workbook.vi". Right click on it and select Replace/Select a VI...
Now navigate to \\Labview 7.0\examples\comm\excelexamples.llb and select the file "Open Specific Workbook.vi". This VI has an input for specifying a filename to open.
Likewise, the example also calls a VI named "Open a New Worksheet.vi" replace that with "Open a Specific Worksheet.vi" (found in the same place).
Mike...
Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion
"... after all, He's not a tame lion..."
Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps -
How to install Open-SSL tool kit for Key conversion
Hi Expert,
Can you please suggest how do i install Open-SSL tool kit for Key conversion .
I need this for creating public and private keys for a key based SFTP connection.SAP PI donnot support SFTP protocol. If you have a third party SFTP adapter and wanted to generate a keypair, you can use tools like PuttyGen.
But you need to download the tool on to the PI server to generate a key pair.
Instead, you can use the unix command to generate key pair (Recommended) -
ssh-keygen -t rsa
http://linuxmafia.com/pub/os2/stahl-ssh/snafu-mirror/ssh-keygen.html
Maybe you are looking for
-
Iphone not showing up in itunes & not connecting to computer
Rite... When i plug my iphone into my computer (WinXP, SP2) via the dock and straight from the USB cable, it does not show up in iTunes, Windows does not recognise it as a USB device and the camera pop doesnt show up. Basically Windows isn't recognis
-
I just renewed my subscription to convert a Word document to a pdf. Your sales department told me there was a hold up in confirming the purchase. I need to do the conversion now. In fact, if it had worked, I would be done now. [private information
-
Clearing downpayment with restriction A during invoicing
Dear experts, I want to clearing a downpayment (6000 / 0020) that has origin in a downpayment request (6000 / 0010) and at this momento it have a restriction 'A' (can be clear in the next invoicing). I already add the downpayment (6000 / 0020) in
-
Configuring ALEAUD message between Non - SAP sytem and SAP sytem through XI
Hi We have Scenario like an IDoc would be send to SAP through XI system by a non - sap system and expects the Status of the sent IDoc from SAP system in an Async communication by using ALEAUD message type. Non SAP <==> XI <==> SAP We have tried and e
-
Can't add to portal favorites with "&" in the name field
Hi there Interesting problem which has been identified this morning ... it appears that certain iviews cannot be added to the portal favorites, and upon closer inspection, it appears that those iviews all have the "&" character in the name field. For