Transfer data from diadem to excel

Hello,
I have a problem concerning data transfer from diadem 11.1  to excel 2003. I have several hundred of measuring channels in one group under diadem and I want to select only one hundred of them (always the same) and transfer it to excel at a specific place( One channel in one columns always the same too) to make some calculations and data treatment. The biggest problem is that channels under diadem have not always the same channel number depending of the measuring hardware and are not always all present depending of the test configurations( some sensor are not always in use). So I want to select the channel  using the name of the channel (which is always the same).I was thinking to make a loop like this: ( I dont know the correct syntax sorry)
For i 1 to 100      '100 is the number of channel that i want to extract
   if channelnames = channelnameslist (i)    'Channelnameslist would be the list of the channel names that I want to pick out.
   then excel export at excel.column (i)
  end if
else
Is something like that possible?
Thank you for your help.
Mathieu

Hi Mathieu,
You have several options when exporting from DIAdem to Excel:
1)  Use the Excel Export Wizard
2)  Create a TDM or TDMS file and then load that file into Excel with the Excel TDM Add-in
3)  Create an ASCII file and then load that ASCII file into Excel with its ASCII Import
4)  Use ActiveX to send values directly to an Excel sheet
Each of these options has various pros and cons.  For options 1-3 I would suggest you rearrange the selected channels in DIAdem into the order you want to see in Excel.  You can either use the ChnMove() function or the ChnCopyExt() function for this purpose.  Options 1-3 all have the ability to export a selection of channels from the Data Portal, but they will generally export them in the order they appear in the Data Portal, for options 2,3 you would use the DataFileSaveSel() command with either the "TDM" or the "CSV" DataPlugin parameter.
Option 4 is very flexible but is harder to program and is slower than the other three options.  How many data points do you have per channel?  How many hundred channels will you want to export at one time?
Brad Turpin
DIAdem Product Support Engineer
National Instruments

Similar Messages

  • How can i transfer filtered data from diadem to excel?

    Hi,
    i'm trying to write a script which would allows me to transfer data automatically from diadem to excel and i need some help.
    i want to copy the last of my selected channels, open an excel file and paste data into it.
    My script look like this
    Dim ExcelTable
    Call DATABLCLPCOPY("1,137,139,142-168,172-225,227,229,231,233,235,237,239,241,243",j,1) '... CHNNOSTR,CHNROW,VALNO
    Set ExcelTable=GetObject("K:\...\Anl_kal_v3_2006.xls!SN1")
    ExcelTable.Application.Visible = True
    One problem is that i don't know how to continue and the other is that this script only get the programm MS-Excel started and don't open my file.
    I hope i explained it the way you could understand and so you could give me ur help.
    Thanks
    Patrick Etoumann

    Hi Patrick,
    In DIAdem we provide an example which shows the things you would like to do. The script name is "Expl_OLE.vbs". You find it in the folder ..\Libr\Aut\.
    I hope this will help you.
    Greetings
    Walter

  • Transfer Data from Oracle to EXCEL

    Hello,
    I would like to transfer data from an oracle table into an EXCEL-Spreadsheet -
    while doing it, I got the error message
    "-1002 : 37000 : java.sql.SQLException:[Microsoft][ODBC Excel Driver]'C$_0Output is not a valid name..."
    I think I have correctly defined a logical + physical schema for the excel-file (test works and counts rows), and as knowledg-modules I use:
    LKM: SQL to SQL and
    IKM: SQL Control Append
    Does anybody have an idea how to avoid this error-message and to make the transfer working?
    Edited by: user10874105 on Jan 30, 2009 7:19 AM

    Hi Ramesh,
    yes, this points to the right solution -
    The only issue that remains is that by default ODBC-Setting for EXCEL is limitted to 255 Chars.
    Otherwise it works perfect!

  • Transfer Data from excel to text file or SAP R/3

    Hi,
    Can anyone please let me know if there is any function module to transfer data from excel to a .txt file.
    I am using a CRM 5.0 system and some standard SAP function modules are missing.
    I want to fetch data from excel to SAP R/3.
    Wish you great time.
    Best Regards
    Sid

    Hi Sid,
    extracting data from an excel sheet to SAP u can use the function module GUI_UPLOAD.
    I am providing u its parameters also as it might be useful to u.
    The mandatory fields here are FILENAME n in TABLES (in which u will be saving ur data).
    and also if u need to download from sap to any file u can use GUI_DOWNLOAD in which u can save data in both excel or txt file.
    U can also use SAP_CONVERT_TO_TEX_FORMAT function module to convert into text file.
    Rewards would be highly appreciated. Thanks.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      =
      FILETYPE                      = 'ASC'
      HAS_FIELD_SEPARATOR           = ' '
      HEADER_LENGTH                 = 0
      READ_BY_LINE                  = 'X'
      DAT_MODE                      = ' '
      CODEPAGE                      = ' '
      IGNORE_CERR                   = ABAP_TRUE
      REPLACEMENT                   = '#'
      CHECK_BOM                     = ' '
      VIRUS_SCAN_PROFILE            =
      NO_AUTH_CHECK                 = ' '
    IMPORTING
      FILELENGTH                    =
      HEADER                        =
      TABLES
        DATA_TAB                      =
    EXCEPTIONS
      FILE_OPEN_ERROR               = 1
      FILE_READ_ERROR               = 2
      NO_BATCH                      = 3
      GUI_REFUSE_FILETRANSFER       = 4
      INVALID_TYPE                  = 5
      NO_AUTHORITY                  = 6
      UNKNOWN_ERROR                 = 7
      BAD_DATA_FORMAT               = 8
      HEADER_NOT_ALLOWED            = 9
      SEPARATOR_NOT_ALLOWED         = 10
      HEADER_TOO_LONG               = 11
      UNKNOWN_DP_ERROR              = 12
      ACCESS_DENIED                 = 13
      DP_OUT_OF_MEMORY              = 14
      DISK_FULL                     = 15
      DP_TIMEOUT                    = 16
      OTHERS                        = 17
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Transfer data from MS Excel to Oracle table

    Hello,
    hope someone can help: What is the easiest way to transfer data from Excel sheet to a Oracle table and how ?
    An example of a row to transfer is given below
    Date Time Value 1 Value 2
    2004-02-02     03:47:39     9,62     3,62     
    Thanks in advance
    Regards
    Roar

    From Microsoft access , import data from Excel to an Access table.
    Format that Access Table properly in Design mode.
    Create a table as per your specification in oracle Database.
    Then export to oracle from access using approppriate ODBC driver.
    --Sayan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to transfer data from legacy system  to SAP

    Hi Friends,
    I would like to know the process and the steps followed to transfer data from my legacy system to SAP.
    Suppose if i have all the data in the form of Excel sheet or doc type. How can i transfer this data into SAP.
    Please explain the steps followed.
    Appreciate your help
    Anil

    Hi ,
    Conversion of legacy data into SAP can be uploaded using a standard SAP Tool called LSMW ( TCode:LSMW).
    the below link gives a brief explanation of the LSMW tool
    http://tutorialsap.com/abap/sap-lsmw-tutorial-with-steps-to-create.html
    There are various methods to upload data within LSMW. If the number of records are very high like Article Master or  Conditions for Retail the IDOC method must be used.
    Standard IDocs
    1. Article Master - ARTMAS
    2. Conditions - COND_A
    3. Source list - SRCLST
    4. Customer Master or WRF3/WRF6 tables - DEBMAS
    5. Vendor master- CREMAS
    Etc. Use transaction code WE60 to see the structure of each of the idocs. New enhancements can be done for the idocs if the required field is not available.
    Regards
    Prabhu

  • How to download data from itab to Excel sheet..

    Hi sap Experts,
    I develop one report to download data from itab to excel sheet.I done it perfectly.
    My doubt is in the excel sheet i need to put headings. and also at last i need to display total no.of Records.
    Please help me how to do this.
         Thanks in Advance....
    Thanks and Regards
    Siri.......................

    u can either use GUI_DOWNLOAD or the method below...just give a try
    DATA:WK_string TYPE STRING.
    DATA:Wk_EXT(4) TYPE C value '.xls'.
    DATA:WK_path TYPE STRING.
    DATA:wk_file_name type string.
    data:wk_records type sy-tfill.
    wk_file_name = 'Downloaded'.
    describe table itab lines wk_records.
    LOOP AT ITAB.
    at first.
    **Provide path
    concatenate 'C:\' wk_file_name Wk_EXT into wk_path.
    open dataset WK_path for output in text mode encoding default.
    if sy-subrc  0.
    write:'ERROR while opening dataset !!!!!!'.
    EXIT.
    endif.
    CONDENSE wk_path.
    **Heading Part
    concatenate 'Part No' 'Description'
         into wk_string separated by cl_abap_char_utilities=>horizontal_tab.
    endat.
    **Data ITAB
    CONCATENATE ITAB-MATNR itab-maktx into wk_string
         separated by cl_abap_char_utilities=>horizontal_tab.
    transfer wk_string to WK_path.
    at last.
    clear wk_string.
    Concatenate  'Records Passed:' wk_string into wk_string.
    transfer wk_string to WK_path.
    close dataset WK_path.
    endat.
    endloop.

  • Download data from itab to excel in background (POINTS WILL BE REWARDED )

    Hi Guys...
    Is it possible to transfer data from an internal table to excel through a report which runs in background...???
    thnx in advance...

    Please refer following code.
    LOOP AT IT_EXCEL_LAYOUT.
      CONCATENATE: IT_EXCEL_LAYOUT-SLNO             ','
                   IT_EXCEL_LAYOUT-HERST            ','
                   IT_EXCEL_LAYOUT-QMNUM            ','
                   IT_EXCEL_LAYOUT-QERDAT           ','
                   IT_EXCEL_LAYOUT-AUFNR            ','
                   IT_EXCEL_LAYOUT-ERDAT            ','
                   IT_EXCEL_LAYOUT-EBELN            ','
                   IT_EXCEL_LAYOUT-AEDAT            ','
                   IT_EXCEL_LAYOUT-BELNR_M          ','
                   IT_EXCEL_LAYOUT-BSART            ','
                   IT_EXCEL_LAYOUT-MATNR            ','
                   IT_EXCEL_LAYOUT-TXZ01            ','
                   IT_EXCEL_LAYOUT-MTART            ','
                   IT_EXCEL_LAYOUT-MENGE            ','
                   IT_EXCEL_LAYOUT-CBAMT            ','
                   IT_EXCEL_LAYOUT-MMCRAMT          ','
                   IT_EXCEL_LAYOUT-CRN_NO           ','
                   IT_EXCEL_LAYOUT-MMDBAMT          ','
                   IT_EXCEL_LAYOUT-DBN_NO           ','
                   IT_EXCEL_LAYOUT-REJAMOUNT        ','
                   IT_EXCEL_LAYOUT-DBN_REJ_CODE_TEXT','
                   IT_EXCEL_LAYOUT-STAMT            ','
                   IT_EXCEL_LAYOUT-STXCAMT          ','
                   IT_EXCEL_LAYOUT-CRNNO            ','
                   IT_EXCEL_LAYOUT-LRNO             ','
                   IT_EXCEL_LAYOUT-LRDATE           ','
                   IT_EXCEL_LAYOUT-TRANSPORTERNAME
            INTO   IT_EXCEL-FLD.
          APPEND   IT_EXCEL.
    ENDLOOP.
    DATA:w_filename LIKE  CFFILE-FILENAME.
    CONCATENATE '/usr/sap/EC2/SYS/global/backup/'SY-UNAME '.csv' INTO w_filename.
    OPEN DATASET w_filename FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
    IF SY-SUBRC = 0.
      LOOP AT IT_EXCEL.
         TRANSFER IT_EXCEL TO w_filename.
      ENDLOOP.
    ENDIF.
    CLOSE DATASET w_filename.
    It will help u to download data on to application server in csv format
    Regards,
    Swarup

  • Transfer data from a worksheet to a Flex embedded application

    Hi,
    I would like to transfer data from an Office 2003 worksheet
    to a Flex application located on the same worksheet (ie Flash
    activeX inserted). To pass these data, I use the ExternalInterface
    API in the Flex framework.
    All works fine if the Flex file (a SWF in fact) is not
    embedded into the Excel file. When I decided to embedd the Flex
    application into Excel, I met the folowing error:
    SecurityError: Error #2060: Security sandbox violation:
    ExternalInterface caller file:///C|/Program%20Files/Microsoft%
    20Office/OFFICE11/EXCEL.EXE cannot access <unknown>.
    at flash.external::ExternalInterface$/_initJS()
    at flash.external::ExternalInterface$/call()
    at
    DisplayContainerData/GetExcelData()[E:\DisplayContainerData\src\DisplayContainerData.mxml :22]
    at
    DisplayContainerData/___DisplayContainerData_Button1_click()[E:\DisplayContainerData\src\ DisplayContainerData.mxml:246]
    I tried to play with activeX properties (allowScriptAccess
    and AllowNetworking) without success. How can I fix this error?
    In the other hand, I must call Flex method in VBA code. I
    tried to use the CallFunction method of the Excel Shockwave activeX
    object, but it always fails. Here is the used syntax in my VBA code
    (the 'test' function exists in Flex code and is registered with the
    ExternalInterface.addCallback method):
    Call ShockwaveFlash1.CallFunction("<invoke name=""test""
    returntype=""xml""/> <arguments> <string>Hello
    World!</string> </arguments> </invoke>")
    The reported error is:
    "Run-time error '-2147467259 (80004005)': Method
    'CallFunction' of object IShockwaveFlash' failed"
    I have tried the same call with a dotNet application and it
    succeeded. How can I call a Flex function in Excel VBA code ?
    Thanks.

    One way would be to extract the data from the existing cube using a function module that would mimic the query level filters and restrictions. That data can be populated into the new cube.
    I wud suggest u take the data from a non-aggregated layer (say a DSO below the cube).
    Also, check for the possibility of running the APD in multiple runs by using some kind of selection that would sum up to give u the whole data required.
    Can u confirm if ur query itself is getting timed out?
    -PA1

  • Transfer data from Sap system to .xls format

    Hi Friends,
    How to transfer data from a internal table in SAP system to the .xls file in legacy system.
    Is gui_download the correct one.
    Thanks,
    Anuradha

    yes , using FM GUI_DOWNLOAD you can down load the data to excel sheet
    for this use FILETYPE = 'DAT'

  • How do i transfer data from one internal tabe to another.

    Hi All,
             How do i transfer data from one internal tabe to another.
             Can i do it ebven if he tables are different in structure.
    Please Advice.
    Thanks in advance.

    Hi Saket Tiwari,
    I hope the earlier post by kashyap is good enough an answer. anywas in addition to it let me give a detailed
    explanation of how you can populate an internal table.
    1) Append data line by line.
         Syntax :  APPEND [<wa> TO / INITIAL LINE TO] <itab>.
    this appends new line to internal table <itab>.
    2) Using COLLECT statement.
                 COLLECT is another form of statement used for populating the internal tables.  Generally COLLECT is used while inserting lines into an internal table with unique standard key. The syntax for COLLECT statement is as shown
         Syntax : COLLECT [<wa> INTO] <itab>.
    3) Using INSERT statement
         Syntax  INSERT [<wa> INTO / INITIAL LINE INTO] <itab> [index <idx>].
    INSERT statement adds a line/work area to the internal table. You can specify the position at which the new line is to be added by using the INDEX clause with the INSERT statement.
    Now coming to your request..
    To append part or all of an internal table
         Syntax
                  APPEND LINES OF <itab1> [FROM <n1>] [TO <n2>] TO <itab2>.
    *     Note:
    Without the FROM and TO options, this statement appends the entire table <itab1> to <itab2>.*
    b) To insert part or all of an internal table into another internal table
         Syntax
              INSERT LINES OF <itab1> [FROM <n1>] [TO <n2>]
              INTO <itab2> [INDEX <idx>].
    c) Using Move statement.
    To copy entire contents of one table into another in one execution
         Syntax MOVE  <itab1> To <itab2>.
                   OR
              <itab1> = <itab2>.
    but u hav to be careful because he contents of itab2 will eb overwritten on the execution of this statement.
    These copy the contents of ITAB1 to ITAB2. Incase of internal tables with header line we have to use [] inorder to distinguish from work area. So, to copy contents of internal tables with header line  the syntax becomes,
    ITAB1[] = ITAB2[].
    Coming to the letter part of your question, Yes, we can copy values between tables having different structures.
    for this we use    
                                MOVE-CORRESPONDING <itab1> TO <itab2>
        this executes the statement for their header lines. Searches for the sub-fields which occur both in itab1 and itab2 and then generates, for all relevant field pairs which correspond to the
            sub-fields ni , statements of the form MOVE itab1-ni TO itab2-ni. The other fields remain unchanged.
    I hope the information provided has been of your help.
    Reward if useful.
    Regards,
    Jose

  • How do I transfer data from one exterior harddrive to another?

    How do I transfer data from one exterior harddrive to another when they are both connected to our Imac Desktop?

    Depends what you want to transfer...
    A few more Details about what you are trying to achieve would be good.

  • Is that possible to transfer data from old apple id to new apple id becoz my old apple id is not working

    Is that possible to transfer data from old apple id to new apple id becoz my old apple id is not working.

    Merging of Apple ID accounts is not possible.

  • Transfer data from one database to another without identities but keep the relation b/w PK and Foreign key

    Hi,
    I need to transfer data from one database to another database (both are identical databases). 
    1. Not transferring identity columns (primary keys). the destination table might have the same key.
    2. keep the PK's and FK's relation b/w parent and child table
    3. I have 4 levels 
    Example: tableA (col1 int identity(1,1) , col2, col3)
    tableB (col1 int identity(1,1) ,
    col2 , col3) -- col2 has the foreign key relation with tableA.col1
    tableC (col1 int identity(1,1) ,
    col2, col3) -- col2  has the foreign key relation with tableB.col1
    tableD (col1 int identity(1,1) , col2, col3) -- col2  has the foreign key relation with tableC.col1
    please advise me.
    Thanks in advance

    Try the below:
    /********************************SAMPLE TARGET***************************************************************/
    Use MSDNSamples
    create table TableA(LevelValueId int identity(1,1) primary key, name varchar(100))
    Insert into TableA(name) Select 'R1'
    Insert into TableA(name) Select 'R2'
    create Table TableB(ChildId int identity(100,1),name varchar(100), LevelValueID int references TableA(LevelValueId))
    Insert into TableB(name,LevelValueID) Select 'Childname1',1
    /********************************SAMPLE TARGET***************************************************************/
    /********************************SAMPLE SOURCE***************************************************************/
    Use Sample
    create table TableA(LevelValueId int identity(1,1) primary key, name varchar(100))
    Insert into TableA(name) Select 'C1'
    Insert into TableA(name) Select 'C2'
    create Table TableB(ChildId int identity(100,1),name varchar(100), LevelValueID int references TableA(LevelValueId))
    Insert into TableB(name,LevelValueID) Select 'Kidname1',1
    /********************************SAMPLE SOURCE***************************************************************/
    USe MSDNSamples
    /********************************MIGRATION INTERMEDIATE TABLE***************************************************************/
    --Migration table
    Create table Mg_TableA(LevelValueId int, NewValueId int)
    /********************************MIGRATION INTERMEDIATE TABLE***************************************************************/
    /********************************ACTUAL MIGRATION FOR MASTER TABLE***************************************************************/
    MERGE INTO TableA
    USING sample.dbo.TableA AS tv
    ON 1 = 0
    WHEN NOT MATCHED THEN
    INSERT(name) Values(tv.name)
    Output tv.levelValueId ,inserted.LevelValueid INTO
    Mg_TableA;
    /********************************ACTUAL MIGRATION FOR MASTER TABLE***************************************************************/
    /********************************ACTUAL MIGRATION FOR CHILD TABLE***************************************************************/
    Insert into TableB (name,LevelValueID)
    Select A.name,B.NewValueId From sample.dbo.TableB A
    Inner join Mg_TableA B on A.LevelValueID = B.LevelValueId
    /********************************ACTUAL MIGRATION FOR CHILD TABLE***************************************************************/
    /********************************TEST THE VALUES***************************************************************/
    Select * From TableA
    Select * From Mg_TableA
    Select * From TableB
    /********************************TEST THE VALUES***************************************************************/
    Drop table TableB,Tablea,Mg_TableA
    Use Sample
    Drop Table TableB,Tablea

  • How can you transfer data from one ipod to another ?

    How can you transfer data from one ipod to another ipod ?

    The geniusbar told me what to do, I understood but there is still a problem for me >:/ It's not showing up though. Like "device."  Nothing is happening, and I tried as soon as I got home. Then after half an hour, then an hour, then 3 hours. My problem is that it's not showing up! It's stuck in recovery mode! There's still like 25% battery. So I have no idea why.

Maybe you are looking for

  • Mid 2010 Macbook Pro - Change MTU size kills internet (Jumbo Frames)

    Hi everyone, i'm hoping someone here can enlighten or help me solve my problem I'm having. I am trying to change my MTU size to enable Jumbo frames on my 13 inch Mid 2010 Macbook Pro. I recently bought a ReadyNAS Ultra and would like to speed up tran

  • Web page error in BPS after upgrade

    Hi, We have recetly upgraded our BW server from 7.01 SP5 to 7.3 SP4. Now when we run the BPS web page, it doesn't show anything except an error in the left bottom of the screen: Webpage error details User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Win

  • XMonad move windows with title X to workspace

    I want to automatically assign windows of Intellij Idea projects to specific workspaces in xmonad. I tried the following in my xmonad.hs: myManageHook = composeAll . concat $                   [  [ fmap (c `isInfixOf`) title  --> doShift "5:lp" | c <

  • Drop box/ public

    I have inadvertently deleted or misplaced my drop box so that I can pick up stuff I am doing on my laptop and finish it downstairs on my IMAC. I did a permission verify and fix... but I am wondering where in the branch off files where should it be pl

  • Deployment Architecture

    We have a project in LAD to implement Endeca Information Discovery 3.1 with text enrichment (Siebel as structured data source and Twitter and Facebook as unstructured data sources). We need to define the architecture for Dvmt, Test and production env