How to read data directly from clusters

hi all,
how to read data directly from clusters
Thanx in advance,
amruta.

Using macro:
RP-IMP-C2-B2.
RP-IMP-C2-B1.
RP-IMP-C2-ZL.
....etc.
For TM cluster, U also can use BAPIs like HR_TIME_RESULTS_GET
More details see SAP HR course 350(HR Programming)

Similar Messages

  • How to read data chanels from a file?

    Hi,
    I have some .CSV files, that have inside tree chanels( load force; opening force;travel distance) captured from two motors.
    I want to load more CSV files and analyze only two chanels ( opening force  and  travel distance) and send them to a report (travel distance to X-axis, and Opening force to Y-axis), but in the report to be all the chanels from all the CSV files that I loaded. ( to do a multi-load)
    My question is how can I read from the csv files the chanels that I am interested and then analyze them?
    I use this exemple from HELP to load the data:
    Dim MyFileNames, iCount
    Call FileNameGet("ANY", "FileRead","D:\BOF-MIU\BOF Archive\", "CSV data (*.CSV),*.csv", "All.lst", True, "Data selection"
    MyFileNames = Split(FileDlgFileName,"|"
    For iCount = 0 To Ubound(MyFileNames)
      Call DataFileLoad(MyFileNames(iCount))
    Next
    ' and then I try to analyze, but I don't know how to split the csv file to get only the chanels that I want
    Call ChnSmooth(filedlgfile &"[1]/Axis 1: Position (uu)","/Smoothed",12,"maxNumber" '... Y,E,SmoothWidth,SmoothType
    Thank you for your time.
    Solved!
    Go to Solution.

    Hi Marse,
    I'm very pleased that the "CSV" DataPlugin that ships with DIAdem enabled you to load your data files, that's one step down.  I think I understand what you mean by "I don't know how to split the csv file to get only the chanels that I want".  I think you want to load only the last 2 channels from each selected CSV file.  Here's how to do that-- first select the CSV files you want to load in the NAVIGATOR, then run the following VBScript
    FilePaths = GetNaviSelFiles()IF NOT UBound(FilePaths) > 0 THEN Call AutoQuit("No CSV files selected in the NAVIGATOR")Call DataDelAllFOR j = 1 TO UBound(FilePaths) FileName = NameSplit(FilePaths(j), "N")Call GroupCreate(FileName) Call GroupDefaultSet(GroupCount)Call DataFileLoadSel(FilePaths(j), "CSV", "[1]/[3-4]") ChnName(CNoXGet(GroupCount, 1)) = "Opening Force"ChnName(CNoXGet(GroupCount, 2)) = "Travel Distance"NEXT ' j Function GetNaviSelFiles() Dim i, j, iMax, Elements, FilePaths Set Elements = Navigator.Display.CurrDataProvider.Browser.SelectedElementsj = 0iMax = Elements.CountReDim FilePaths(iMax) FOR i = 1 TO iMax IF Elements(i).IsKindOf(eComputerFile) OR Elements(i).IsKindOf(eSearchFile) THENPath = Elements(i).Properties("FullPath").ValueIF UCase(NameSplit(Path, "E")) = "CSV" THENj = j + 1FilePaths(j) = Path
    END IF ' CSV fileEND IF ' Selected NAVIGATOR FileNEXT ' Selected NAVIGATOR Element ReDim Preserve FilePaths(j) GetNaviSelFiles = FilePathsEnd Function ' GetNaviSelFiles() 
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • How to read data from a Modbus module

    I have a Modbus module from ICPDAS (ET-7019/PET-7019), which I want to read data directly from. Since I'm fairly new to Modbus, not really sure where to start from. I have read the Modbus introduction and understood some of the basics. I've also downloaded the Modbus library but don't really see any good example. The ICPDAS Modbus module is ethernet based and is currently connected to our network. The ICPDAS can log data but I'd like to read data directly using LabVIEW.
    We have LabVIEW 2009 development suite and RT module, cFP 2220 and 180x. I read some sections saying using cRIO as modbus master/slaves and assume we can use cFP as a similar method? I don't have DSC module.
    Would someone be nice to draw a diagram or explain where I can start in terms of connection and configuration? Read from ICPDAS is the only function I need.
    Many thanks,
    Dahai

    Here is a thread with a modbus ethernet query.
    http://forums.ni.com/t5/LabVIEW/Help-with-MODBUS-over-TCP/m-p/271528/highlight/true#M144486

  • How to Parse XML data directly from context variables in webdynpro

    Hello,
       I have two requirements:
    1) I have a context variable which has string value.
       I want to write the this value into a flat file.
       How do I do this in WebDynpro.
       Any sample code for this.
    2) In Webdynpro, I want to parse and process the XML data directly from a string context variable which
       has the value in XML format.
       How do I achieve this. Any pointers or sample codes for this.
    Thanks and Regards,
    Anupama.

    Anupama,
    Here is some link which talks about unpacking xml and converting to HTML.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/eb/3dfb402eb5f76fe10000000a1550b0/content.htm">http://help.sap.com/saphelp_nw04/helpdata/en/eb/3dfb402eb5f76fe10000000a1550b0/content.htm</a>
    I have done something like this in portal development and not in webdynpro.But in principle it should work very where.

  • How to read data from a CLUSTER STRUCTURE not cluster table.

    Hi,
    how to read data from a CLUSTER STRUCTURE not cluster table.
    regards,
    Usha.

    Hello,
    A structre doesnt contain data.. so u cannot read from it. U need to find out table of that structure and read data from it.
    Regards,
    Mansi.

  • How to read data from a file that was formatted by excel?

    Hi everyone, I'm familiar with java.io and the ability to read from files, can anyone tell me how to read data from a file that was formatted by excel? Or at least give me some web references so that I can learn about it?

    http://jakarta.apache.org/poi/hssf/index.html
    HSSF stands for Horrible Spreadsheet Format, but it still works!

  • How to read data from a router by using labview

    I am a  beginner labview. How to read data from a router by using labview ? 

    What kind of data are you trying to read?
    Does the router behave like a webserver that you log into?  If so, search the forums for threads discussing HTML.

  • How to read data from a connected modem

    any one can help me? how to read data from a connected modem. The modem received real-time data from other server. The data is in text format. I can see this text when I used hyperterminal for dial up and the data is accumulated such as:
    @aa1235678
    @bb2135647
    @cc5214367
    since it is real-time data, I want to read one line each time instantly when it arrives.

    You need to use the Java Communications API. (http://java.sun.com/products/javacomm/index.html)

  • How to read data from a zipped MS Access file?

    How to read data from a zipped MS Access file?

    RPJ,
    You do not need to use the Close Zip File.vi when you unzip a folder.  This VI is used when you are creating a zip folder.
    As for examples, I found a couple of ActiveX based MS Access examples.  These programs look to be pretty basic.  For more in depth example I would search Microsoft Developers Network
    http://zone.ni.com/devzone/cda/epd/p/id/2188
    http://zone.ni.com/devzone/cda/epd/p/id/1694
    Regards,
    Jon S.
    National Instruments
    LabVIEW R&D

  • How to read data from itab

    can someone help me with this....
    how to read data.....and move it to internal table....
    the requirement is as:
    <b>Get the Participant details in an internal table IT_FINAL_PAR</b>
    •     Loop through IT_PA0002 and move Personnel number (PERNR), Personnel ID Number (PERID), Last name  (NACHN), First name (VORNA), Gender Key (GESCH), Date of Birth (GBDAT) into a final internal table for Participant data IT_FINAL_PAR.
          Read the internal table IT_PA0006 to get the corresponding House Number and Street 
    (STRAS), City (ORT01), Postal code (PSTLZ), State (STATE), 2nd address line (LOCAT) by comparing Personnel Number (PERNR)and move those retrieved field values to the final internal table for Participant data IT_FINAL_PAR.

    Hi,
      you could try the following:
    * work areas
    data: W_PA0002 like line of IT_PA0002[],
          W_PA0006 like line of IT_PA0006[],
          W_FINAL_PAR like line of IT_FINAL_PAR[].
    loop at IT_PA0002 into W_PA0002.
      clear W_FINAL_PAR.
    * move values from IT_PA0002
      W_FINAL_PAR-PERNR = W_PA0002-PERNR.
      W_FINAL_PAR-PERID = W_PA0002-PERID.
    * read address values from IT_PA0006
      read table IT_PA0006 into W_PA0006 with key pernr = W_PA0002-pernr.
      if sy-subrc = 0.
    * move fields from IT_PA0006
        W_FINAL_PAR-STRAS = W_PA0006-STRAS.
      endif.
      append W_FINAL_PAR to IT_FINAL_PAR.
    endloop.

  • How to read data from an internal table into a real table?

    Hello experts,
    I'm relatively new to ABAP and I'm trying to figure out how to read data from an internal table into a table that I created.  I'm trying to use the RRW3_GET_QUERY_VIEW_DATA function module to read data from a multiprovider.  I'm trying to read data from the e_cell_data and e_axis_data tables into a table that I've already created.  Please see code below.
    TABLES MULTITAB.
    DATA:
      query_name TYPE RSZCOMPID,
      s_cubename TYPE RSINFOPROV,
      t_cell_data TYPE RRWS_T_CELL,
      t_axis_data TYPE RRWS_THX_AXIS_DATA,
      t_axis_info TYPE RRWS_THX_AXIS_INFO,
      wa_t_cell_data like line of t_cell_data,
      wa_t_axis_data like line of t_axis_data,
      w_corp_tab like line of t_cell_data.
    s_cubename = 'CORP_MPO1'.
    query_name = 'Z_corp_test'.
        CALL FUNCTION 'RRW3_GET_QUERY_VIEW_DATA'
           EXPORTING
             i_infoprovider           = s_cubename
             i_query                  = query_name
            i_t_parameter            = query_string_tab
           IMPORTING
             e_cell_data              = t_cell_data
             e_axis_data              = t_axis_data
             e_axis_info              = t_axis_info.
    If anyone has any information to help me, I would greatly appreciate it.  Thanks.

    Hi,
    <li>Once you call the function module RRW3_GET_QUERY_VIEW_DATA, lets say data is available in the corresponding tables e_cell_data e_axis_data which you have mentioned.
    <li>Modify your internal table defined for other purpose, with data from e_cell_data e_axis_data like below.
    LOOP AT t_cell_data INTO wa_t_cell_data.
      "Get the required data from t_cell_data.
      MOVE-CORRESPONDING wa_t_cell_data TO it_ur_tab.
      "Modify your internal table wih data
      MODIFY it_ur_tab TRANSPORTING <field1> <field2> <field3>.
    ENDLOOP.
    LOOP AT t_axis_data INTO wa_t_axis_data.
      "Get the required data from t_cell_data.
      MOVE-CORRESPONDING wa_t_axis_data TO it_ur_tab.
      "Modify your internal table wih data
      MODIFY it_ur_tab TRANSPORTING <field1> <field2> <field3>.
    ENDLOOP.
    Thanks
    Venkat.O

  • Help me,  How to read data from USB ???

    Help me, How to read data from USB ???

    If its a disk on key or some portable hard drive than once its connected to the usb and recognized by the system you can access it through java like you would access your hard drive.

  • JTable, how to read Data from it when enter is pressed

    How to read Data from JTable on Return or lost focus from cell.
    Also please tell me which listener I should should.
    thx for help

    You should read the tutorial about tables, cell editors and models.
    Also you should not [url http://forum.java.sun.com/thread.jsp?thread=472677&forum=57&message=2186815]crosspost
    Mike

  • How to read data from PC format external disk, using Labview MAC

    Hi folks,
    For years I have not been able to read data files from a PC formatted (created) external disk, using Labview for Mac. More specifically:
     - I have Labview 7.01 running on OS X 10.4.11 on a PowerBook G4
     - I have a 500GB external USB/firewire disk that was formatted on a PC and has data files (custom format) that were created on the PC. I believe that C code actually creates the files, but Labview 7/PC opens the files and appends some info (I don't think the fact that C or Labview touches the files is actually relevant to this issue though).
     - I can connect the 500 GB disk to my mac, and it will mount just fine and OS X can see all of the data files (and anything else on the disk).
     - if I use my Labview app to open and read a data file it fails:
           - open/create/replace.vi (with read-only access) shows a file dialog window that lets me navigate to any file on the external disk.
           - but, the vi returns an error 7
     - if I use OS X to copy the data file to my Mac disk, my Labview app works fine.
    So, does anyone know if:
     - I'm just doing something wrong in my Mac Labview app?
     - Labview 7.x solves this problem?
     - Labview 8/Mac solves this problem?
     - OS X 10.5 solves this problem; with Labview 7 or 8; or does OS X 10.5 worsen the problem?
    Thanks, in advance...

    Hi kehander,
    Thanks for the reply. I tried filling a constant path with the Mac-defined path to a data file on the USB disk (ie "DATA2:file1.dat"). This resulted in the same error message.
    I then considered that maybe I was misinterpreting the LV error message, and that perhaps I was supposed to address the file using PC-notation (ie. "DATA2\file1.dat"), even though the app is running on a Mac. No joy with this, but I get a different error msg:
    "Error 1430 occurred at Open File
    Possible reason(s):
    LabVIEW:  The path is empty or relative. You must use an absolute path."
    Can you share what your reasoning was for your suggestion... I'm not sure I understand why a constant path would produce different results?

  • Is it possible to select an area on a graph and to delete data directly from it?

    Hi,as written in the message subject, I'm interesting in the possibility of delete data directly from a graph, using two cursors on the x-axis, or selecting directly an area.
    In fact I don't know how to link the cursor position to the data position in an array, in fact if I'm able to do this, I can use the cursors to select an interval on the x-axis and then with the help of a control on the front panel, delete the data from the array, and obtain a new graph without the selected area.
    Thanks for your kindly attention
    Best regards
    Michele Maria Marotta
    PhD students
    University of Salerno-Italy

    I'm assuming from your question that you have an XY graph built from an array, and I'm also assuming the array is sorted by the X axis.
    Create a property node for the graph (Right-click on the terminal and select Create>>Property node). Now you can either select the Cursor>>Cursor position and Cursor>>Active cursor properties to get the coordinates of the cursor(s), or you can select the Cursor List property to get an array of clusters that holds the data for all the cursors. Assuming you only have two cursors, you can use a for loop and place an Unbundle by name VI in it to get the cursor position. Now that you have the positions for both cursors, go back to the original array and remove the data that's between these values.
    Try to take over the world!

Maybe you are looking for

  • Attachment in mail

    Hi there I've got a problem when it comes to adding attachments to a mail. I've got a working mail function that lokk like this: import java.util.Properties; import javax.activation.DataHandler; import javax.activation.FileDataSource; import javax.ma

  • AniServer Campus Manager problem

    Hi I recently ran a Device patch update and ever since I have had major problems with Campus Manager. I figured it was Aniserver related So i have done the following so far: 1- I reinitialised the ANI Database 2 - I replaced the aniserv.properties wi

  • Quad Processor Not Using All Four Procs?

    Hi All, I am using a Quad-G5 2.5Ghz with 4.5 GB of DDR2 SDRAM, 10.4.8. When I do an encoding with Compressor and open up Activity Monitor, the process hovers around 240%. The next highest processes use between 1-5%, and way down below it says about 3

  • Default role in OIM

    Hi, In OIM, when a new user is created, he will be given All Users role.Where this configuration is done in OIM. Please let me know. Thanks.

  • How do you test if a string could be a valid int and then convert to int?

    Hello, my name is Esran41 and I'm new to this site. I'm in computer science one this year and our current assignment is to make a console based Tic-Tac-Toe game. The final program must be able to detect errors in the user's input. For example, if the