ImaqBuffer? where is the structure used in imgSnap() defined?

how does one get access to the pixel data following a call to imgSnap()?, I have looked at the ImaqBuffer (from the examples) the info must be there but I can't find any information on what the details of the image data structure are defined as. I am working in C++, any ideas on where I can find the definition of the image data? Thanks in advance
-Russ

Sorry that should be;
Ive been looking at the llgrab.c (low level grab) example in the sample programs.  This line copies the image from the camera into CopyBuffer which is a pointer to a pointer
errChk(imgSessionCopyBufferByNumber(Sid, currBufNum, CopyBuffer, IMG_OVERWRITE_GET_NEWEST, &actualCopiedBuffer, NULL));
Then the image is displayed using imgPlot2
errChk(imgPlot2 (ImaqSmplHwnd, CopyBuffer, 0, 0, AcqWinWidth, AcqWinHeight,
CanvasLeft, CanvasTop, plotFlag));
Does anyone know if &actualCopiedBuffer contains the actual pixel data of the image?
Ive tried the following to try and get access to the image data;
memcpy_s(myImage, sizeOfImage, actualCopiedBuffer, sizeOfImage);
where;
int sizeOfImage = 320 * 256 * 2;
WORD* myImage = (WORD*)malloc(sizeOfImage);
However the program is throwing an exception  at my line "memcpy_s(myImage, sizeOfImage, actualCopiedBuffer, sizeOfImage);"
Is there anything obvious Im doing wrong here?
TIA

Similar Messages

  • Where is the structure option under the insert tab in Dreamweaver?

    I was watching the tutorial of Mike Powers for the Bayside Website and he continually uses the structure option under the insert tab. I can not find where this is at in all of Dreamweaver. Does anyone know where this is at?

    http://helpx.adobe.com/creative-cloud/learn/start/dreamweaver.html
    It is the second video down. At about 1:03 he will talk about selecting the structure option and I really want to because it looks extremely helpful!
    Wyatt Ackerman
    816.559.0664 T • 785.534.0465 M
    [email protected]<https://mail.marketsphere.com/owa/redir.aspx?C=56df372cf3f44f3fa455b8f3864b1b80&URL=mailto %3amekaela.kramer%40marketsphere.com>
    MarketSphere Consulting, LLC
    114 W. 11th Street • Suite 700
    Kansas City, MO 64105
    This email message, including any attachments, is for the sole use of the person to whom it has been sent, and may contain information that is confidential or legally protected. If you are not the intended recipient or have received this message in error, you are not authorized to copy, distribute, or otherwise use this message or its attachments. Please notify the sender immediately by return email and permanently delete this message and any attachments. MarketSphere makes no warranty that this email is error or virus free.

  • Where is the structure of items stored?

    Hello all,
    I have created a content area in which users can only add URL items. The general idea behind this is to end up with a treeview displaying websites in categories.
    Until now I have found almost all information I need: the content area details are stored in wwsbr_all_content_areas, and the details for the URL can be found in wwsbr_all_items and wwsbr_url$.
    But how can I find out the order in which they are displayed in the content area? And how do I know which items are subitems of which? I've already had a look at the masterId's but I can't seem to find a link.
    Thanks in advance,
    Joey

    I found the content area ITEM relationships defined in a table called portal39.wwv_things and the following query shows how to determine the relationships of determining content_area/folders/categories:
    select a.title, a.id
    from PORTAL30.wwv_things a,
    PORTAL30.wwsbr_siteS$ b,
    PORTAL30.wwv_corners c,
    PORTAL30.wwv_topics d
    where a.siteid=b.id
    and a.cornerid=c.id
    and a.topicid=d.id
    and b.name = 'CONTENT_AREA_NAME'
    AND C.NAME = 'FOLDER_NAME'
    AND D.NAME = 'CATEGORY_NAME'
    AND ITEMTYPE in ('file')
    and HIDEINBROWSE = 0
    AND EXPIREDATE IS NULL
    Hope this helps.

  • Where is the structure, header & navigation tag location? - dreamweaver cs6

    I am a novice at building a web site and I just purchased CS6 and decided to view a tutorial at  How to make and style a web page in Dreamweaver | Adobe Dreamweaver CC tutorials. The tutorial is for CS5 and it refers to "structure, header and navigation" in the insert panel.  Where are they in CS6?  I have attached a picture of my insert panel.
    Any assistance will be appreciated.

    You dragged the window to the toolbar, no biggie, the other options that are available are right there for you to see in the tabs next to it. If you click and drag the dotted area to the left of those tabs, it will undock from the toolbar area.
    Like I said, a lot changes with DW from version to version, you really do NEED to use a tutorial for the program you actually have in order to learn about your actual program.
    Here are some video tutorials for DWCS6...
    Learn Dreamweaver CS6 | Adobe TV
    The 12.1 Creative Could Update stuff will get you lost just as badly as using the old CS5 stuff is.

  • Where are the symbole used in Pages? What a downward arrow in a rectangle mean?

    I found a new symbol located on a Pages document. It was a downward arrow within a box in the upper right-hand corner. It appeared where you show all of your documents. Next, there's no table showing this symbol anywhere's, particularly in the help website or blog at Apple.com. I've recently started using iCloud. There's no one designated to enter my iCloud or use my information, except for myself. Also, the Help in Pages does not show what this symbol means. Could someone tell my where to find these Pages symbols? I'm using iOS 8.1. Thank you.

    No idea what you are referring to. Can you post a screen shot?

  • Where is the icon used to designate secure connection to a site (https) in Firefox 6.0 It seems to have disapppeared? Thanks.

    Constant changes to the Firefox UI between versions are annoying and while I understand your desire to improve the product lots of changes just serve to irritate.
    Hence my question. Where in Firefox 6 is the "secure page" or padlock icon displayed when using SSL?

    In Firefox 4 and later you no longer have the Status bar that showed the padlock in previous Firefox versions.<br />
    The padlock only shows that there is a secure connection and doesn't guarantee that you are connected to the right server.<br />
    So you might still be connected to the wrong server if you make a typo in the URL and someone has claimed that mistyped URL.<br />
    The functionality of the padlock has been replaced by the [[Site Identity Button]] on the left end of the location bar.
    See also:
    * http://www.dria.org/wordpress/archives/2008/05/06/635/
    * https://support.mozilla.com/kb/Site+Identity+Button
    * http://www.mozilla.com/en-US/firefox/security/identity/
    You can use this extension to get a padlock on the location bar.
    *Padlock: https://addons.mozilla.org/firefox/addon/padlock-icon/

  • Where are the icons used for Audio/Midi Setup Stored

    I have OS X 10.8.5 installed on My 2009 Macbook Pro.I also have Pro Tools 8 And Digital Performer 7.2.4 installed. I appear to have multiple copies of the generic Folder Instlled as well. How do I create another folder with my custom icons and where should it be placed.
    Regards
    Charlie Parker

    Steve B5 wrote:
    what is the proper setting for Hz?
    44100
    And should the 2ch be 16bit, 20bit or 24 bit?
    16 is standard, 24-bit (new to GB4) is the highest resolution

  • Where is the bubbleevent  using SB1DE

    Hi
    I am using the SB1DE and want to trap when the add button is pressed on the delivery note screen. I will then ask the user a question and if they respond no I do not want the delivery note to be added.
    Using vb6 and the ui api you could just set bubbleevent = false and the operation would be cancelled.
    I can't seem to work out how to do this with the SB1DE.
    Any ideas please ?
    Thanks
    Regards Andy

    Hi Trinidad
    Sorry for being dense but I can't figure out how I return false as the code just seems to use subroutines ?
    Regards Andy
            <B1Listener(BoEventTypes.et_CLICK, False)> _
            Public Overridable Sub OnAfterClick(ByVal pVal As ItemEvent)
                Dim ActionSuccess As Boolean = pVal.ActionSuccess
                Dim form As Form = B1Connections.theAppl.Forms.Item(pVal.FormUID)
                Dim item As Item = form.Items.Item("hazs")
                Dim button As Button = CType(item.Specific, Button)
                'ADD YOUR ACTION CODE HERE ...
            End Sub

  • Where are the recently used fonts?

    Has this feature been hidden somewhere. It is tedious to constantly scroll through all my fonts just to select it each time.

    I guess you are talking about Pages 5?
    That has been gone for a year now.
    Use Pages '09 if you have it.
    Peter

  • Where are the OLAP_USER and OLAP_XS_ADMIN roles defined ?

    I'm trying to install the OLAP Schema for evaluating OLAP.
    GRANT olap_user, olap_xs_admin TO GLOBAL;
    Error report -
    SQL Error: ORA-01919: role 'OLAP_USER' does not exist
    01919. 00000 -  "role '%s' does not exist"
    *Cause:    Role by that name does not exist.
    We are running Oracle 11gR2  and OLAP is installed.
    Thanks,
    Bob Larsen

    The OLAP_USER role is defined in
    $ORACLE_HOME/olap/admin/xoqroles.sql
    The OLAP_XS_ADMIN role is defined in
    $ORACLE_HOME/olap/admin/awmxsrol.sql
    Both of these SQL scripts are run during the installation of the OLAP option and should be available.
    Which user are you connect with when you did the grant?
    Finally, as a double check, please run the query as the sys user:
    In SQL*PLUS:
    set linesize 120 pagesize 999
    column comp_name format a40
    Select comp_id, comp_name, version, status from dba_registry order by comp_id;
    Make sure you have valid rows for APS, XOQ. You will also have a row for AMD which is not
    shown below since I am running a 12.1 instance and AMD is no longer installed as part of the OLAP Option.
    If you do not see valid rows for APS and XOQ then something did not run correctly for the installation of the
    OLAP Option. You need to be enterprise edition of the database for the OLAP Option also.
    COMP_ID                 
    COMP_NAME                         
    VERSION                 
    STATUS
    APS                     
    OLAP Analytic Workspace           
    12.1.0.1.0              
    VALID
    CATALOG                 
    Oracle Database Catalog Views     
    12.1.0.1.0              
    VALID
    CATJAVA                 
    Oracle Database Java Packages     
    12.1.0.1.0              
    VALID
    CATPROC                 
    Oracle Database Packages and Types
    12.1.0.1.0              
    VALID
    CONTEXT                 
    Oracle Text                       
    12.1.0.1.0              
    VALID
    DV                      
    Oracle Database Vault             
    12.1.0.1.0              
    VALID
    EXF                     
    Oracle Expression Filter          
    12.1.0.1.0              
    VALID
    JAVAVM                  
    JServer JAVA Virtual Machine      
    12.1.0.1.0              
    VALID
    OLS                     
    Oracle Label Security             
    12.1.0.1.0              
    VALID
    ORDIM                   
    Oracle Multimedia                 
    12.1.0.1.0              
    VALID
    OWM                     
    Oracle Workspace Manager          
    12.1.0.1.0              
    VALID
    RAC                     
    Oracle Real Application Clusters  
    12.1.0.1.0              
    OPTION OFF
    RUL                     
    Oracle Rules Manager              
    12.1.0.1.0              
    VALID
    XDB                     
    Oracle XML Database               
    12.1.0.1.0              
    VALID
    XML                     
    Oracle XDK                        
    12.1.0.1.0              
    VALID
    XOQ                     
    Oracle OLAP API                   
    12.1.0.1.0              
    VALID
    16 rows selected.

  • How do I get to know the structures stored in a cluster table

    Dear fellow developers,
    this question is about Cluster Tables of the INDX-type which need to be read with
    IMPORT/EXPORT FROM/TO ...
    I need some advice concerning the question of how to find
    out the definition of a structured field in such a cluster.
    To be more precise:
    By using the command
    IMPORT DIRECTORY ...
    I know that in the table/cluster
    VARI
    section
    VB
    there are two structured
    fields the content of which I'm interested in for reading and writing purposes:
    %_VARI40C
    and
    %_VARIVDAT
    I already know the structure of the first one, but only because I found a Standard FM that reads it with an appropriately defined WA-structure, but I cannot find something similar to find out the structure definition for the other one (%_VARIVDAT). It can't be possible that this is so difficult to find out. There must be some better and easier way to find this out that I don't know yet...
    Thanks in advance for your appreciated help
    Andreas

    Hi Andreas,
    I think you have nothing into SAP to find the structure of a cluster table.
    The way I use, is to find a standard program that use this cluster, and I look in the ABAP code the structure used by SAP.
    You just have to use the ST05, and use the option to see the code where the cluster has been readed.
    Rgd
    Frédéric

  • Structures used for HRFORMS

    Hi,
    The structures used in hrforms have the naming convention /1PYXXFO/ZPAYSLIP.
    Are these structures generated by the HRFORM when activating them, or, must these be manually set up.
    If these are generated from the HRFORM then where in the HRFORM can I see the individual fields for this?

    can share you solution.
    Kind regards

  • I have an Ipad2 and my daughter has Iphone 4s and I would like to have all SMS and IMessages duplicated on the IPAD2 I was told I could do this by typing in the mobile phone number into the IPAD2 some where in the settings.

    I have an Ipad2 and my daughter has Iphone 4s and I would like to have all SMS and IMessages duplicated on the IPAD2 I was told I could do this by typing in the mobile phone number into the IPAD2 some where in the settings.

    Using FaceTime http://support.apple.com/kb/ht4319
    Troubleshooting FaceTime http://support.apple.com/kb/TS3367
    The Complete Guide to FaceTime + iMessage: Setup, Use, and Troubleshooting
    http://tinyurl.com/a7odey8
    Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/TS4268
    iOS: FaceTime is 'Unable to verify email because it is in use'
    http://support.apple.com/kb/TS3510
    Using FaceTime and iMessage behind a firewall
    http://support.apple.com/kb/HT4245
    iOS: About Messages
    http://support.apple.com/kb/HT3529
    Set up iMessage
    http://www.apple.com/ca/ios/messages/
    iOS 6 and OS X Mountain Lion: Link your phone number and Apple ID for use with FaceTime and iMessage
    http://support.apple.com/kb/HT5538
    How to Set Up & Use iMessage on iPhone, iPad, & iPod touch with iOS
    http://osxdaily.com/2011/10/18/set-up-imessage-on-iphone-ipad-ipod-touch-with-io s-5/
    Troubleshooting Messages
    http://support.apple.com/kb/TS2755
    Troubleshooting iMessage Issues: Some Useful Tips You Should Try
    http://www.igeeksblog.com/troubleshooting-imessage-issues/
    Setting Up Multiple iOS Devices for iMessage and Facetime
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l
    FaceTime and iMessage not accepting Apple ID password
    http://www.ilounge.com/index.php/articles/comments/facetime-and-imessage-not-acc epting-apple-id-password/
    Unable to use FaceTime and iMessage with my apple ID
    https://discussions.apple.com/thread/4649373?tstart=90
    FaceTime, Game Center, Messages: Troubleshooting sign in issues
    http://support.apple.com/kb/TS3970
    How to Block Someone on FaceTime
    http://www.ehow.com/how_10033185_block-someone-facetime.html
    My Facetime Doesn't Ring
    https://discussions.apple.com/message/19087457
    To send messages to non-Apple devices, check out the TextFree app https://itunes.apple.com/us/app/text-free-textfree-sms-real/id399355755?mt=8
    How to Send SMS from iPad
    http://www.iskysoft.com/apple-ipad/send-sms-from-ipad.html
    You can check the status of the FaceTime/iMessage servers at this link.
    http://www.apple.com/support/systemstatus/
     Cheers, Tom

  • Little tip to get the nr of elements in a local structure using RTTI

    sometimes you need to know the number of elements in a structure for manpulating data
    for example you might need to convert the elements in an internal table to a special file format such as "field","field",......"field".
    instead of something like this where  you have counted the number of elements in your structure
    you can obtain the number of elements dynamically. This saves changing the code each time you change the structure and can avoid errors.
    data: zstring type string
    data: zstring1 type string.
    lv_index = 1.
        WHILE lv_index LE 47. 
          .CLEAR zstring.
          ASSIGN COMPONENT lv_index OF STRUCTURE  your_ structure  TO  <fsa>.
          CONCATENATE '"' <fsa> '"' INTO zstring.
          CONCATENATE zstring1 zstring INTO zstring1.
          CONCATENATE  zstring1 ',' INTO zstring1.
          lv_index = lv_index + 1.
          CLEAR zstring.
        endwhile
    lv_index = 48.
        ASSIGN COMPONENT lv_index OF STRUCTURE wa_interface_contracts TO  <fsa>.
        CONCATENATE '"' <fsa> '"' INTO zstring.
        CONCATENATE zstring1 zstring INTO zstring1.
        CONDENSE zstring1.    "Left align all data fields within the string
        APPEND zstring1 TO ta_string1.
        CLEAR zstring.
        CLEAR zstring1.
        lv_index = 1.
    Using the RTTI
    DATA lr_rtti_struc TYPE REF TO cl_abap_structdescr .
    DATA: zog    LIKE LINE OF lr_rtti_struc->components .
    DATA:  zogt                    LIKE TABLE OF zog,
      CREATE DATA dref TYPE your_structure
      ASSIGN dref->* TO <fs>.
      lr_rtti_struc ?= cl_abap_structdescr=>describe_by_data( <fs> ).
    * get the structure details into a table.
    * table zogt[] contains the structure details
      zogt[]  = lr_rtti_struc->components. 
    now the nr of rows in this table contains the number of elements in your structure.
    cheers
    jimbo

    hi Jimbo,
    why don't you start blogging?
    ec

  • What is the main use of pooled talbe and where are they use?

    Hi gus:
             Can somebody tell me what is the main use of pooled table and where are they use,thanks!
            Regards
             Jerry
    Moderator message - Please search before asking - post locked
    Edited by: Rob Burbank on Sep 1, 2009 9:11 AM

    Hi,
    Table pools are special table types in the ABAP Dictionary. The data from several different tables can be stored together in a table pool or table cluster. Tables assigned to a table pool or table cluster are referred to as pooled tables or cluster tables.
    This table are similar to the CLUSTER table types but these work on "LINEAR SEARCH" while CLUSTER TABLE uses "BINARY SEARCH to retrieve the data from the various tables and thsi is mainly used in the logical databases "LDB's" used in HR or ABAP-HR.
    A table in the database in which all records from the pooled tables assigned to the table pool are stored corresponds to a table pool.
    The definition of a pool consists essentially of two key fields (Tabname and Varkey) and a long argument field (Vardata).
    Table Clusters Several logical data records from different cluster tables can be stored together in one physical 
    record in a table cluster.
    A cluster key consists of a series of freely definable key fields and a field (Pageno) for distinguishing continuation records. A cluster also contains a long field (Vardata) that contains the contents of the data fields of the cluster tables for this key. If the data does not fit into the long field, continuation records are created. Control information on the structure of the data string is still written at the beginning of the Vardata field.
    Regards,
    Samad.

Maybe you are looking for

  • Free Goods in GR

    Dear experts,                       Pls check this scenario. PO qty 100 kg with overdelivery tolerance unlimited @ 10 / kg Vendor delivered say 105 kg and v need to consider this extra 5 goods as free. We need to do this in the same material document

  • How to integrate Single Sign-On and JSF?

    Hi all, We are going to develop a web application using Oracle technologies, including ADF and JSF. But we´ll need to secure our website using Oracle Identity Manager (Single Sign-On). I am having difficulties to find any resource explaining how to d

  • How to delete empty albums from iCloud photo library

    Finished migration to the new Photos for OS X, and my library across all devices is now the same.  However, if viewing Photos through iCloud,com (via Mac), I still see many unused empty Album folders.  These folders (albums) do not appear on any of m

  • HD ready TV in UK

    I live in the UK and have a Sony BRAVIA HD ready TV, is this compatible with Apple TV?

  • Slow Music CD & Film DVD read speed

    Hello, I have the late 2008 mbp with a matshita superdrive. I am finding read speeds for music and film discs to be very slow. Activity window shows it to be 2mb/s peaking at 4mb/s. Data discs read at 8mb/s. The drive is audibly spinning faster with