Writing multiple port data report into single excel file

I'm working on a STTE automation of an power management unit in which data's from 6 different channels are received from the unit which has to be tested and then verified and co-related with the digital and analog inputs given by the user. So my question is finally how to write all dese six channel's data to a single excel file with multiple work sheets..... Like channel-1 one in sheet1,ch-2 in sheet2 so on.... (these data's from 6 different are received from 6 different serial communication port.)
 pls guide how to forward in the final report generation for abv mentioned requirement in labview

As nyc mentioned you will have to use ActiveX if you want to do exactly what you discribed but if you're new to LabVIEW that can be a big step.
In the VI you posted you write your data to xls file but the fact is that you use the write to text file function, so in the end your file is just a simple text file, and of course Excel can open this type of file.
Maybe you could have your VI to write txt files and then have another bit of code that would transfert the data in each text file to differnt worksheet in a Excel file.
Or maybe another option would be to write all your data to the same TDMS file (on channel per port) and then use the TDMS Excel Add in to generate an Excel file from the TDMS.
Feel free to ask more questions :-o
When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"

Similar Messages

  • How to write a data type into an excel file?

    Hi everyone,
    What I am trying to do is to get some data from MS SQL then write into an excel file.
    stmtExcel.executeUpdate("Insert into [Output$] (CustomerID, ProductID, [Date], OrderQty) Values(" + rsSQL.getInt("CustomerID") + ", " + rsSQL.getInt("ProductID") + ", '" + (rsSQL.getString("Date")).substring(0,10) + "', " + rsSQL.getInt("OrderQty") + ")");
    There is no problem to write into an excel file, however, after all data is imported, excel sheet treats the the integers or dates as Text format. The funny part is, after I double click one of the cells with an integer value, that cell's format will be changed to integer, same thing happens with the date type.
    I am wondering if there is any way I can write an integer or whatever type into an excel file, which excel can recognize their own types instead of Text format. Thank you so much in advance.
    Sincerely,

    Yes, use an API that supports such things, like Andy
    Khan's JExcel:
    http://www.andykhan.com/
    %Thanks, duffymo. I haven't tried it yet, but according to the website, it seems that is possible! thanks again!

  • How to get two separate data in a single excel file

    I have a VI from where i get data in 3 columns.I have added a subVI & wants the data coming out of it to be stored in the 4th column along with the initial data real time.How can i do that?

    Hi Labfreak,
    your question title is only loosely related to the explanation in the message body... It doesn't need to be an Excel file?
    Anyway the attachment shows two ways of adding a 4th column...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    test_array.vi ‏9 KB

  • Writing multiple BLOB (PDF) records into one PDF file

    I currently have a procedure that writes an individual BLOB pdf row and outputs it to a PDF file, however I would like to write multiple BLOB rows into one PDF.
    Oracle version:10g R2.
    Does anyone know whether it is possible to do this?
    Here is my code, I was hoping to use a cursor FOR LOOP to read the BLOB records. The BLOB records do successfully load into a new PDF file, however when you open it the PDF only the first page is viewable. I am assuming the issue is to do with the PDF format rather than writing the data out to the file. I.e. the Page numbers etc.., incorrect formatting of the PDF?
    declare
    -- Test statements here
    b BLOB;
    amount BINARY_INTEGER;
    file_handle UTL_FILE.FILE_TYPE;
    l_pos INTEGER := 1;
    l_blob_len INTEGER;
    l_buffer RAW (32767);
    l_amount BINARY_INTEGER := 32767;
    file_name_ VARCHAR2(200);
    pattern_id_ VARCHAR2(200) := '5555555';
    pdf_path_ VARCHAR2(200) := 'PDF_OUT';
    cursor get_blob_recs is
    select pdf from mds_remote_pdf_tmp;
    BEGIN
    file_name_ := to_char(pattern_id_)||'.PDF';
    file_handle := UTL_FILE.FOPEN(pdf_path_,file_name_,'wb');
    FOR rec_ IN get_blob_recs LOOP
    l_blob_len := DBMS_LOB.getlength (rec_.pdf);
    l_pos := 1;
    WHILE l_pos < l_blob_len
    LOOP
    DBMS_LOB.READ (rec_.pdf, l_amount, l_pos, l_buffer);
    UTL_FILE.put_raw (file_handle, l_buffer, FALSE);
    l_pos := l_pos + l_amount;
    END LOOP;
    END LOOP;
    UTL_FILE.FCLOSE(file_handle);
    end;
    Any advice would be greatly appreciated.
    Regards,
    David.

    I guessed there was more to a PDF file format than just amending the BLOB objects!. I think I'll have to create a function with an IN param containing the PDF file list, and invoke a Java class to merge the PDFs in the OS.
    My requirement is to record the history of when a hand written form was completed. E.g. a user might complete half a document one day, and the rest of the document another day, therefore I want one PDF with two pages of the same form at different stages of completion. These forms are currently being created as two separate PDFs, and the problem is I am restricted to displaying only one PDF!
    Thank you.
    David.
    Edited by: david.massey on Jan 26, 2011 8:16 AM

  • Time Stamp problem while writing data into the excel file

    Hii, All
                  I am taking the data from the DAQ card of the TOPSCCC with the 8 ms of scanrate for each channel and there are total 16 no of Analog channels in the Card, now i am acquiring the data from the card, time stamping it and writing it into the excel file, which is tab delimited, now the problem is, the data which are in the excel file have the same timestamp for 4 to 5 continuous records, instead we want each data with the different and continuous time stamp with same difference of time stamp between two records, mean if it is difference of 8 ms then it should be the 8 ms for all, but here it is taking the differnce of 16 ms for two samples and giving same time stamp for four to five records and that shouldn't happen, here i am attaching my vi, drivers for the cards and Excel file with the data, can you please give me any suggestion how to do it?
           Please help me i require this suggestion as early as possible, i am requiring it urgently.
    Thanks in Advance,
    Nishant
    Attachments:
    2026vi.llb ‏319 KB
    2026_ScanMultAD_Demo_time.vi ‏80 KB
    Data.xls ‏357 KB

    Hello Nishant,
    that's what I meant:
    Message Edited by GerdW on 05-16-2006 10:32 AM
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome
    Attachments:
    timestamp-array.png ‏2 KB

  • Exporting Multiple Internal table data to Single Excel file.

    Hello Expert,
      I want to export more than one internal table data from Web Dynpro Application to single Excel file but in such a way that
    each table's data to be get exported to different tabs in (Multiple sheets)  that single excel file.
    So help me in this matter.
    Thank You.
    Varun
    Moderator message: wrong forum, please post again in "Web Dynpro ABAP".
    Edited by: Thomas Zloch on Oct 29, 2010 1:39 PM

    Each table having different sheet in same CSV file .
    A CSV file is a flat file and don't have "Sheets"; you would have to Export to an Excel file, which supports several Sheets in one file.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Multiple CSV files into single Excel as multiple spreadsheets

    Hi Experts,
      Can any one please help on the below requirement
    Requirement:
       I have three .csv files for example (CSV_file1.csv, CSV_file2.csv, CSV_file3.csv,). I want to load these three different files into one Excel file as three different spreadsheets. As I know we don't have flexibility to load data into Excel file, Can any one help me out on this

    There are several posts and documents in this forum that may address your case. Try
    An approach to build Target file in Excel format in SAP BODS using XSL or Excel as a Target using Data Services 4.2 or Excel target in BODS 4.1 as a starting point.

  • Can we combine multiple excel files into one excel file using SSIS?

    I have a bunch of excel files in a specified folder. I wanted to combine all the excel files into one excel file by adding additional tabs in one excel file. Can I do this using SSIS?
             OR
    I know using macro we can combine multiple excel files. Can we run a excel macro in SSIS? Please help me.
    Actually the complete package is this:
    Step1: Using FTP task I'm downloading the bunch of excel files into a folder.
    Step2: Above implementation is the second step that I have to do.  

    You can do it in two steps
    1. First get all data from excel sheets to a sql staging table. For that you need to use a looping logic as explained in below link (you dont required the additional logic used for checking file name etc in below example as you need all files). Also make
    source as excel instead of flat file
    http://visakhm.blogspot.in/2012/05/package-to-implement-daily-processing.html
    2. Once you get the data onto a single table, use below to get it exported to multiple sheets within same excel destination file
    http://visakhm.blogspot.in/2013/09/exporting-sqlserver-data-to-multiple.html
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • 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

  • Exporting Data Quality Statistics Into An Excel File Or Database

    Hi,
               I would like to ask if it is possible to export the data profiling statistics into an excel file / flat file or a database table.
               The output required by our development team is that we would like to be able to manipulate and review the data profiling outside of the Data Quality Services User Interface.
              I'm aware that after the cleansing of a specific set of data is that you can save/export the output results into an excel file or database, however the feature I'm looking for is for the data profiling statistics itself.
     Mostly information on the knowledge base.  Specifically, how many new records this specific column has and how many unique data and invalid data this column has and etc.
              The reason for this is that so we can control and track the data profiling information and be a bit more flexible in creating reports and presenting the data.  Using the DQS user interface would not suit our needs
    for the project.   
               Sorry if this has been asked before but i've tried searching around and couldn't find any information regarding this functionality.
    Thanks!

    I'm not too sure where they are stored, but you could use the directories shown in transaction AL11 so find them.

  • Problem in writing into the excel file using java code

    Hai ,
    I will be getting the data as a string and i am writing into the excel file. the problem is .if it has numeric values even now i will writing as a string data ,at this time i am getting the message in the excel file as "Number in the cell is formatted as text".
    I need to remove this thru my code..but i can write only as a string .
    To write in a excel file ,i used HSSFWorkbook.

    just check out
    http://www.andykhan.com/

  • How to save data into an excel file ?

    I am working on using computer to corol HP8510 Network Analyzer System. Firstlly, I save my data into a notepad.Now I want to save them directly into an excel file. Is there anybody can give me any clue?
    Thanks
    Attachments:
    S.vi ‏165 KB

    The attached zip file contains several VI's to read and write directly to Excel using ActiveX. There are several example VI showing how to use everything. This set is saved in LabVIEW 6.0.2.
    I suggest you unzip these to your user.lib directory so you'll be able to easily access them from the functions palette.
    I have not actually used these, but others that have say they have worked well for them.
    Good Luck
    Ed
    Ed Dickens - Certified LabVIEW Architect - DISTek Integration, Inc. - NI Certified Alliance Partner
    Using the Abort button to stop your VI is like using a tree to stop your car. It works, but there may be consequences.
    Attachments:
    excel_lv6i.zip ‏898 KB

  • Problem while exporting the data from a report to an excel file.

    Hi SAP guru's,
    I have a problem while exporting the data from a report to an excel file.
    The problem is that after exporting, the excel file seems to have some irrelevant characters....I am checking this using SOST transaction..
    Required text (Russian):
    Операции по счету                                    
    № документа     Тип документа     № учетной записи     Дата документа     Валюта     Сумма, вкл. НДС     Срок оплаты     Описание документа
    Current Text :
       ? 5 @ 0 F 8 8  ? >  A G 5 B C                                   
    !   4 > : C       "" 8 ?  4 > : C      !   C G 5 B = > 9  7 0 ? 8 A 8        0 B 0  4 > : C         0 ; N B 0      ! C <       ! @ > :  > ? ; 0 B K        ? 8 A 0 = 8 5  4 > : C
    Can you help me making configuration settings if any?
    Regards,
    Avinash Raju

    Hi Avinash
    To download  such characteres you need to adjust code page to be used during export. You can review SAP note 73606 to identify which code page is required for this language
    Best regards

  • How to save each section report into different excel sheet?

    Hi all
    How to save each section report into different excel sheet?
    I have a report in which there are 4 sections north south west east now i need to save north in excel sheet 1 , south in sheet2, west in sheet3, and east in sheet4. under each section there is list report.
    Please let me know is it possible are not if possible let me no the procedure to be followed.
    Thank you

    If you're running XI 3.1 you might be able to solve this as follows.
    1. Create four users: east, west, north, south
    2. Create a profile that filters on the variable you used for the section/break
    3. Publish the report
    3.1 Set users created above to be the enterprise recipients
    3.2 Add personalization (the profile created above)
    3.3 Check the Deliver objects to each user in Destinations
    (3.4 You could use %SI_OWNER% to get a nice suffix to the report name)
    This should cause four reports to be created, each with its own "personalized" contents.

  • How do you save data into an excel file while myRIO is acquiring data? I tried saving it using "Write to file" but it doesn't work for some reason.

    I am acquiring cosine wave and a pulse wave as input and I want to store their peak to peak values into an excel file. "Write to File" is not working for it. Is there any other vi which can be used for data logging?
    Thank you for your help.

    Hi Ssheoran,
    Can you provide more detail when you say that the Write to File VI doesn't work? Is there an error given? Or can you just not find the file on your computer? Keep in mind using this file in a Real-Time VI on the myRIO will save files on the myRIO. You will then have to transfer to your PC. Please view the following video as a guide for saving files and transferring them to your computer: (http://www.youtube.com/watch?v=BuREWnD6Eno). Hope this helps.
    Best Regards,
    Roel F.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Dbcopy not working correctly ?

    We have recently migrated GroupWise 8.0.1 to 8.0.1HP on Suse Linux 10.3 / OES 2.2. The dbcopy process appeared to work OK, GroupWise is working fine. HOWEVER Backup Exec will not back up a lot of the Postoffice files. Setting debug on the tsafs indic

  • How To Remove PDF Watermark RE Trial Version?

    Is there a way to get rid of the "Adobe ColdFusion Developer/Trial Version" watermark from the PDF files we create?  I'm using the Developer edition but I still don't want to have documents come out with that on it.  Do I need to tell it I know the e

  • ManageCustomerIn Webservice - Update Customer with additional attachments

    I am attempting to use the webservices to maintain an account and update the account with attachments. Since users will be interacting with the UI and adding attachments, we only want to add new attachments to the list that is already there. When i a

  • Installing Bootcamp with Parallels installed

    Hey guys. I need to install Bootcamp to run Rhinoceros and Grasshopper with full graphics support. It isn't a good idea to run these programs only on parallels. However, I am told that I need to install Bootcamp BEFORE parallels if I want them to sha

  • Can I go back to Lion,please?!

    I've just got hold of the new iMac 27". I'm not happy with Mountain Lion at all, right now. Is there any way at all that I can get rid of it and install Lion in its place,please? Thanks for any advice.