How to interface IMAQ 1394 with VC++

Hi All,
NI provided the VC++ SDK examples for sanp, grab etc., of NI-IMAQ1394. m trying to develop it in MFC. when m trying to execute my MFC programe m getting a problem as "niimaq1394.lib cannot open".as regarding NI doccument i declared the library file at Project>>settings>>link tab also.
and in examples which are provided by NI, i can able to execute the exe file of each. but if opend the code and executing it, then also m getting the same problem as shon above.... So please tell me, whats the wrong i did...... please correct it...
m thankful to you,

Hi,
Try this out:
From the menu bar select the "Project"
menu.  Select the "Settings..." option.  In the left hand side of the
"Project Settings" window is a tree of the files in your project.  The
name of your project should be already highlighted, but if it isn't,
you can single click the project name to select it. In the right hand
of the window is a set of tabs, each with different options for your
project. Select the "C/C++" tab. At the top of this set of options is a
menu ring where you can select a "Category". Select "Preprocessor" from
this menu ring. Under the text box for "Additional include directories"
you want to type the path to your include folder in the NI-IMAQ
directory. (For example, the path I used was "C:\Program Files\National
Instruments\NI-IMAQ for IEEE-1394\include".) This sets up the location the header
files for the example.
Next, select the "Link" tab. This will also have
a "Category" menu ring. Select "Input" from the menu ring. Under the
text box for "Additional library path" you want to type the path to
your lib folder in the NI-IMAQ For IEEE 1394 directory. (For example, the path I used
was "C:\Program Files\National Instruments\NI-IMAQ for IEEE-1394\lib\msvc".) This
sets up the location of the library file "niimaq1394.lib" for the example.
Allen H.
Message Edited by allen_h on 09-08-2006 12:50 PM

Similar Messages

  • IMAQ 1394 with 12 bit color CCD

    Hi,
    I am using Labview 7.1 with the IMAQ 1394 in combination with a Basler
    color CCD (A311fc) which has a resolution of 12 bits. When looking at
    all supplied Labview examples I find no way to get beyond 8 bit
    resolution (i.e. 32 bit images). How do I actually acquire and store
    the full 12 bit (i.e. 64 bit) images?
    Regards,
    raclaser

    Hello Raclaser,
    Could you please send the acquired picture from your basler camera to
    our vision specialist.
    He will go further ahead with this issue. And contact you if he has
    further questions.
    Please send the picture to: [email protected]
    Kind regards
    Ulrich Möschel
    Application engineer
    NICER

  • How to Interface TSop sensor With Labview2011 & ArduinoMega2560.

    Good morning reader,
    I want to control my home automation system by using a TV remote control with the help of Labview2011 with hardware interfacing media as Arduino Mega2560 (R3).
    Kindly provide me support regarding it.
    Thank you.

    Hi Danl, 
    We don't have anything on that protocol. However, it appears that it requires a dedicated physical interface to integrate with a PC. I assume that there is a software api for any PC hardware you need to get. LabVIEW should be able to call into that api. 
    Alternatey there are hardware modules for PLCs. If you are using a PLC, the PLC can act as a repeater for the sensor though an IO-Link module and communicate with LV through a protocol we do support. 
    Jesse Dennis
    Design Engineer
    Erdos Miller

  • How to use VXI-1394 with notebook computer

    hello!
    Some notebook computers have 1394 port. Now I want to use notebook computer to control the VXI-1394 module.It's said that you are writting the drivers for the VXI-1394 which is used in notebook computer.I don't know whether this kind of driver is accomplished or not.Tell me,please.
    Thanks a lot!

    lincoln,
    If you are using Windows 98/ME/2000 and have an OHCI compliant 1394 port (which many laptops have) then we have software that you can use. NI-VXI 3.x will allow you to use any OHCI compliant 1394 port with the above named operating systems and a NI VXI-1394 controller.
    Trey Hamilton
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Best way to interface flash AS3 with CF

    Does anyone know of any good examples of how to interface
    Flash AS3 with Coldfusion?
    Thanks!!!
    Carlos

    Unfortunately the camera does something with flash media, which could confuse the question. Do you mean that you want to use this camera for creating Adobe Flash Video content? If that's the case I would argue to use its 720p/24p mode, that would give you 24 fps 1280x720 movies that ought to work nicely in Flash, and could scale to smaller 16:9 sizes better than say a 1080i video would. You could use 720p/30p too if you want it a little smoother.
    If you have Studio 8 installed on the machine you're using, you can export straight from FCP to FLV, by choosing the Export to FLV option in the Export using QuickTime Conversion dialog.

  • How to interface with ROWID column in DB2?

    I'm using DB2 version 7.1.
    I have a column in a table called ROWID, and the Data Type is ROWID. However, I don't know how to interface with it in Java. For example, for CHAR and VARCHAR, I use the String class. For SMALLINT, I use int, etc. But what do I use for ROWID? It's not in the java.sql.Types list. The DB2 manual says it is stored as a VARCHAR(17), but I didn't just want to assume I could use String.
    Any thoughts?

    try getObject() and see what kind of object you get:
    ResultSet rs = statement.executeQuery("...");
    while(rs.next()) {
      Object o = rs.getObject(1); // the rowid column
      System.out.println(o + " class: " + o.getClass().getName());
    }

  • Ring acquisition with NI-IMAQ 1394

    Our project requires saving captured images onto the hard drive with no frame loss, so Grab acquisition may not be sufficient. I wonder if there is a way to carry out ring acquisition with IMAQ1394 like that of the original IMAQ?
    I was hoping to find equivalent functions of "IMAQ Configure List.vi", "IMAQ Configure Buffer.vi" and "IMAQ Extract Buffer.vi" in IMAQ1394, but none of them seems to exist.
    "IMAQ1394 Get Image.vi" appears to be able to accept only one image at any one time, the option, image index, seems to be redundant to me. The example "Low-Level Sequence.vi" still runs after I removed the connection between the loop counter and "image index".
    It is also unclear what the option, "no. of buffer" in "IMAQ1394 Configure
    Acquisition.vi" could do. The example mentioned above uses multiple buffers, but nothing is connected to this option.
    On a side note, I found that the buffering in IMAQ 1394 is not as logical as in IMAQ. Image(s) created along side the acquisition configuration would be used as its buffer frame(s) even though there is no connection between the two.
    I would be very grateful if someone could share their ideas.
    Regards,
    Calvin Tsang
    PS. I'm using IMAQ1394 version 1.1

    Calvin,
    This is one of the biggest problems I have had with IMAQ 1394. I was able to set up a continuous buffer, but there is no way to find out which buffer is the current one. The other problem with IMAQ 1394 is that it is software based instead of hardware, which means your CPU speed and operating system latencies can all affect it and make you miss frames.
    What I ended up doing was making my own buffer, and using Grab to get each image. By checking the time elapsed between each frame acquired, I was able to detect missing frames. As long as the frame rates were low or I didn't update the display very often, I rarely missed frames.
    My basic conclusion is that IMAQ 1394 is much better for snapshot type applications. Applications that require
    continuous video with no missing frames work much better with the IMAQ boards than 1394.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Buffer acquisitio​n with NI-IMAQ 1394

    I would like to be sure that the acquisition frame rate is constant despite some image processing.
    It's why i need to use a buffer (with more than one image) as it seems possible to do with standard NI-IMAQ.
    I didn't find such options with IMAQ 1394 (similar to "IMAQ Configure List.vi", "IMAQ Configure Buffer.vi" and "IMAQ Extract Buffer.vi" in NI-IMAQ).
    I read on a previous post entitled "Ring acquisition with NI-IMAQ 1394" that it is not possible.
    Does the new version of Labview (7) or new upgrades of NI_IMAQ solve this problem.
    Is it exist an alternative way to do that ?
    Thanks

    IVision can solve this problem. You can do realtime saving into avi file or buffer them up (by using different image names). Using the callback vis you can make sure to capture each frames without dropping. Get a demo version to try out at: http://www.hytekautomation.com/Products/IVision.ht​ml
    Irene He

  • How to interface the Weigh Bridge System with ABAP thru' RS232 PORT

    Hi Gurus,
    Can any one guide me how to interface the Weigh Bridge System with ABAP thru' RS232 PORT. I think we have to use the BAPI. What is the name of the BAPI.
    I have to capture the GROSS WEIGHT, TARE WEIGHT. can any one give me the code for that.
    Goodwill
    Jacob charles

    Hi Jacob,
    <b>You can integrate Weigh Bridge with SAP ABAP .
    I have done this for one of our projects
    The technology used in RFC SDK and DCOM Connector.
    Refer to this link
    SAP Business One SDK Version 2005 [original link is broken]
    Search here for sap software distribution center link
    https://websmp203.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dndcom/html/sapintegration.asp
    http://www.intelligententerprise.com/channels/applications/feature/archive/homann.jhtml;jsessionid=BR44S4YLZ0HSGQSNDLOSKHSCJUNN2JVN?_requestid=505707
    www.sapgenie.com/sapgenie/docs/SAP%20Connectors.doc
    help.sap.com/printdocu/core/ Print46c/en/data/pdf/BCMIDDCOM/BCMIDDCOM.pdf</b>
    Good Luck and thanks
    AK

  • Re: how can i interface Oracle 8i with webpages in HTML

    Hi all,
    I am a novice in Oracle 8i. I want to know how to interface some tables that are in Oracle 8i with some static pages in HTML? Can it be done or do I have to use Java?
    I need a prompt reply for this.
    Thanks,
    Sangeeta

    You'll have to use the destype DELIMITEDDATA to render your Report in CSV format. Then set the mime type to Excel. I don't know the exact syntax, so please do a search in metalink for "reports excel" for examples and more info.
    Regards,
    Martin Malmstrom

  • Buffered ring acquisition with IMAQ 1394 2.0 (beta)

    Hi,
    the IMAQ 1394 low level buffer access topic comes up again. National Instruments promised that low level buffer
    access will be feasible in the 2.0 (beta) version of the IMAQ 1394 driver. However, I still encounter problems.
    I want to run a continuous ring acquisition. The ring shall consist of 40 buffer cells. I configure the acquisition
    using IMAQ 1394 configure acquisition.vi and wiring "40" to "number of buffers" and "continuous" to "continuous?".
    If I am testing the ring, it appears that the ring only has 20 buffer cells. After an image had been written into cell
    no. 19, the next image is written into cell no. 0 and not into no. 20.
    Is there a maximum number of buffer cells implemented? In the online help, nothing is written about such a fact. In
    addition, the help statements are quite puzzling. There they write:
    Use the Continuous? and Number of buffers parameters to select the type of acquisition that you want to configure,
    as follows:
    Snap One-shot; one buffer
    Sequence One-shot; multiple buffers
    Grab Continuous; one buffer
    The combination of "continuous" and "one buffer"
    sounds rather antithetically. Is any beta tester around there who can make sense out of this?
    Thankful for any hint,
    Peter

    What I want to do is to setup the camera and store the settings to the camera memory and do a flat-field calibration of the camera (and maybe also store the calibration image in the camera).
    I will use your method to handle the default settings. Thanks!!!
    Then I will remove the camera from the calibration setup and use it in a machine performing measurements not using LabVIEW. I could make all the setup in the machine again but that would mean more work than to use LabVIEWs functionality (I'm just lazy).
    I just want to be sure that all settings have reached the camera memory and that they were stored there. It does not seem that the Property Node communicates directly with the camera like the "IMAQ1394 Write Registers" command does.
    Richard

  • How do I increase the maximum number of images I can acquire in a sequence using the IMAQ 1424 with 80 MB of onboard memory and a Duncan Tech camera?

    I've increased the maximum number of buffers to higher than I need, but I still cannot acquire more than 139 images with the Duncan Tech digital video camera before I get a memory lock error. Is there any way to increase the number of images I can acquire in a sequence using the IMAQ 1424 with 80MB of onboard memory?

    It sounds like you are already bypassing the onboard memory. If you weren't, you would only be able to acquire about 20 images.
    If I understand correctly, you do not convert the images until after you acquire them. This means each acquired image is 4.13 MB, and 139 images will take 574 MB of memory. I wouldn't be surprised if that was all the free memory available on a 1 GB machine. The operating system, LabVIEW and any other software running probably take up the rest of the memory. You might want to put your computer on a diet and minimize the number of other programs and utilities running. The only other option I see is getting more memory if possible.
    Is there a way that you can reduce the number of images you need to acquire? Pe
    rhaps skipping every other frame? Do you really need more than 139 images?
    Is it possible to acquire the images in monochrome? That would triple the number of images that you could acquire.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • IMAQ 1394 Grab setup and Grab acquire

    Hi, everyone
    I am very new to Labview and have a general question on grabbing images using my CCD camera.
    I set "IMAQ 1394 configure trigger.vi" before " IMAQ 1394 grab setup.vi" and then achieve the most current using " IMAQ 1394 grab acquire.vi".  The configure trigger is on Mode 0 (Low activity) and my digital trigger is a pulse train with a trigger frequency of 10Hz.
    My questions is as follows:
    1. How many images will the camera grab when the trigger turns to a falling edge? Just one or the camera will grab continuously?
    If the camera grab continuously, which image is copied when a "IMAQ grab acquire.vi" is called?
    2 Does the image grabbing process stop when the trigger turns to the rising edge?
    Thanks!
    Attachments:
    IMAQ1394grab.jpg ‏99 KB

    Hi Haiyueli,
    The NI-IMAQ for IEEE 1394 has been replaced by the IMAQdx driver. We usually recommend that you upgrade your driver. That being said, I would recommend looking at the help to determine what the mode does. To do this right click the VI and select Help. This should give you a more in-depth look at the function.
    Here is a forum post which describes mode 1:
    http://forums.ni.com/t5/Machine-Vision/Problem-with-IMAQ-1394-trigger-mode-1/td-p/300534
    Paolo F.
    National Instruments
    Applications Engineer

  • IMAQ 1394 version 2.0 - setting the shutter integration time

    I am using IMAQ 1394 version 2.0 with a CCDdirect firewire camera.  I am trying unsuccessfully to set the shutter attribute  in absolute mode to a value of several seconds.  I cant seem to get an integration time greater then .13 seconds to be accepted, even when I try to set it in MAX.  Any suggestions would be appreciated.  I am also using Labview 7.1 Developers suite
    thanks,
    Ronen

    Hello Ronen,
    I'm not familiar with CCDdirect cameras.  Is there a particular model that you are using?
    What happens when you set the value greater than 0.13 seconds?
    Some cameras that I have worked with in the past require that the camera be placed in an "extended" shutter mode in order to use long integration times.  Does your camera offer any additional shutter modes that will allow you to increase this value? 
    What shutter/integration time attributes show up in MAX?  These attributes and there values/ranges are read directly in from the camera.  I have also worked with some cameras in the past that have additional attributes that do not show up in MAX.  Typically these are attributes/features that are not part of the DCAM compliance.  MAX and the IMAQ 1394 driver only access DCAM specific features.  If the correct values do not show up, perhaps the camera manufacturer can show you how to set these attributes.
    Let me know the answers to the above questions if you are still unable to accomplish what you need.  I would be more than happy to help out in any way possible.
    Best Regards,
    Jesse D.
    Applications Engineering
    National Instruments

  • How to create a node with attributes at runtime in webdynpro for ABAP?

    Hi Experts,
             How to create a node with attributes at runtime in webdynpro for ABAP? What classes or interfaces I should use? Please provide some sample code.
    I have checked IF_WD_CONTEXT_NODE_INFO and there is ADD_NEW_CHILD_NODE method. But this is not creating any node. I this this creates only a "node info" object.
    I even check IF_WD_CONTEXT_NODE but i could not find any method that creates a node with attribute.
    Please help!
    Thanks
    Gopal

    Hi
       I am getting the following error while creating a dynamic context node with 2 attributes. Please help me resolve this problem.
    Note
    The following error text was processed in the system PET : Line types of an internal table and a work area not compatible.
    The error occurred on the application server FMSAP995_PET_02 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE~GET_STATIC_ATTRIBUTES_TABLE of program CL_WDR_CONTEXT_NODE_VAL=======CP
    Method: GET_REF_TO_TABLE of program CL_SALV_WD_DATA_TABLE=========CP
    Method: EXECUTE of program CL_SALV_WD_SERVICE_MANAGER====CP
    Method: APPLY_SERVICES of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: REFRESH of program CL_SALV_BS_RESULT_DATA_TABLE==CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE_DATA of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~MAP_FROM_SOURCE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMP_TABLE_DATA~UPDATE of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_VIEW~MODIFY of program CL_SALV_WD_C_TABLE_V_TABLE====CP
    Method: IF_SALV_WD_COMPONENT~VIEW_MODIFY of program CL_SALV_WD_A_COMPONENT========CP
    My code is like the following:
    TYPES: BEGIN OF t_type,
                CARRID TYPE sflight-carrid,
                CONNID TYPE sflight-connid,
             END OF t_type.
      Data:  i_struc type table of t_type,
      dyn_node   type ref to if_wd_context_node,
      rootnode_info   type ref to if_wd_context_node_info,
      i_node_att type wdr_context_attr_info_map,
      wa_node_att type line of wdr_context_attr_info_map.
          wa_node_att-name = 'CARRID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CARRID'.
          insert wa_node_att into table i_node_att.
          wa_node_att-name = 'CONNID'.
          wa_node_att-TYPE_NAME = 'SFLIGHT-CONNID'.
          insert wa_node_att into table i_node_att.
    clear i_struc. refresh i_struc.
      select carrid connid into corresponding fields of table i_struc from sflight where carrid = 'AA'.
    rootnode_info = wd_context->get_node_info( ).
    rootnode_info->add_new_child_node( name = 'DYNFLIGHT'
                                       attributes = i_node_att
                                       is_multiple = abap_true ).
    dyn_node = wd_context->get_child_node( 'DYNFLIGHT' ).
    dyn_node->bind_table( i_struc ).
    l_ref_interfacecontroller->set_data( dyn_node ).
    I am trying to create a new node. That is
    CONTEXT
    - DYNFLIGHT
    CARRID
    CONNID
    As you see above I am trying to create 'DYNFLIGHT' along with the 2 attributes which are inside this node. The structure of the node that is, no.of attributes may vary based on some condition. Thats why I am trying to create a node dynamically.
    Also I cannot define the structure in the ABAP dictionary because it changes based on condition
    Message was edited by: gopalkrishna baliga

Maybe you are looking for

  • Binary Data type in Logical - Is it a bug?

    Binary Data type in Logical - Is it a bug? Hi , I am using SQL DM 3.0.0.665. I need your thoughs on following. I have an attribute in logical model with binary datatype. As I generate physical, SQL DM putting the column in BLOB data type. I thought b

  • File Upload in CRM2007 web-ui

    Hello All, I have a requirement where I have to upload an XML from from my local machine to the CRM 2007 web-ui. I have created a button in the front-end of the order screen and on clicking of the button, some process (which I need to know actually)

  • Mapping error : BaseRuntimeException / Fatal

    Hi XI experts, I'm working on a very very simple File to File Scenario SAP XI 3.0 (SP16). When using a simple SAP XI graphical mapping i'd create, i get fatal error : com/sap/xi/tf/_ZEBE_FILE1_TO_INVERT_FILE1_ a com.sap.aii.utilxi.misc.api.BaseRuntim

  • TV Listings do not display correctly in Firefox

    I am using windows 7, 64 bit on one computer and windows 7 32 on an other.  Neither display the TV listings correctly in Firefox V. 21.  I accept cookies, I have cleared the cache. The channels appear in the left column, although out of line, and are

  • Where are discussions in a room stored?

    Hi there, so i searched SDN and my Portal.. but found nothing... when i open a room with a discussion forum in it.. where stores the Portal this discussions? the whole room is in KM under "rooms" so far i see... but there are no discussions i started