How work a buffer?

Hi,
I work on a buffer. I want to acquire an .avi in an buffer of ten seconds. For example, all images acquired by the camera come in a buffer
9[1][X][X][X][X][X][X][X][X][X] -> [2][1][X][X][X][X][X][X][X][X]  etc...  [1][2][3][4][5][6][7][8][9][10] and after [11][1][2][3][4][5][6][7][8][9]    and when I push on capture it copy only the ten last seconds. I think that is a ring buffer.I do two .vi but I don't understand how works the buffers.           
Attachments:
Essaione.vi ‏22 KB
Buffer.vi ‏52 KB

wow .. too many questions in one post
you need to learn BASIC ABAP to be precise..
1. Internal table are like array of structure...(hope u can relate it to other coding language now) and workarea is just one structure.. so a work area is used to hold single line of a internal table of same format..
2. text - integer.. integer to text... => YES.. just define a variable as type STRING. and do what ever operation you want on this.
3. use ROUND for rounding off..
4. Please NO MORE TOO MANY QUESTION on ONE thread... Thanks
-Somu.

Similar Messages

  • How to reduce buffer busy waits, session hanging due to buffer busy waits

    Hi,
    How to reduce buffer busy waits, session hanging due to buffer busy waits.
    Thanks,
    Sathis.

    When I see through enterprise manager I see lot of
    tables with buffer busy waits.
    Is there any way by table name we can check the
    blocks info.
    The simple way is to look at the SQL statement and corresponding table name?
    P1=file#, P2=block#. You can extract segment name(table or index) using this info.
    Query v$bh like following:
    SQL> select file#, block#, class#, objd from v$bh where file# = P1 and block# = P2;
    SQL> select object_name from all_objects where object_id = <objd>;See following doc:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14237/dynviews_1051.htm
    Or you can dump block:
    SQL> alter system dump datafie <P1> block <P2>;Some excerpts from block dump:
    scn: 0x07df.17e70782 seq: 0x01 flg: 0x04 tail: 0x07822301
    frmt: 0x02 chkval: 0x61d0 type: 0x23=PAGETABLE SEGMENT HEADER
    Map Header:: next  0x00000000  #extents: 1    obj#: 55881  flag: 0x10000000>
    Can we do something at table level that will reduce
    the waits.
    Yes, some methods are known. But before thinking of that, you must verify which block class and which access are involved.
    Typo... always. :(
    Message was edited by:
    Dion_Cho

  • How to caluculate buffer size for import/exports in oracle

    Hi DBAS,
    how to caluculate buffer size for import exports,here is the formula but how can we use if there is a 100 of tables and datatypes,is the any query to find out rows_in_array ,maximum_row_size total schema and datbase
    buffer_size = rows_in_array maximum_row_size*
    Thanks,
    tmadugula

    http://download.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm
    Search "buffer"

  • How to calculate #Buffer Gets    # Exec           Buffer Gets/Exec

    Hi,
    How to calculate #Buffer Gets,# Execution time,Buffer Gets/Exec for a sql query?

    Nirmal
    You can find out these statistics from two places
    1) using SQL_TRACE (10046 trace) and then TKPROF (or Autotrace in SQL*Plus)
    2) or looking at V$SQL which records the cost assigned to each SQL statement since the statement was first cached.
    If you use Statspack or AWR, you can see the difference between two points in time, so you can calculate the cost for a period of time.
    See Using SQL_Trace and TKPROF
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96533/sqltrace.htm#1018
    and Using Statspack
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96533/statspac.htm#34837
    (see the 10g documentation equivalents if necessary).
    Remember, ratios (eg gets/exec) aren't always very helpful. You're best off concentrating on those operations which take longest (ie where there is the most potential to save time). See (eg) www.hotsos.com, www.oraperf.com, and others to identify effective performance methodologies.
    HTH
    Regards Nigel

  • How to understand buffer swaps

    In SAP training materials, it says that buffer swaps occur when buffer content is deleted from the buffer and is replaced by other content. It's no relation at all to the swapping mechanism on OS level.
    I am confused about the source and target of buffer swaps. For example, when buffer swaps occur on program buffer(PXA), where will the data in program buffer be put, physical memory?, and where does new data come from? SAP buffers locate on share memory, belong to virtual memory, but virtual memory is the summary of physical memory and OS swap space(or OS paging file). I just remember that extended memory resides on physical memory, don't know whether sap buffers reside on physical too.
    For swapping on OS level, I think it's page exchange between physical memory and swap space which locates on disk. Is it right?
    Please advise on how to understand buffer swaps and OS swapping. Thanks so much.
    James

    Hi James,
    Plz find the link  I hope it might help you,
    http://help.sap.com/saphelp_nw70/helpdata/EN/c4/3a6dbb505211d189550000e829fbbd/frameset.htm
    as the question you have asked is concentrating in
    depth and this can be understood if you have a look
    at the following link.
    regards,
    Manjula.

  • How work Tone Measuremen​ts instrument​?

    Hi.
    Could you say me how works Tone Measurement tool in LabView 8.5.1?  I need this information for my diploma thesis. It use FFT or Fourier transformation?
    Thank you! 
    Solved!
    Go to Solution.

    Although the Express vi help is vague (Its meant for beginners so it discusses functions at high level) If you convert the express vi to  a sub-vi you can open its heirarchy (see picture above)
    Exploring the heirarchy with Help on yields answers and more detailed explainations of the underlying functions.  A FFT is used to compute the tone information.
    Jeff

  • How Work tx SARA

    Hi Gurus
    Somebody can explain me  how work tx SARA ??
    I am working with object 'FI_DOCUMNT' and i have created  a variant, in this variant I have defined some attributes such as selection variable and the name, in those fields I am not using  the standar SAP.
    I found a program Z for define posible values in all fields in the variant, this program is used for put some information in the table TVARVC but i dont understand how can i determine which fields i am going put a possible value??
    I do not understand which is the relation between tx SARA , Variable selection and the program Z for put some information in the variant of ejecution , somebody have worked with this it
    Thanks
    Gregory

    ready

  • How work this Blend Mode Mathematically ?

    hi,
    i need to know how work this Blend Mode :
    Layer, Overlay, Hard light, Add, Subtract, Difference,
    Invert, Alpha & Erase . Mathematically ?
    Regards
    Crimson

    AlMostabed wrote:
    > this like help u :
    >
    http://dunnbypaul.net/blends
    >
    > one more question mid-grey in RGB is (128 , 128 , 128 ).
    how i know
    > if the base color less or greater than mid-grey ??
    >
    > i know DARKER than mid grey will be less than 128 &
    LIGHTER than mid
    > grey will be higher than 128 but in each channels or
    what ?
    >
    > ok, ( 129 , 239 , 129 ) is lighter than mid grey and (
    127 , 101 ,
    > 123 ) is darker than med grey . right ? and ( 235 , 128
    , 107 ) is
    > darker or lighter then mid gray ??
    You need the L component of the HSL representation of your
    colour.
    http://en.wikipedia.org/wiki/HSL_color_space
    L=0.5*(Math.min(Math.min(r, g), b)+Math.max(Math.max(r, g),
    b))
    where r, g, and b are the components of the colour.
    Andrew

  • How work the decompiler flash?

    i wnat to know how work the decompiler flash..
    thank nissan.

    Hello & welcome Iotu!
    http://www.tech-recipes.com/rx/4836/os-x-how-to-burn-a-multisession-cd-or-dvd/
    http://myrightbrain.wordpress.com/2006/08/12/how-to-do-multisession-burns-with-m ac-os-x/

  • How work forum here?

    Hi, I want ask how work forum here. When I will ask for anything, who answer me? And what is "Duke Dollars". Must I have any duke dollars for any answer???

    Hi, I want ask how work forum here. When I will ask
    for anything, who answer me? anyone who is around at that time, and feels he/she has something to say regarding your question.
    However, before starting to fire awy questions, it is adviseable to search the forum first to see if your question hasn't been answered on a previous thread!
    And what is "Duke
    Dollars". Must I have any duke dollars for any
    answer??? Duke Dollars are said to encourage people to answer your questions. I am not sure whether assigning Duke Dollars to your post has any effect at all, but if you assign Duke Dollars to your question, make sure you award them... (if your question is answered:-))

  • How working days is  treated and counted as leave day.

    Q. What is working Days & How working days is  treated and counted as leave day.
    Case 1-suppose Absence is registered on 15.11.2010- 18.112010.but on 17.11.2010 is a public holiday.in as IT2001 it is showing as Absence hrs =24 days,Abs days = 3 days and Cal days = 4 days .Quota used= 4.
    why it is not showing 32 hrs .
    Thanks

    The counting rule for absences takes care if the public holiday or non working days as to be counted when absence is entered or not.
    If you tick on (not  a public holiday) then only days which are not public holidays wll be counted in absence counting. If you dont check saturday sunday in the rule then sat sunday will be counted towards leave...Other options are also there for eg. Holiday classes. You can make appropriate settings  and include or exclude the working/non working days from absence counting.

  • How works final cut studio with lion?

    how works final cut studio with lion?

    The thing to take from FCPX is that it isn't an update/upgrade from 7. It's an entirely new editor. As a professional video editor myself for 5 years, I felt just as hesitant as you when I first saw what Apple had done. However, I committed myself to biting the bullet for a little while to get comfortable with the new workflow, and I can vouch for Apple's new move toward this type of setup. It has improved my workflow enough to where I can confidently say I deliver projects, on average, in half the time, with no sacrifice to quality.
    Give it another chance, if you can afford it. With a bit of training, and time into using it, you'll see it's a superior editor to FCP 7

  • FCS and image sequences (TGA...) : how works the proxy creation?

    Hello,
    I would like to know how work FCS with image sequences (TGA, TIFF sequences...) for proxy creation.
    For example, the image sequences are created by 3D workstation at the speed of one frame per second.
    Does FCS create a proxy each time the folder is checked? The old proxy is delated?
    Thank you for your answer

    Jim is right. You can't replace a clip with an image sequence.
    If you are rendering your comps from one system, follow Jim's sage advice.
    But, in the cases when I do a multi-system network 3d render, there is
    no way for all systems to write to the same Uncompressed AVI file...
    so rendering to an image sequence is the only option.
    You say:
    ...for speed reasons -  converting them to lower res quicktime files
    and using those to edit in Premiere Pro.
    You might consider converting your sequences to both a low-res proxy for editing,
    and also convert to full-res lossless codec AVI files at the same time for swapping out later.

  • How works Group System de-provisioning ?

    Hi all,
    I'm runing SAP IDM 7.1 SP4 last patch.
    Here is my pain :
    When a user has 2 privileges from the same ABAP repository (for example: SAP_ALL and SAP_NEW), and when those privileges are removed from the identity assignments manually (using a web interface Add / Remove privilege), the DeprovisionABAP task is launch.
    Priv are not going through PendingValues, so DeprovisionABAP task is launch from repository deprovision task definition.
    And because those privileges were the last ones, 2 Delete ABAP user task are launch as well.
    The first on finish OK, but the second one failed because the user as already been delete by the 1st task.
    When I look into the RemoveFlagRunChildren, it looks like when priv are manually removed ("#" into MXP_AUDIT table) from an entrytype "MX_PERSON" nothing is done.
    Can you please let me know how works Group system de-provision because I have a error each time that all privileges from the same repository are removed from a MX_PERSON.
    Thanks for your help,
    Benjamin

    Try the BExApplication object, .ComConnection.Language property. BTW, there are a lot of useful things there. At least it works when I logon to BEx via Connect button. For example:
    Public BExApp As Object
    Sub BExAppTest()
        Set BExApp = CreateObject("com.sap.bi.et.analyzer.api.BExApplication")
        MsgBox BExApp.ComConnection.Language
        Set BExApp = Nothing
    End Sub
    P.S. BExApplication object is a part of BExApi.tlb library (if you need a reference, however it seems to work even without a ref).

  • How works Get Property Value / Type Automatic?

    Hi,
    I need to get in Labview some variables from Teststand. The VI I wrote use "Get Property Value" from Teststand and works fine... when I specify the type of variable I whant from Teststand (Boolean, I32,...).
    But I need a VI which retrieve the value of my variable independently of the variable type.
    I tried to set the type option "Automatic" but the "Get Property Value" always give back an empty array of boolean....
    How works the "Automatic" option by the "Get Property Value"?
    Is there a possibility in Labview to get the type of a Teststand variable?
    Cheers,
    Risotto

    Risotto,
    the "automatic" feature is no feature but an entry made because of the
    polymorphic design of the "get property value" VI. if you would change
    the order of the VIs contained in the polymorphic VI, you would
    retrieve other kind of values.
    therefore never use the automatic setting of this VI. the
    simplest way to solve such thing is to pass the data in variant and an
    additional numeric value for identifying the type of the value.
    Norbert B.
    - NI Germany
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

Maybe you are looking for