Real time import

Hi everybody,
I'm a student using DASYLab 9 on a test bench. I get data from sensor in MATLAB and want to import this data to DASYLab to control a piezo actuator. Saving the MATLAB data as an ASCII file and importing it later in DASYLab or the other way round with a .ddf file is no problem.
But because everything should be running simultaneously I'm looking for a possibility of importing the data in real-time to DASYLab. I didn't find anything in the manuals or in this forum yet that could really help me.
Does DASYLab have the possibility of real-time data importing or should I try focusing on getting both the sensor and actuator control in one programm e.g. either DASYLab or LABView or MATLAb?
I'm thankfull for any advice!
Greetings

Thanks for the reply and sorry for that stupid question, I propably could have found out easily on my own...
I assume that the ACCEL driver is damaged or gone. I have no idea how that could happen...
The 'about' in the DAP box shows me no hardware and no accel-version.
I'm currently in contact with the Microstar Laboratories support to solve the problem but we're still on the way to find a solution.
Do you have an idea how I could get the communication with the DAP-card going again?

Similar Messages

  • Real time importing images

    I am working on the project that I need to import images in real time. I mean my program have to get a picture per second.I am very new with LabView and don't know how can I do that. can anyone help me please?
    Thank you in advance.

    zeinab1 wrote:
    There is usb camera and I mean by real time is really fast like one picture per second.  I am good at programing but no experience with LabView. Do you think can I code separately in C or C++ and kind of using in LabView.
    I have a USB camera mounted on my monitor "looking at me".  I fired up MAX and tried to determine how quickly I could "snap" (take a single image) pictures.  Since I was manually "pushing the button", it was tricky to tell, but it seemed to be possible to take 1/sec.  I then tried "grab", which takes videos -- this was (of course) much easier, and considerably faster (I'd guess tens of frames/second).
    I have the Vision module installed, and am using IMAQdx for getting the images.  LabVIEW isn't bad in capturing images, but there's not a lot of hand-holding or extensive documentation -- I think it could be a real challenge to "do it yourself" with no LabVIEW experience.
    To even see if this is a viable approach for you, see if you can repeat what I did -- plug in your USB camera, open NI-MAX, and see if the camera shows up.  If it doesn't, stop -- you don't have the LabVIEW software appropriate to do this installed.
    BS

  • Real-time HDV importing ..& Happy New Year!

    Hi! Happy 2006!
    Some time in December (?) I said I'd been to the London Apple Store to try importing HDV - with a Sony FX-1 camcorder - into iMovie HD on a PowerMac, to see if it'd import in "real time" ..instead of importing at half or quarter speed, on my PowerBook and Mac mini, while it converts hi-definition footage into Apple's 'Intermediate Codec' (to make HDV MPEG footage editable).
    It couldn't be done in the hour and a half I was there, so an Apple Genius was going to get back to me.
    After a bit of complaining and cajoling, a Genius at 'The Studio' in the Store finally got back to me on Jan 3rd. [I'm now back home, so this is my first visit to Discussions for a while!]
    As I promised that I'd report back, here's what he said:
    "Today I imported HDV 1080i footage into iMovie using the Sony HDR-FX1 Camcorder using a Dual 2.7 G5 Power Mac with 4.5 Gb of Ram and there didn't appear to be any lag, it was realtime. I would recommend having as much memory as possible and having less than 4.5 might mean there is a transcoding lag as iMovie converts the HDC encoded footage using the Apple Intermediate Codec. I do not have any details what the minimum speed processor and memory requirements are to achieve realtime import, however it is hardware dependent.
    As another alternative you may consider using Final Cut Pro 5 software. This software uses the HDV Codec Natively and there is therefore no transcoding required. Capture is in realtime, whatever machine you use, so long as it is within the minimum requirements for Final Cut Pro 5. (Please check http://www.apple.com/finalcutstudio/finalcutpro/specs.html for further detail) For details of using HDV with Final Cut Pro 5 please go to http://www.apple.com/finalcutstudio/finalcutpro/editanything.html
    I hope this goes someway to answering your queries."
    (..So maybe I'll get a post-Christmas present of a quad ..Daniel's should have arrived by now ..wonder if his feet have touched the ground since..)
    So we who patiently wait while iMovie HD imports hi-def HDV at half-speed or slower could achieve 'real-time' importing with a PowerMac and lots of RAM, it seems.
    I also tried an HC-1 (..the compact 1-chip HDV camcorder..) and have to report that the auto-focus isn't anywhere near so fast as the pretty-near-instant focusing of the FX-1, and - predictably - its low-light performance isn't anywhere near the bright, un-grainy, colourful images of the FX-1. But the HC-1 does have NightShot and Super NightShot for shooting (monochrome) in absolute darkness, helped by infra-red LEDS on the camera, which the big, bulky FX-1 doesn't do. The HC-1 has just about all of the other gizmos of the FX-1 (..user-definable preset transitions - to zoom, change focus, adjust white balance, etc, automatically during shots..) but they're accessible mainly through touch-screen menus, instead of via quick push dedicated switches.
    So Happy New Year; hope it's a good one - and a faster Mac DOES mean real-time importing of HDV footage!
    [..I notice that Focus FireStore on-camera hard drives - which mean "say goodbye to importing, because your footage is saved to disc while you shoot" - have an HDV-compatible model ..but I think it still takes time to convert the captured HDV MPEG footage on the drive into Apple's Intermediate Codec for editing within iMovie HD. I'll investigate further..]
    Hope you had a good Christmas/Hanukah/whatever!

    HAPPY NEW YEAR!
    Kalman Toth Database & OLAP Architect
    SQL Server 2014 Database Design
    New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014

  • What are the important concepts in ABAP which are used in real time

    Hi,
    This suresh i'm learning sap/abap just i want to know the
    important concepts sap/abap which will be  used in real time.

    Hi,
    Refer.
    /people/thomas.jung/blog/2007/12/19/update-your-abap-development-skills-to-sap-netweaver-70
    /people/horst.keller/blog/2007/03/21/1000-pages-full-of-abap
    /people/anubhav.mishra/blog/2007/11/20/first-experience-with-abap
    Also
    Re: Any Bw abap course for writing routines?
    Re: ABAP for BW
    Re: Seeking advice ABAP With BW
    Re: ABAP in BW
    Hope this helps.
    Thanks,
    JituK

  • Plesae any body can tell me some important real time FAQ's

    please any body can tell me some real time qutions they faced in interviews
    please it will help me a lot

    Hi,
    these are a few important questions
    ABAP Technical Interview Questions:
    1. What is the typical structure of an ABAP program?
    2. What are field symbols and field groups.? Have you used "component idx of structure" clause with field groups?
    3. What should be the approach for writing a BDC program?
    4. What is a batch input session?
    5. What is the alternative to batch input session?
    6. A situation: An ABAP program creates a batch input session. We need to submit the program and the batch session in background. How to do it?
    7. What is the difference between a pool table and a transparent table and how they are stored at the database level?
    8. What are the problems in processing batch input sessions? How is batch input process different from processing on line?
    9. What do you define in the domain and data element?
    10. What are the different types of data dictionary objects?
    11. How many types of tables exist and what are they in data dictionary?
    12. What is the step-by-step process to create a table in data dictionary?
    13. Can a transparent table exist in data dictionary but not in the database physically?
    14. What are the domains and data elements?
    15. Can you create a table with fields not referring to data elements?
    16. What is the advantage of structures? How do you use them in the ABAP programs?
    17. What does an extract statement do in the ABAP program?
    18. What is a collect statement? How is it different from append?
    19. What is open sql vs native sql?
    20. What does an EXEC SQL stmt do in ABAP? What is the disadvantage of using it?
    21. What is the meaning of ABAP editor integrated with ABAP data dictionary?
    22. What are the events in ABAP language?
    23. What is an interactive report? What is the obvious diff of such report compared with classical type reports?
    24. What is a drill down report?
    25. How do you write a function module in SAP? Describe.
    26. What are the exceptions in function module?
    27. What is a function group?
    28. How are the date abd time field values stored in SAP?
    29. What are the fields in a BDC_Tab Table?
    30. Name a few data dictionary objects?
    31. What happens when a table is activated in DD?
    32. What is a check table and what is a value table?
    33. What are match codes? Describe?
    34. What transactions do you use for data analysis?
    35. What is table maintenance generator?
    36. What are ranges? What are number ranges?
    37. What are select options and what is the diff from parameters?
    38. How do you validate the selection criteria of a report? And how do you display initial values in a selection screen?
    39. What are selection texts?
    40. What is CTS and what do you know about it?
    41. When a program is created and need to be transported to prodn does selection texts always go with it? if not how do you make sure? Can you change the CTS entries? How do you do it?
    42. What is the client concept in SAP? What is the meaning of client independent?
    43. Are programs client dependent?
    44. Name a few system global variables you can use in ABAP programs?
    45. What are internal tables? How do you get the number of lines in an internal table? How to use a specific number occurs statement?
    46. How do you take care of performance issues in your ABAP programs?
    47. What are datasets?
    48. How to find the return code of a stmt in ABAP programs?
    49. What are interface/conversion programs in SAP?
    50. Have you used SAP supplied programs to load master data?
    2. Adapted from response by Maram Roja on Tuesday, June 15, 2004
    1. What are the techniques involved in using SAP supplied programs? Do you prefer to write your own programs to load master data? Why?
    2. What are logical databases? What are the advantages/disadvantages of logical databases?
    3. What specific statements do you using when writing a drill down report?
    4. What are different tools to report data in SAP? What all have you used?
    5. What are the advantages and disadvantages of ABAP query tool?
    6. What are the functional areas? User groups? How does ABAP query work in relation to these?
    7. Is a logical database a requirement/must to write an ABAP query?
    8. What is the structure of a BDC sessions.
    9. What are Change header/detail tables? Have you used them?
    10. What do you do when the system crashes in the middle of a BDC batch session?
    11. What do you do with errors in BDC batch sessions?
    12. How do you set up background jobs in SAP? What are the steps? What are the event driven batch jobs?
    13. Is it possible to run host command from SAP environment? How do you run?
    14. What kind of financial periods exist in SAP? What is the relevant table for that?
    15. Does SAP handle multiple currencies? Multiple languages?
    16. What is a currency factoring technique?
    17. How do you document ABAP programs? Do you use program documentation menu option?
    18. What is SAPscript and layout set?
    19. What are the ABAP commands that link to a layout set?
    20. What is output determination?
    reward if helpful
    vivekanand

  • InDesign auto-size frame feature not working in real time in InCopy why?

    We have just recently migrated from InCopy CS4 to CS6 to take advantage of the new features like the auto resize frame option, however it now seems that this feature is not working in real-time.
    Basically the steps are needed to be complete before it auto-resizes the frame in InCopy, we use both layout and assignment based workflows:
    1. From an ID document ('doc1'), exported a 'layer' to IC, certain frames are set to auto-size in height using the text frame options. So that editorial can review and make changes to text and the frame should resize according to the specifications set. IC stories are saved to a folder located in a content folder inside the top issue working folder.
    2. Editorial opens the IC software, then opens the ID 'doc1'. Check’s out correct .icml file and makes edits to frame with auto resize.
    3. Frame does not resize according to text frame set options and InCopy file does not respond in same fashion as InDesign.
    4. Change only occurs when InCopy file is closed and updated in InDesign, which is frustrating as this feature would save huge amounts of time serving editorial requests.
    Has anybody experienced this type of workflow problem? If anyone can provide mw with some pointers as to what can I do to get this to update in real time perhaps run a script? Update file in InCopy and refresh I will very much appreciate their assistance. I have run out of ideas.
    Thanks!

    We've had all sorts of problems with this feature as it should've worked straight out of the box but after some testing we have found that its something to do with the way you open the actual file in InCopy. Which is far from ideal and should have been UAT by Adobe before release.
    This will not work consistently work if you open the designed .indd or .icma file in InCopy using the file open command within the application.
    If you need this to work, the InCopy user has to open the .indd or .icma file by dragging and droping from OS windows explorer into InCopy, we use Windows 7 acrros all the teams. Check out .icml files add text changes to the set auto resized frames, this process will expand/collapse the frames to fit the content but as you have to use the drag and drop method to open the .indd and .icma file, 2 users cannot access the same time doc at the same time (a serious flaw in the programming architecture!) which stops people working in parallel. Save changes, check in .icml content and close .indd or .icma.
    However the flaw comes in if you then open the .indd and .icma file in InCopy using the file open command within the application, before an InDesign user opens and saves the file (updates the design). The corrections added in the previous stage above, will not show the frames expanded/collapsed to take in the added text and instead show over matter???? The only way around this is to ask an InDesign user to open, update and save the design that way the InCopy user will see the same result no matter what file open method they use.
    Another suggestion is to design the page to have some of the auto resize frames anchored within main body of text and that way the frames will expland/collapse when checking out and editing the content. However, this does cause issues with InDesign crashing etc. so we have tried to stop this method within the working group.
    Have you experienced other more serious issues with InDesign crashing consistently when re-importing .icml files? See other forums here:
    http://forums.adobe.com/thread/671820?start=80&tstart=0
    http://forums.adobe.com/message/5045608#5045608
    As far as we can see this is a major flaw in how the application(s) work, we have an enterprise agreement with Adobe and purchase a large volume of Adobe products globally but so far the technical support team are unable to find a solution to this and I'm not hopeful of any resolution soon even with the new release of Adobe CC.

  • How much interfaces can be driven in "real-time" with a VI in LABVIEW 6i

    In my application I need to merged data from different devices hanging to my computer via different interface types. Each data set in to be specifically formatted in a file. Each data set comes a a rate of ~ 10 Hz.
    As acquisition devices I do have
    - 4 digitizers connected to the PCI bus and their labview driver are already given by the constructor
    - an instrument from which data to be imported via a GPIB interface
    - an instrument from which data are imported via a serial port
    - and probably in the future, 2 devices mounted on two USB port
    I wish to developp a LABVIEW 6i code which permit me to make the request to all instrument, to import the data and to merged them as quick as possible so
    that I can store data set coming every 0,1 s. All data from all instruments must be recorded for the same event at the same time (in a triggered manner) before it performs the acquistions for the next event
    I would like to know what is the best way to each my goal.
    - Is it possible to control all this with one VI (containing lot of VIs) ?
    - Should I execute a VI for each interface and run them at the same time and save all data set with a time stamps in a file and then, off-line, process all the files and merge my information.
    In a general manner, are there any rules which indicate the maximum number of interface (according to their nature) which can be properly controled on a given platform from one computer.
    Thanks you very much for any answers

    Its been a couple of days with no reply....
    Look at the occurence functions.
    You can have one loop send occurences at teh rate you need.
    Put each of the other functions in seperate loops that wait for the occurence on each interation.
    Provided each of your loops runs fast enough this approach should serve you up till you run into the indeterminism of Windows. If the the indeterminism will be an issue, you may have to go with LV Real-Time.
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • Real-Time Module architecture

    Hi, (I use LV RT DSC 8.2.1)
    I want to learn how to use the Real-Time Module.
      I have process that is running at a Real Time compact Field Point Target.
    The process should be controlled and monitored by the Target but the triggering of the process should be available at the Host.
    I also want to view the Process progression at the Host screen.
      As far as I understand it I have several options :
    Create a RT FIFO buffer and send the process data to that buffer, and then, use 'TCP Write' to send the buffer data to the Ethernet Network, where it is available to any Host PC at the Ethernet Network to view (by using TCP Read)
    Create a Variable in the Project, and enable his RT FIFO at his properties.
    Control the process at the Target with Shared Variables and read them at the Host.
      Option 3 is the option I have been using so far, ignoring the RT property of the controllers, what are the advantages of using RT module ?
    and when should I consider using them ?
      What is the difference between 1 and 2 and what are their advantages ?
      What important things do I need to consider when I use RT Module  (just several tips if possible) ?
       Sincerely Yours,  Amitai Abramson.

    Hi Amitai,
    You could go through this link to know more about RT FIFO and its use. http://zone.ni.com/devzone/cda/tut/p/id/3934
    and this for communication wizard http://zone.ni.com/devzone/cda/tut/p/id/4676
    Message Edited by mallyaprs on 04-30-2009 03:53 AM
    -Mallya
    " Appreciate and motivate those who help"

  • Abap-hr real time questions

    hi friends
    kindly send me ABAP-HR REAL TIME QUESTION to my mail [email protected]
    Thanks&Regards
    babasish

    Hi
    Logical database
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. Using logical databases facilitates the process of reading database tables.
    HR Logical Database is PNP
    Main Functions of the logical database PNP:
    Standard Selection screen
    Data Retrieval
    Authorization check 
    To use logical database PNP in your program, specify in your program attributes.
    Standard Selection Screen
    Date selection
    Date selection delimits the time period for which data is evaluated. GET PERNR retrieves all records of the relevant infotypes from the database.  When you enter a date selection period, the PROVIDE loop retrieves the infotype records whose validity period overlaps with at least one day of this period.
    Person selection
    Person selection is the 'true' selection of choosing a group of employees for whom the report is to run.
    Sorting Data
    · The standard sort sequence lists personnel numbers in ascending order.
    · SORT function allows you to sort the report data otherwise. All the sorting fields are from infotype 0001.
    Report Class
    · You can suppress input fields which are not used on the selection screen by assigning a report class to your program.
    · If SAP standard delivered report classes do not satisfy your requirements, you can create your own report class through the IMG.
    Data Retrieval from LDB
    1. Create data structures for infotypes.
        INFOTYPES: 0001, "ORG ASSIGNMENT
                            0002, "PERSONAL DATA
                            0008. "BASIC PAY
    2. Fill data structures with the infotype records.
        Start-of-selection.
             GET PERNR.
        End-0f-selection. 
        Read Master Data
    Infotype structures (after GET PERNR) are internal tables loaded with data.
    The infotype records (selected within the period) are processed sequentially by the PROVIDE - ENDPROVIDE loop.
              GET PERNR.
                 PROVIDE * FROM Pnnnn BETWEEN PN/BEGDA AND PN/ENDDA
                        If Pnnnn-XXXX = ' '. write:/ Pnnnn-XXXX. endif.
                 ENDPROVIDE.
    Period-Related Data
    All infotype records are time stamped.
    IT0006 (Address infotype)
    01/01/1990   12/31/9999  present
              Which record to be read depends on the date selection period specified on the
              selection screen. PN/BEGDA PN/ENDDA.
    Current Data
    IT0006 Address  -  01/01/1990 12/31/9999   present
    RP-PROVIDE-FROM-LAST retrieves the record which is valid in the data selection period.
    For example, pn/begda = '19990931'    pn/endda = '99991231'
    IT0006 subtype 1 is resident address
    RP-PROVIDE-FROM-LAST P0006 1 PN/BEGDA PN/ENDDA.
    Process Infotypes
    RMAC Modules - RMAC module as referred to Macro, is a special construct of ABAP/4 codes. Normally, the program code of these modules is stored in table 'TRMAC'. The table key combines the program code under a given name. It can also be defined in programs.The RMAC defined in the TRMAC can be used in all Reports. When an RMAC is changed, the report has to be regenerated manually to reflect the change.
    Reading Infotypes - by using RMAC (macro) RP-READ-INFOTYPE
              REPORT ZHR00001.
              INFOTYPE: 0002.
              PARAMETERS: PERNR LIKE P0002-PERNR.
              RP-READ-INFOTYPE PERNR 0002 P0002 .
              PROVIDE * FROM P0002
                  if ... then ...endif.
              ENDPROVIDE.
    Changing Infotypes - by using RMAC (macro) RP-READ-INFOTYPE. 
    · Three steps are involved in changing infotypes:
    1. Select the infotype records to be changed;
    2. Make the required changes and store the records in an alternative table;
    3. Save this table to the database;
    The RP-UPDATE macro updates the database. The parameters of this macro are the OLD internal table containing the unchanged records and the NEW internal table containing the changed records. You cannot create or delete data. Only modification is possible.
    INFOTYPES: Pnnnn NAME OLD,
    Pnnnn NAME NEW.
    GET PERNR.
        PROVIDE * FROM OLD
               WHERE .... = ... "Change old record
               *Save old record in alternate table
               NEW = OLD.
        ENDPROVIDE.
        RP-UPDATE OLD NEW. "Update changed record
    Infotype with repeat structures
    · How to identify repeat structures.
    a. On infotype entry screen, data is entered in table form.
        IT0005, IT0008, IT0041, etc.
    b. In the infotype structure, fields are grouped by the same name followed by sequence number.
        P0005-UARnn P0005-UANnn P0005-UBEnn
        P0005-UENnn P0005-UABnn
    Repeat Structures
    · Data is entered on the infotype screen in table format but stored on the database in a linear  
      structure.
    · Each row of the table is stored in the same record on the database.
    · When evaluating a repeat structure, you must define the starting point, the increment and the
      work area which contains the complete field group definition.
    Repeat Structures Evaluation (I)
    · To evaluate the repeat structures
       a. Define work area.
           The work area is a field string. Its structure is identical to that of the field group.
       b. Use a DO LOOP to divide the repeat structure into segments and make it available for  
           processing in the work area, one field group (block) at a time.
    Repeat Structures Evaluation(II)
    Define work area
    DATA: BEGIN OF VACATION,
                  UAR LIKE P0005-UAR01, "Leave type
                  UAN LIKE P0005-UAN01, "Leave entitlement
                  UBE LIKE P0005-UBE01, "Start date
                  UEN LIKE P0005-UEN01, "End date
                  UAB LIKE P0005-UAB01, "Leave accounted
               END OF VACATION.
    GET PERNR.
         RP-PROVIDE-FROM-LAST P0005 SPACE PN/BEGDA PN/ENDDA.
         DO 6 TIMES VARYING VACATION
                 FROM P0005-UAR01 "Starting point
                     NEXT P0005-UAR02. "Increment
                 If p0005-xyz then ... endif.
          ENDDO.
    Processing 'Time Data'.
    · Dependence of time data on validity period
    · Importing time data
    · Processing time data using internal tables
    Time Data and Validity Period
    · Time data always applies to a specific validity period.
    · The validity periods of different types of time data are not always the same as the date selection period specified in the selection screen.
    Date selection period |----
    |
    Leave |----
    |
    · PROVIDE in this case is therefore not used for time infotypes.
    Importing Time Data
    · GET PERNR reads all time infotypes from the lowest to highest system data, not only those within the date selection period.
    · To prevent memory overload, add MODE N to the infotype declaration. This prevents the logical database from importing all data into infotype tables at GET PERNR.
    · Use macro RP-READ-ALL-TIME-ITY to fill infotype table.
    INFOTYPES: 2001 MODE N.
    GET PERNR.
        RP-READ-ALL-TIME-ITY PN/BEGDA PN/ENDDA.
        LOOP AT P0021.
             If P0021-XYZ = ' '. A=B. Endif.
        ENDLOOP.
    Processing Time Data
    · Once data is imported into infotype tables, you can use an internal table to process the interested data.
    DATA: BEGIN OF ITAB OCCURS 0,
                  BUKRS LIKE P0001-BUKRS, "COMPANY
                  WERKS LIKE P0001-WERKS, "PERSONNEL AREA
                  AWART LIKE P2001-AWART, "ABS./ATTEND. TYPE
                  ASWTG LIKE P2001-ASWTG, "ABS./ATTEND. DAYS
               END OF ITAB.
    GET PERNR.
    RP-PROVIDE-FROM-LAST P0001 SAPCE PN/BEGDA PN/ENDDA.
    CLEAR ITAB.
    ITAB-BUKRS = P0001-BURKS. ITAB-WERKS = P0001-WERKS.
    RP-READ-ALL-TIME-ITY PN/BEGDA PN/ENDDA.
    LOOP AT P2001.
          ITAB-AWART = P2001-AWART. ITAB-ASWTG = P2001-ASWTG.
          COLLECT ITAB. (OR: APPEND ITAB.)
    ENDLOOP.
    Database Tables in HR
    ·  Personnel Administration (PA) - master and time data infotype tables (transparent tables).
       PAnnnn: e.g. PA0001 for infotype 0001
    ·  Personnel Development (PD) - Org Unit, Job, Position, etc. (transparent tables).
       HRPnnnn: e.g. HRP1000 for infotype 1000
    ·  Time/Travel expense/Payroll/Applicant Tracking data/HR work areas/Documents (cluster  
       PCLn: e.g. PCL2 for time/payroll results.
    Cluster Table
    · Cluster tables combine the data from several tables with identical (or almost identical) keys
      into one physical record on the database.
    . Data is written to a database in compressed form.
    · Retrieval of data is very fast if the primary key is known.
    · Cluster tables are defined in the data dictionary as transparent tables.
    · External programs can NOT interpret the data in a cluster table.
    · Special language elements EXPORT TO DATABASE, IMPORT TO DATABASE and DELETE
      FROM DATABASE are used to process data in the cluster tables.
    PCL1 - Database for HR work area;
    PCL2 - Accounting Results (time, travel expense and payroll);
    PCL3 - Applicant tracking data;
    PCL4 - Documents, Payroll year-end Tax data
    Database Tables PCLn
    · PCLn database tables are divided into subareas known as data clusters.
    · Data Clusters are identified by a two-character code. e.g RU for US payroll result, B2 for
      time evaluation result...
    · Each HR subarea has its own cluster.
    · Each subarea has its own key.
    Database Table PCL1
    · The database table PCL1 contains the following data areas:
      B1 time events/PDC
      G1 group incentive wages
      L1 individual incentive wages
      PC personal calendar
      TE travel expenses/payroll results
      TS travel expenses/master data
      TX infotype texts
      ZI PDC interface -> cost account
    Database Table PCL2
    · The database table PCL2 contains the following data areas:
      B2 time accounting results
      CD cluster directory of the CD manager
      PS generated schemas
      PT texts for generated schemas
      RX payroll accounting results/international
      Rn payroll accounting results/country-specific ( n = HR country indicator )
      ZL personal work schedule
    Database Table PCL3
    · The database table PCL3 contains the following data areas:
      AP action log / time schedule
      TY texts for applicant data infotypes
    Data Management of PCLn
    · The ABAP commands IMPORT and EXPORT are used for management of read/write to
      database tables PCLn.
    · A unique key has to be used when reading data from or writing data to the PCLn.
      Field Name KEY Length Text
      MANDT X 3 Client
      RELID X 2 Relation ID (RU,B2..)
      SRTFD X 40 Work Area Key
      SRTF2 X 4 Sort key for dup. key
    Cluster Definition
    · The data definition of a work area for PCLn is specified in separate programs which comply  
       with fixed naming conventions.
    · They are defined as INCLUDE programs (RPCnxxy0). The following naming convention applies:
       n = 1 or 2 (PCL1 or PCL2)
       xx = Relation ID (e.g. RX)
       y = 0 for international clusters or country indicator (T500L) for different country cluster
    Exporting Data (I)
    · The EXPORT command causes one or more 'xy' KEY data objects to be written to cluster xy.
    · The cluster definition is integrated with the INCLUDE statement.
    REPORT ZHREXPRT.
    TABLES: PCLn.
    INCLUDE: RPCnxxy0. "Cluster definition
    Fill cluster KEY
    xy-key-field = .
    Fill data object
    Export record
    EXPORT TABLE1 TO DATABASE PCLn(xy) ID xy-KEY.
       IF SY-SUBRC EQ 0.
           WRITE: / 'Update successful'.
       ENDIF.
    Exporting Data (II)
    . Export data using macro RP-EXP-Cn-xy.
    · When data records are exported using macro, they are not written to the database but to a  
      main memory buffer.
    · To save data, use the PREPARE_UPDATE routine with the USING parameter 'V'.
    REPORT ZHREXPRT.
    *Buffer definition
    INCLUDE RPPPXD00. INCLUDE RPPPXM00. "Buffer management
    DATA: BEGIN OF COMMON PART 'BUFFER'.
    INCLUDE RPPPXD10.
    DATA: END OF COMMON PART 'BUFFER'.
    RP-EXP-Cn-xy.
    IF SY-SUBRC EQ 0.
        PERFORM PREPARE_UPDATE USING 'V'..
    ENDIF.
    Importing Data (I)
    · The IMPORT command causes data objects with the specified key values to be read from
       PCLn.
    · If the import is successful, SY-SUBRC is 0; if not, it is 4.
    REPORT RPIMPORT.
    TABLES: PCLn.
    INCLUDE RPCnxxy0. "Cluster definition
    Fill cluster Key
    Import record
    IMPORT TABLE1 FROM DATABASE PCLn(xy) ID xy-KEY.
       IF SY-SUBRC EQ 0.
    Display data object
       ENDIF.
    Importing data (II)
    · Import data using macro RP-IMP-Cn-xy.
    · Check return code SY-SUBRC. If 0, it is successful. If 4, error.
    · Need include buffer management routines RPPPXM00
    REPORT RPIMPORT.
    *Buffer definition
    INCLUDE RPPPXD00.
    DATA: BEGIN OF COMMON PART 'BUFFER'.
    INCLUDE RPPPXD10.
    DATA: END OF COMMON PART 'BUFFER'.
    *import data to buffer
    RP-IMP-Cn-xy.
    *Buffer management routines
    INCLUDE RPPPXM00.
    Cluster Authorization
    · Simple EXPORT/IMPORT statement does not check for cluster authorization.
    · Use EXPORT/IMPORT via buffer, the buffer management routines check for cluster
      authorization.
    Payroll Results (I)
    · Payroll results are stored in cluster Rn of PCL2 as field string and internal tables.
      n - country identifier.
    · Standard reports read the results from cluster Rn. Report RPCLSTRn lists all payroll results;
      report RPCEDTn0 lists the results on a payroll form.
    Payroll Results (II)
    · The cluster definition of payroll results is stored in two INLCUDE reports:
      include: rpc2rx09. "Definition Cluster Ru (I)
      include: rpc2ruu0. "Definition Cluster Ru (II)
    The first INCLUDE defines the country-independent part; The second INCLUDE defines the country-specific part (US).
    · The cluster key is stored in the field string RX-KEY.
    Payroll Results (III)
    · All the field string and internal tables stored in PCL2 are defined in the ABAP/4 dictionary. This
      allows you to use the same structures in different definitions and nonetheless maintain data
      consistency.
    · The structures for cluster definition comply with the name convention PCnnn. Unfortunately, 
       'nnn' can be any set of alphanumeric characters.
    *Key definition
    DATA: BEGIN OF RX-KEY.
         INCLUDE STRUCTURE PC200.
    DATA: END OF RX-KEY.
    *Payroll directory
    DATA: BEGIN OF RGDIR OCCURS 100.
         INCLUDE STRUCTURE PC261.
    DATA: END OF RGDIR.
    Payroll Cluster Directory
    · To read payroll results, you need two keys: pernr and seqno
    . You can get SEQNO by importing the cluster directory (CD) first.
    REPORT ZHRIMPRT.
    TABLES: PERNR, PCL1, PCL2.
    INLCUDE: rpc2cd09. "definition cluster CD
    PARAMETERS: PERSON LIKE PERNR-PERNR.
    RP-INIT-BUFFER.
    *Import cluster Directory
       CD-KEY-PERNR = PERNR-PERNR.
    RP-IMP-C2-CU.
       CHECK SY-SUBRC = 0.
    LOOP AT RGDIR.
       RX-KEY-PERNR = PERSON.
       UNPACK RGDIR-SEQNR TO RX-KEY-SEQNO.
       *Import data from PCL2
       RP-IMP-C2-RU.
       INLCUDE: RPPPXM00. "PCL1/PCL2 BUFFER HANDLING
    Function Module (I)
      CD_EVALUATION_PERIODS
    · After importing the payroll directory, which record to read is up to the programmer.
    · Each payroll result has a status.
      'P' - previous result
      'A' - current (actual) result
      'O' - old result
    · Function module CD_EVALUATION_PERIODS will restore the payroll result status for a period
       when that payroll is initially run. It also will select all the relevant periods to be evaluated.
    Function Module (II)
    CD_EVALUATION_PERIODS
    call function 'CD_EVALUATION_PERIODS'
         exporting
              bonus_date = ref_periods-bondt
              inper_modif = pn-permo
              inper = ref_periods-inper
              pay_type = ref_periods-payty
              pay_ident = ref_periods-payid
         tables
              rgdir = rgdir
              evpdir = evp
              iabkrs = pnpabkrs
         exceptions
              no_record_found = 1.
    Authorization Check
       Authorization for Persons
    ·  In the authorization check for persons, the system determines whether the user has the 
       authorizations required for the organizational features of the employees selected with
       GET PERNR.
    ·  Employees for which the user has no authorization are skipped and appear in a list at the end
       of the report.
    ·  Authorization object: 'HR: Master data'
    Authorization for Data
    · In the authorization check for data, the system determines whether the user is authorized to
      read the infotypes specified in the report.
    · If the authorization for a particular infotype is missing, the evaluation is terminated and an error
      message is displayed.
    Deactivating the Authorization Check
    · In certain reports, it may be useful to deactivate the authorization check in order to improve
      performance. (e.g. when running payroll)
    · You can store this information in the object 'HR: Reporting'.
    these are the main areas they ask q?

  • Multiclip Editing in Real Time

    I have this concert footage I am syncing and I am now up to 9 angles all in standard DEF DV NTSC. I have 1 or 2 more to put in. So I will have say 11 total angles. I know I can view and make cuts in real time up to 16 on the screen at 1 time I've read. I need to see in REAL time the 16 angles and edit in real time these concerts. I've done it with 4 angles and it works great in FCP 5. Even have done it with 6 angles.
    I notice when I play it back with 9 angles though, within about 20 seconds, I start to see the time code updating every 5 or 10 frames and then I start to get sound drop outs and video drop outs...sometimes the video freezes as well. I have unchecked all the boxes in the View menu that are important for speed according to the manual, but nevertheless I think around the 8th angle or so, I get this problem.
    Where is the bottleneck? I have this card in for my display: GeForce 6800 Ultra. And I have 4 GB of RAM. My 2nd 400 GB hard drive has about 30 GB left on it.
    Is my GeForce 6800 Ultra what determines my ability to see more streams in real time? Is there some way I can watch these 11 streams without any drop outs and edit real time?
    And if I need a faster system, what area of my system would I need to improve. Ideally I want to be able to edit 16 stream in real time without any slowdown in the sound and video drop outs. I need to make these cuts precisely as I feel the flow of the music and see all streams together. Soon I will do this with HDV footage as well.
    Any help would be VERY much appreciated. Thanks-
    Dual 2.5 Ghz PowerPC G5   Mac OS X (10.4.1)  

    What displays are connected to the 6800?
    If it's driving two displays, I think it divides its onboard RAM between the two (128/128). I read some time ago that ATI had released a little app that allowed you to turn off the second display connector on its cards, so all of the RAM would be funneled to the main display. I don't know if there's a way to do that with the nVidia card.
    But if there is, that might help. IOW, you'd have to work on a single display, but all 256MB of RAM would be available to it. That might help, if it's even possible.
    If you pare down the files on your media drive, so that it's less than 60% full, with all files living in the first 60% of the platters (the outer and middle tracks), that would help. To do that, you'd trash enough files to get down to 60% full then copy them all to another volume, wipe the original media volume, then move the files back.
    Make sure External Devices is set to None, so the G5 doesn't have to push video out the FW port.
    Repair Premissions, quit all unneeded apps and processes, and make sure your boot volume isn't more than 60% full. YOu could also set RT Extreme Display Quality to Low. Leave Frame Rate to Full, though, or FCP will intentional drop frames to maintain real-time playback.
    Others may have additional suggestions, but if none of our suggestions resolve this, then you might consider buying a fast RAID array. Expensive, yes, and not typically needed for DV, but it will drive more streams of video than you can do now.
    Then again, I don't need to use multi-clip, so I don't know whether your particular problem is typical or not.

  • What is the best way to create shared variable for multiple PXI(Real-Time) to GUI PC?

    What is the best way to create shared variable for multiple Real time (PXI) to GUI PC? I have 16 Nos of PXI system in network and 1 nos of GUI PC. I want to send command to all the PXI system with using single variable from GUI PC(Like Start Data acquisition, Stop data Acquisition) and I also want data from each PXI system to GUI PC display purpose. Can anybody suggest me best performance system configuration. Where to create variable?(Host PC or at  individual PXI system).

    Dear Ravens,
    I want to control real-time application from host(Command from GUI PC to PXI).Host PC should have access to all 16 sets PXI's variable. During communication failure with PXI, Host will stop data display for particular station.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.
    Ravens Fan wrote:
    Either.  For the best performance, you need to determine what that means.  Is it more important for each PXI machine to have access to the shared variable, or for the host PC to have access to all 16 sets of variables?  If you have slowdown or issue with the network communication, what kinds of problems would it cause for each machine?
    You want to located the shared variable library on whatever machine is more critical.  That is probably each PXI machine, but only you know your application.

  • How to Create an Epic Rap Battle of History in After Effects (Compositing, VFX, Green Screen, Audio), or Fix Audio, Speed, and Real Time Problems

    Hello. As a film project, I am creating an "Epic Rap Battle of History", a parody video of a popular series on YouTube. In my film/video, I would like to use compositing so that there will be two of one character in one shot. I have used Premiere Pro CC for the main character sequences, but when I imported this project in After Effects, there was no audio at all from the song, and the canvas displaying the composition was moving very slowly, at about 50% of the video's actual speed. Also, in the top right corner, it says, "Not Real Time", and displays something like 7.39/29.96. I have looked at different web pages, and nothing seems to work.
    I would appreciate it if someone could explain how to fix this all up for me, or especially if someone who has had experience creating an Epic Rap Battle could actually list a step-by-step process on how to create one.
    If this helps, I am a beginner to Adobe, and work on a iMac tower. Thank you for your feedback.

    Start here to learn After Effects: http://adobe.ly/AE_basics

  • Need SD,MM  real time scenarios

    hi everyone, Plz help me with SD real time scenarios with examples..
    regards,
    prashanth

    Business scenario that has to be mapped by you (SD consultant) -
    Company / client is a TV manufacturing company which sells TVs and provides TV repair sevices.
    1.  Sales orders for both (TV selling & services) must be done in one sales document type
    2. Delivery type must be set up ONLY for TV selling (as services do not need any delivery of goods!)
    3. For easy identification - bills should have different number ranges. For selling TV bill # must range from 1 to 1000, and for TV services from 90001 to 90099
    4. TV selling must be delivery related bill, TV service must be order related bill
    How shall you configure this in SAP SD? What are the important questions you will ask the client, for more information?
    Once you have attempted this we can go a step further (in to more functionalities)
    Edited by: Typewriter on Aug 14, 2011 2:35 PM

  • Trouble drawing a real time line across X axis.

    Hi,
    I am trying to draw a line across the X axis in real time, but for some reason, the simply cases are way off. For example, If I try to draw the line for two minutes. my line will only make it to about 1 min 45-50 seconds within that time. I tried to make up for the difference by checking the system clock, but that has not helped. Can anyone see something obviously wrong in my code:
    protected class GraphTimerTask extends TimerTask {
         protected static final int DELAY = 31;
         protected long currentTime = 0;
         protected long previousTime = -1;
         private boolean isOn = false;
         protected Timer timer = null;
         public GraphTimerTask(Timer t) {
              this.timer = t;
              isOn = true;
         public void run() {
              if(previousTime > 0) {
                   currentTime += System.currentTimeMillis() - previousTime;
              else {
                   currentTime += DELAY;
                    Graph.this.repaint();
                 previousTime = System.currentTimeMillis();
         protected boolean isOn() { return isOn; }
         protected long getTime() { return currentTime; }
         protected void stop() { isOn = false; timer.cancel(); }
    }currentTime is the actual time that is repainted on my graph when the repaint() is called.

    Timer does not take into account the time taken to process the Timer event. The following is one of my simple examples of how to do something similar to what you want to do and to take into account (parially) the processing time..
    import java.awt.*;
    import javax.swing.*;
    import java.util.*;
    public class SimpleAnimation extends JFrame
        public SimpleAnimation()
            super("Simple Annimation Demo");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            // The model instance
            AnnimationModel annimationModel = new AnnimationModel();
            // The view of the model
            AnimationView animationView = new AnimationView(annimationModel);       
            animationView.setPreferredSize(new Dimension(640, 480));
            // The view becomes the content pane
            setContentPane(animationView);
            pack();
        private static class AnimationView extends JPanel
            AnimationView(AnnimationModel annimationModel)
                // Save a reference to the model for use
                // when the view is updated
                annimationModel_ = annimationModel;
                // Listen for the events indicating that the model has changed
                annimationModel_.addObserver(new Observer()
                    public void update(Observable o, Object arg)
                        // All we need to do is to get the view to repaint
                        AnimationView.this.repaint();
            public void paintComponent(Graphics g)
                super.paintComponent(g);
                // Update the view based on the information in the model.
                g.setColor(Color.red);
                // Convert the model positions to view positions
                // in this case by scaling to the actual width and height.
                int xScreenPosition = scaleValue(annimationModel_.getX(), getWidth() - 20 ) + 5;
                int yScreenPosition = scaleValue(annimationModel_.getY(), getHeight() - 20 ) + 5;
                // Display the position of the point
                g.fillOval(xScreenPosition, yScreenPosition, 10, 10);
            private int scaleValue(double v, double size)
                return (int)((v+1.0)*0.5 * size + 0.5);
            // The saved reference to the model
            private AnnimationModel annimationModel_;
        private static class AnnimationModel extends Observable
            AnnimationModel()
                new Thread()
                    public void run()
                        long updatePoint = System.currentTimeMillis();
                        final long delta = 100;
                        final double deltaTheta =  2.0 * Math.PI * delta / (10.0 /* seconds  */ * 1000.0);
                        // Loop forever updating the model
                        // and notifying the observers.
                        while(true)
                            // Wait until the next frame update point
                            // The approach is to calcualte how long we have to wait. In
                            // this way we partially compensate for the processing time
                            updatePoint += delta;
                            synchronized (this)
                                while (updatePoint > System.currentTimeMillis())
                                    try
                                        this.wait(updatePoint - System.currentTimeMillis());
                                    catch (Exception e)
                                        // Nothing to do
                            // Update the model - in this case it is very simple
                            theta_ += deltaTheta;
                            // Notify the observers
                            setChanged();
                            notifyObservers();
                }.start();
            // Model access methods
            public double getX()
                return Math.cos(theta_);
            public double getY()
                return Math.sin(theta_);
            // The angular position of the point
            private double theta_;
        // Simple test main
        static public void main(String[] args)
            new SimpleAnimation().setVisible(true);
    }

  • How to create function module in real time

    hi experts,
    can somebody explain a real time requiremwnt , to create a function module.
    its very urgent.
    i want elaborately.
    regards,
    subhasis.

    hi,
    In real time
    1. as per my knowledge we create function modules to Inbound IDOC /outbound processing..
    2.Interface between a program..
      Example we need to take some data from a report say materials and plant and process some bapi and return logfiles to the report we can use FM here too.
    To create a function module
    First you need to create a function group (function group holds a number of function modules relevant)
    SE37>goto>function groups-->create group ..click this create group..
    Now in the pop up enter the function groupname Eg: ZW_FG1 plus short text and saveit
    Now again goto SE37--> enter new Function module name eg:ZW_FM1
    and press F5.
    Now again a popup you need to enter
    function group name : ZW_FG1
    and short test and save it..
    Now the Function module is created under the Function group ZW_FG1.
    write your export import table parameters and you source code.
    rewards if useful
    regards,
    nazeer
    Message was edited by:
            nazeer shaik

Maybe you are looking for

  • When i buy a song, i no longer get "similar" suggestions. I used to, and now don't. I liked that feature, how do i get it back on?

    When I buy a song, I no longer ger similar suggestions.  I used to, but no longer do.  I liked that feature how can i get it back?

  • GRN Import PO !!

    Hi Friends For an import PO we do custom MIRO before GR. During GR we enter the custom MIRO Invoice number for default values of  CVD as BED. Even if we capture excise before GRN then also we enter custom MIRO number in J1IEX. Now my query .... Where

  • Sales Order: Simulate Sales Order

    Hi to all. We are on SAP R3 46C version. I need to simulate SD order creation with deferent Terms of payment key in order lines. In 'BAPI_SALESORDER_SIMULATE' no Terms of payment key in line level. Any other way to do it? Thanks, Yuval Kaduri Cellcom

  • Please help: Error using Jakarta-tomcat 4.0 beta

    Hi all, Could you please help me with a following error? I am trying to start Jakarta-tomcat 4.0: C:\ Jakarta-tomcat 4.0\bin\startup.bat and I receive the error: Catalina.start: LifecycleException: null.open: java.net.BindException: Address already i

  • Edge & 3G question

    Ok another question if i may? When my iphone 3gs is not connected to wifi i will most of the time have a 'E' edge connection , i have never seen it say 3g instead of the E ? i am in the uk on o2 ,do i have to ring o2 and ask for a 3g sim card or somt