Importing rows and columns from Excel to Cluster and Array in Labview

An excel table consist of  4 columns and variable number of rows, the first column is the position number and the other 3 columns are series of coordinates (X,Y,Z). I would like to import the excel table into Labview such that each row in the table will form a cluster which consist of the position number and the coordinates of each position and each formed cluster should converted to a 1D-Array(double).
I would be glad if someone can tell me the best way to go about this or better still show me some examples because i am very new in Labview.
Thanks
Omoba

The easy way would be to save the excel file as csv (colon seperated values) and load it into ascii via load spreadsheet file (use ; as delimiter).
The more advanced way is to interface excel via ActiveX. Use the example finder and search for ActiveX to find some examples that interface excel (they should be shipped with LabVIEW).
Post back if you have more detailed questions. 
Felix 
www.aescusoft.de
My latest community nugget on producer/consumer design
My current blog: A journey through uml

Similar Messages

  • Unable to export more than 19 rows of data from Excel sheet

    Anyone could please guide me how to export more data from excel sheet.
    I tried with 50 row but only 19 rows are exported.
    Appln builder==> create ==> Export from spread sheet --> Copy paste / csv export (i tried both) but i got only 19 rows.
    Regards,
    Manoj

    Hi Manoj,
    If you're talking about the 19 rows you see while in the create wizard, that is just a sample of the data so you can see what you're working with while specifying column names, types, etc. Once you finish working in the wizard it should import all of the rows assuming there aren't any error-rows.
    Hope this helps,
    John
    If you find this information useful, please mark the post "helpful" or "correct" so that others may benefit as well.*

  • Importing date-time data from Excel file

    I am running into problems importing date-times in the format 3/15/2010 9:30:00 PM using SQL Developer. At Step 1 of the Data Import Wizard, the data preview window displays all the date fields as Excel dates (e.g. 40252.89583 instead of 3/15/2010 9:30:00 PM). Can I get SQL Developer to recognize the data in their date-time format, rather than converting them to decimal values?

    When importing from Excel, I haven't found a date format model that would convert their decimal number into an Oracle date. But the following seems to work well:
    1 - Save the Excel page as a CSV file then in the SD import wizard you can enter the date format model for that column.
    2 - In Excel convert that column to text. (Highlight your date column, Choose the "Data" menu item, in the "Data Tools" group choose the "Text to Columns" tool, click next / next / then select the "Text" button, click "Finish" and save your xls) Now in the SD import wizard just enter the date format model that matches the Excel 'text' column with your dates.
    Either way seems to work for me.

  • Importing data to table from excel

    hi,
    Is it possible to import data from excel to an oracle table using a stored procedure?
    database used : Oracle 11g
    Joseph

    Hello Joseph,
    the database (server) usually has no access on your PC (client).
    I recommend that you transfer the file to the server via FTP and then you can use heterogeneous services to read directly from the file.
    If your server is running on Windows too you can use ODBC to connect
    Re: Read CSV/XLS file to insert into Oracle database.
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4406709207206
    http://jiri.wordpress.com/2010/01/04/load-ms-excel-file-to-oracle-database/
    If this does not help you, then please show us your requirements as detailed as possible.
    Regards
    Marcus

  • How to upload 3 more columns from excel to SAP with exiting BDC program

    Dear ABAPers,
    Three more columns are added to the existing excel sheet(new columns are Consignment DP, Consignment Value, Total Consignment Value).
    Actual program is :The program is to upload the TXT data from MLM Solution
    Transaction code syntax is in bdc prog: call transaction 'VF01' using bdcdata update 'S' mode 'N'  messages into i_bill_return.
    i am new to BDC concepts, please give me the complete details, how can i upload.
    Thanks in advance.
    Hari

    Hi Hari,
    How is your input structure define, (data from excel to internal table). If you have the fields defined in it...
    1.you need to change the input structure first in your program....
    2. If your business needs any validation to these new fields????
    3.you need to modify the BDC population code for the new fields and populate the BDC structure....
    If the hint is useful… Say thanks by reward….
    Regards,
    Prabhu Rajesh

  • Importing SharePoint Permission Groups from Excel

    Hey,
         Is there anyway to import permission groups from excel, via power shell or built in? We have 100 user group that changes about every month and need to routinely edit all the permission groups. Is there anyway to have this automated by
    use of an excel spreadsheet?
    Thanks!
    Jordan

    You can save the excel sheet in CSV and then read it via Powershell;
    Once in powershell you can read the associations and add users to the group.
    Eg: http://manasbhardwaj.net/add-users-sharepoint-group-using-powershell/ 
    Hope this helps. 
    Rahul Gupta, MCSE, MCSD - SharePoint

  • Import to journal entry from Excel

    I would like to know how user can create journal entry by importing data from excel.
    in our site we have a payroll system and when we want to create journal voucher for related transaction it takes too long , if we had aforementioned facility it would be easy to do this task.

    Hi
    When you go to DTW log in
    <p> Put your user name and password .Enter your server name and click option
    and put the necessary information and click refresh.
    You should see the list of company   </p>
    Hope this solves your issue
    Thank you
    Bishal

  • Import of activity list from Excel sheet.

    Dear all,
    I have configered PS module and is working fine.
    I have some existing data of activities in Excel sheets. Which are around 2000 activies for every project.
    I want to directly imports these activiteis from Excel sheet to SAP activity list.
    IS there any method by with I can upload these activities from Excel file directly.
    Regards
    SCSharma

    first create a BDC (or record LSMW) and rearrange your excel sheet as per BDC requirement and upload...!

  • Shift Rows to Columns in Excel sheet

    Hai Everyone,
    Executed Web Template and Output of the Report exported to Excel Sheet and Saved it in Local Disk.
    After saving the data in Excel Sheet , I need to convert to Rows to Columns
    I am facing on problem to convert the Rows in to Columns.
    The layout of the excel sheet as given below link for Layout of the report.
    http://img403.imageshack.us/img403/3127/fileuploadvt7.jpg
    In that report , My requirement format is like ENDCUSTOMER   | MATERIAL   | FISCAL YEAR PERIOD | FORECAST QTY
    Without using Transpose I am getting END CUSTOMER and MATERAIL directly.
    I am getting problem While shifting rows of Fiscal Year Period and Forecast Qty by using transpose function.
    Any one can help me out about my requirement.
    Thanks and Regards,
    Bhima
    Message was edited by:
            Bhima Chandra Sekhar Guntla

    Bhima,
    Would you consider running the report directly in the Analyser and using the Drill down functionality or Change Query - Local View of Bex to achieve this?
    Regards
    Gill

  • How to store a DB row (multiple columns) from ResultSet object to hm/ht

    I am trying to store a DB row (which is containing ~150+ columns) from ResultSet Object to HashMap/Hashtable using the below code. But I wonder is, this not working and even do not get any error.
    dataslotHashmap.put(rsmd.getColumnName(i+1),rs.getObject(i+1));
    where "rsmd" ResultSetMetaData Object and "rs" is ResultSet Object.
    Need advice please

    Code snippet for reference:
    rs=stmt.executeQuery("select * from ......
    rsmd=rs.getMetaData();
    rs.next();
    int noc=rsmd.getColumnCount();
    for(int i=0;i<noc;i+=1) {
    dataslotHashmap.put(rsmd.getColumnName(i+1),rs.getObject(i+1));

  • Importing Data to PDF from Excel

    I need to store data from 1000 unique records of a single form. Acrobat has a good export feature that puts all the data nicely in an excel sheet. However, there doesn't seem to be an equally easy way of repopulating the form with that data, generating a new file for each record.
    The reason I'm doing this is because there doesn't seem to be a way of modifying how a signature field is handled Adobe Default vs Silanis. The type is cemented by what the setting was when the field was created. So my thought is to temporarily store the data in excel. Recreate the Signature fields with the correct setting. Then generate the 1000 files again with the data from Excel.
    Thoughts?

    That is correct - Acrobat does not have that feature.
    I don't understand the issue with Silanis, since PDF Digital Signatures are part of the ISO 32000-1 standard as well as the ETSI TS 102778 (PAdES) standard.
    Signature fields required certificates and passphrases - I don't see how you could "recreate" them...

  • Blank Row comming out from Excel Source?

    Hi,
    I use an excel datasource to populate some simple dimensions, but when i extract the excel file i get alot of blank rows from the excel files...
    How can i overcome this issue? Is this normal?
    I never had problems like this using DTS in the 2000 version
    Best Regards,
    Luis Simões

    Hi RJ,
    You could either delete as many rows from your excel source file as needed, that is rows following your data, or even better add a conditional split component (sql server 2012) after your source component to filter only the rows with data and send
    only those rows through the pipeline.
    Rudolf Swiers
    Another solution is to write a SQL query against the Excel source. Take one column that always needs to have a value and add
    WHERE myColumn IS NOT NULL.
    MCSE SQL Server 2012 - Please mark posts as answered where appropriate.

  • How can I import contacts into phone from Excel fi...

    I have an N97 Mini. And I have an Excel file on my computer which lists my contacts. In separate columns I have their first names, last names, phone numbers, email addresses.I would like to import this file into my phone's contacts in one go, i.e. without having to enter each person manually. Does anyone know who this can be done?
    (Also, in another folder I have a profile photograph of each contact. Is there some way I could also - in one go - add a profile picture to each contact in my phone's contacts?) 
    FYI: I have Ovi Suite and PC Suite installed on my computer, but it's not clear whether they could help with this. Thanks.

    Exporting .csv ( comma seperated value) and Excel files to Outlook and then sync through PCSuite is possible. For the pictures, I'm not sure.
    ‡Thank you for hitting the Blue/Green Star button‡
    N8-00 RM 596 V:111.030.0609; E71-1(05) RM 346 V: 500.21.009

  • How to read only particualr columns from excel sheet to internal table

    Hi,
    I have and excel sheet which has around 20 columns, in which i want to read only 6 columns. They are at different column positions, means the 1st column, 6thcolumn, 8th column so on..
    Can we do this in sap? do we have any FM to do this?
    Thanks.
    Praveena.

    hi,
    Use the below logic to fetch the data into internal table..You need to read the data cell by cell and update the internal table,
    DATA l_count TYPE sy-tabix.
       CONSTANTS: lc_begin_col TYPE i VALUE '1',
                  lc_begin_row TYPE i VALUE '2',
                  lc_end_col   TYPE i VALUE '2',
                  lc_end_row   TYPE i VALUE '3000'.
      CLEAR p_i_excel_data. REFRESH p_i_excel_data.
    * Function module to read excel file and convert it into internal table
       CALL FUNCTION 'KCD_EXCEL_OLE_TO_INT_CONVERT'
         EXPORTING
           filename                = p_p_file
           i_begin_col             = lc_begin_col
           i_begin_row             = lc_begin_row
           i_end_col               = lc_end_col
           i_end_row               = lc_end_row
         TABLES
           intern                  = i_data
         EXCEPTIONS
           inconsistent_parameters = 1
           upload_ole              = 2
           OTHERS                  = 3.
    * Error in file upload
       IF sy-subrc NE 0 .
         MESSAGE text-006 TYPE 'E'.
         EXIT.
       ENDIF.
       IF i_data[] IS INITIAL .
         MESSAGE text-007 TYPE 'E'.
         EXIT.
       ELSE.
         SORT i_data BY row col .
    * Loop to fill data in Internal Table
         LOOP AT i_data .
           MOVE i_data-col TO l_count .
           ASSIGN COMPONENT l_count OF STRUCTURE p_i_excel_data TO <fs_source> .
           MOVE i_data-value TO <fs_source> .
           AT END OF row .
    * Append data into internal table
             APPEND p_i_excel_data.
             CLEAR p_i_excel_data.
           ENDAT .
         ENDLOOP .
       ENDIF .

  • Importing multiple amount columns from a single text file

    I'm sure this question has been addressed many times. I have tried to search for an answer here and other areas, but I have not been able to find a clear answer yet. I am relatively new to HFM and FDM and thus do not have a lot of experience to fall back on. I am primarily a Planning/Essbase person. That being said, here is my question:
    I have a data source (text file) containing two amount columns that I need to load to HFM via FDM. One amount column consists of Average Exchange Rates and the other amount column consists of Ending Exchange Rates. I have been asked to develop a process to load both columns of data to HFM using a single process (one Import Format). I've been told this is possible by writing an Import DataPump script. It seems that I would need to create a temporary record set based on the original source file and modify it so that it contained a duplicate set of records where the first set would be used for the Average Rate and the second set would be used for the Ending Rate. This would be a piece of cake using SQL against a relational source, but that's obviously not the case here. I do have some experience with writing FDM scripts but from an IF... Then... Else... standpoint based on metadata values.
    If there is anyone out there that has time to help me with this, it would be most appreciated.
    Thanks,

    This is relatively easy to achieve with a single import script associated with the Account source field (assuming AverageRate and EndRate are accounts in your application) in your import format.
    Essentially your first amount say AverageRate would be set as the default field for Amount and these values would be loaded as if it were a single value file. For the second value, EndRate you would have to insert the second value directly into the FDM work table which is the temporary table populated when data is imported from a file during the import process. The example code snippet below suld gve you guidance on how this is done
    'Get name of temp import work table
    strWorkTableName = RES.PstrWorkTable
    'Create temp table trial balance recordset
    Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)
    If IsNumeric(EndRateFieldValue Ref Goes Here) Then
              If EndRateFieldValue Ref Goes Here <> 0 Then
                   ' Create a new record, and supply it with its field values
                   rsAppend.AddNew
                   rsAppend.Fields("DataView") = "YTD"
                   rsAppend.Fields("PartitionKey") = RES.PlngLocKey
                   rsAppend.Fields("CatKey") = RES.PlngCatKey
                   rsAppend.Fields("PeriodKey") = RES.PdtePerKey
                   rsAppend.Fields("CalcAcctType") = 9
                   rsAppend.Fields("Account") = "EndRate"
                   rsAppend.Fields("Amount") = EndRateFieldValue Ref
                   rsAppend.Fields("Entity")=DW.Utilities.fParseString(strRecord, 16, 1, ",")
                   rsAppend.Fields("UD1") = DW.Utilities.fParseString(strRecord, 16, 2, ",")
                   rsAppend.Fields("UD2") = DW.Utilities.fParseString(strRecord, 16, 3, ",")
                   rsAppend.Fields("UD3") = DW.Utilities.fParseString(strRecord, 16, 16, ",")
                   'Append the record to the collection
                   rsAppend.Update
              End If
    End If
    'Close recordset
    rsAppend.close
    In addition the return value of this Import Script should be "AverageRate" i.e. name of ht eaccount associated with the first value field. The NZP expression also needs to be put on the Amount field in the import format to ensure that the EndRate Field value is always processed even if the value of AverageRate is zero.

Maybe you are looking for

  • Firefox keeps crashing upon starting, how do I stop this?

    My PC crashed some days ago, after rebooting firefox was no longer working. It does start up, but doesn't allow me to do anything and after a few seconds it crashes and shows the error report, often this already happens the second I try to fire up fi

  • Uploading DVD videos thru MotoUSB - should they wind up in Gallery??

    There must be a more intuitive, obvious way to watch videos than going through my gallery - especially since the gallery doesn't show a movie name.  I had an LG Spectrum for about a week before I traded up to the Razr Maxx, and I've got to say the me

  • Using my credit in the iTunes store when buying in iBooks for PC on my macbook?

    I currently have and generally always maintain a credit balance in my iTunes store account. Can this be used when i buy iBooks in the iBooks app?

  • Max Number of items for an FI document (999) has been exceded

    Dear Guru's I hav production Bom For A ( Truck) , and now when i declare the production it gives me an ERROR :- Max Number of items for an FI document (999) has been exceded. How i can overcome this error!! Please help Regards Rahul Bhardwaj

  • Remote file browser

    i am trying to make a remote file browser in j2me. it will be done by internet/http connection. By this, i want to browse remote files from my mobile. if anybody can give me the source code or do any kind of help, i will remain thankful... Edited by: