How do I read the camera model and manufacturer from IMAQ in LabVIEW?

Hello All,
I have a machine vision application for automated test. I am required to save the image for each test for quality purposes. Since LabVIEW interfaces the CameraLink camera thru the IMAQ driver, various cameras can be used without changing the LabVIEW application. I need to store the basic configuration information, including camera model and manufacturer, with the image. I am able to read some parameters from IMAQ (like bit allocation and shutter speed) using the Read Attribute VI, but unable to read model and manufacturer.
Does anyone know how to read camera make/model from IMAQ in LabVIEW?

With this VI, any camera attribute that you can see and set in MAX, you should be able to see and set in LabVIEW.  These are attributes that are defined in you camera file.  Since Model/Make is not an "attribute" that you necessarily set, it is not included in your attributes tab in MAX.
If your camera file included a model attribute, then it would show up in MAX under attributes and you would be able to read it using the above-mentioned VI.  The only thing I can suggest is perhaps use some File I/O instead of IMAQ VI's and read your camera file, if the ones you have are consistent in structure.
Hope this helps!
Tejinder Gill
National Instruments
Applications Engineer
Visit ni.com/gettingstarted for step-by-step help in setting up your system.

Similar Messages

  • How can i send the music, photos and films from extern hdd to time capsule?

    how can i send the music, photos and films from extern hdd to time capsule?

    Hi Niel, i open Time Mchine, starts a new screen where i can see all Data (program etc.), my macbook and my extern hdd. there i have musik, films and picture...when i click them, where i have to set them?
    Sorry, i got the last 20 years a pc, this is my first macbook pro and from today my first 2TB air port time cap.

  • I dropped my macbook and it broke - I bought a new iMac and created a new itunes apple ID, and I forgot what the ID and Password of my broken macbook was - how do i retrieve the lost purchases and music from my forgotten ID?

    I dropped my macbook and it broke - I bought a new iMac and created a new itunes apple ID, and I forgot what the ID and Password of my broken macbook was - how do i retrieve the lost purchases and music from my forgotten ID?
    Regards,

    Well, it's kind of like walking into a bank and saying you forgot your name and address but you want access to your account, still:
    iTunes Customer Service Contact - http://www.apple.com/support/itunes/contact.html > Get iTunes support via Express Lane > iTunes > iTunes Store

  • How do you read the camera position in the 3d picture control?

    Hello,
    There is a method to setup the camera position, but how do you read the current camera position?  e.g. the user uses the mouse, ctrl, and shift, to change the camera position.  How do you read this new camera position?  There don't seem to be any properties to do this.
    I've read this thread:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=214629&requireLogin=False
    but the question was never answered....
    From the comments in that thread, even if you had the proper documentation for the "Model Matrix" property, you couldn't get the information necessary to calculation the camera position.

    Lorielle,
    Thanks for the VI.
    Could you point me towards a more detailed description of the "Modelview Matrix" property?  I've attached a screenshot from the online help.  It is not very helpful.
    Attachments:
    Modelview Matrix.jpg ‏71 KB
    Modelview Matrix1.jpg ‏71 KB

  • How can I read the bootstrap files and extract the fragment-URLs and fragment-numbers in plain text?

    How can I read the bootstrap files of any HDS Live stream and extract the fragment-URLs and fragment-numbers in plain text?
    Could it be that it is some kind of compressed format in the bootstrap? Can I uncompress it wirh  f4fpackager.exe? Could not find any download for f4fpackager.exe. I would prefere less code to do so. Is there something in Java of JavaScript, that can extract the fragment-numbers?
    Thank you!

    Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
    Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave.

  • GigE Vision how can I read the camera attributes

    Hi,
    we are using CVI 2012 and NI IMAQdx and we want to read out the camera attributes from a GigE vision camera.
    We tried the IMAQdxEnumerateAttributes2 function but it didn't work. We got no information back.
    Does anyone have an idea how we can read out the camera attributes?
    thanks in advance
    Oliver

    Hello Topper,
    yes we tried this but we didn't succeed.
    But meanwhile we know why, here is our solution:
    // Open a session to the selected camera
    // initialisiert den G4GigE-Zeilensensor
    rw = IMAQdxOpenCamera(G4GigE.CamName, IMAQdxCameraControlModeController, &G4GigE.session);
    IMAQdxEnumerateAttributes2(G4GigE.session, attributeInformationArray, &uiCount, "CameraAttributes::CustomFeatures::Illumination", IMAQdxAttributeVisibilityAdvanced);
    strcpy(String, "CameraAttributes::CustomFeatures::Illumination:lot1:lot_1_RED");
    IMAQdxSetAttribute(G4GigE.session, String, IMAQdxValueTypeU32, 10);
    It is necessary to type in the correct pathname to adress the attribute correctly. The path will be separated by :: If the path is not correct there will be no result.
    To get the number of attributes it seams that the highest path name have to be adressed.
    since we found this out we could run our application
    greetings
    Oliver

  • How can I set the Lock Model and data structure ?

    Hi ,
    I just have two questions about JE:
    1) Is there some method for me to set the lock mode level , such as record lock, page lock and database lock in JE?
    2) I learned that there are Btree and Hash,etc , data structures , How can I set the data structure when using JE ?
    Thanks in advance !
    Chris

    I think you're confusing our DB (C-based product) with JE. JE does not have lock mode levels, page locks (it does not have pages), or database locks. JE only has the BTREE method, it does not have the HASH method. For JE, please be sure to reference the JE doc page:
    http://www.oracle.com/technology/documentation/berkeley-db/je/index.html
    --mark                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How can i read the text files and buffer the data in Vector?

    hi. I have been running into this problem for days, but with no luck and losing right direction.
    The problem is : I am trying to read a text file and buffer the data into a
    Queue for each user.
    the sample text file is as below:( 1st column is timestamp, 2nd is user_id, 3rd is packet_id, 4th is packet_seqno, 5th is packet_size)
    0 1 1 1 512
    1 2 1 2 512
    2 3 1 3 512
    3 4 1 4 512
    4 5 1 5 512
    5 6 1 6 512
    6 7 1 7 512
    7 8 1 8 512
    8 9 1 9 512
    9 10 1 10 512
    10 1 2 11 512
    11 2 2 12 512
    12 3 2 13 512
    13 4 2 14 512
    14 5 2 15 512
    15 6 2 16 512
    16 7 2 17 512
    17 8 2 18 512
    18 9 2 19 512
    19 10 2 20 512
    20 1 3 21 512
    21 2 3 22 512
    22 3 3 23 512
    23 4 3 24 512
    24 5 3 25 512
    25 6 3 26 512
    26 7 3 27 512
    27 8 3 28 512
    28 9 3 29 512
    29 10 3 30 512
    30 1 4 31 512
    31 2 4 32 512
    32 3 4 33 512
    33 4 4 34 512
    34 5 4 35 512
    35 6 4 36 512
    36 7 4 37 512
    37 8 4 38 512
    38 9 4 39 512
    39 10 4 40 512
    40 1 5 41 512
    41 2 5 42 512
    42 3 5 43 512
    43 4 5 44 512
    44 5 5 45 512
    45 6 5 46 512
    46 7 5 47 512
    47 8 5 48 512
    48 9 5 49 512
    49 10 5 50 512
    50 1 6 51 512
    51 2 6 52 512
    52 3 6 53 512
    53 4 6 54 512
    54 5 6 55 512
    55 6 6 56 512
    56 7 6 57 512
    57 8 6 58 512
    58 9 6 59 512
    59 10 6 60 512
    60 1 7 61 512
    61 2 7 62 512
    62 3 7 63 512
    63 4 7 64 512
    64 5 7 65 512
    65 6 7 66 512
    66 7 7 67 512
    67 8 7 68 512
    68 9 7 69 512
    69 10 7 70 512
    70 1 8 71 512
    71 2 8 72 512
    What I wanna do is to read all the data above and buffer them in a queue for each user( there are only 10 users in total).
    I already created a class called Class packet:
    public class packet {
        private int timestamp;
        private int user_id;
        private int packet_id;
        private int packet_seqno;
        private int packet_size;
        /** Creates a new instance of packet */
        public packet(int timestamp,int user_id, int packet_id,int packet_seqno, int packet_size)
            this.timestamp = timestamp;
            this.user_id=user_id;
            this.packet_id=packet_id;
            this.packet_seqno=packet_seqno;
            this.packet_size=packet_size;
    }then I wanna to create another Class called Class user which I can create a queue for each user (10 users in total) to store type packet information. the queue for each user will be in the order by timestamp.
    any idea and sample code will be appreciated.

    Doesn't sound too hard to me. Your class User (the convention says to capitalize class names) will have an ArrayList or Vector in it to represent the queue, and a method to store a Packet object into the List. An array or ArrayList or Vector will hold the 10 user objects. You will find the right user object from packet.user_id and call the method.
    Please try to write some code yourself. You won't learn anything from having someone else write it for you. Look at sample code using ArrayList and Vector, there's plenty out there. Post in the forum again if your code turns out not to behave.

  • Read the trim in and outs from Lightroom 4

    Hi guys
    I may want to use the lightroom 4 for organizing my videos, and I think it is nice to drag and drop from the grid view in LR to Premiere.
    Though when I set an in and out point in Lightroom the Premiere (or Bridge) will not read these settings and just use the full clip.
    Any way to get this to work without the need to export the clips first?
    All the best
    Morten Hilmer

    Welcome to the forum.
    There is no way, that I know of, to transfer In & Out Points from any other program, to PrPro. If there is, and someone shares it, then we will both learn something new.
    PrPro is a non-destructive editor, so it only reads data from the original files, and then writes instructions on how to use/process that data. It does not contain any of the original Source Files.
    Good luck,
    Hunt

  • How can I hide the user name and password from the url address?

    Good afternoon every body,
    I have a form running with Oracle9i Developer Suite Release 2 and when I run the form on the web it shows the user name and password of my data base. Can anyone of you please help me to hide the user name and password, if there's any way of course?.
    Thanks a lot!!.

    Luis,
    Then, as inolau's notice, create logon screen (or use the default one) and force the users to logon at runtime. Do not pass username/password as parameters.
    inolau,
    True that if the connection is specified in the config it will be the same for everyone. However, every case is different. For example one of our apps gets S3 credentials (from non-Oracle S3) as session parameters. It uses this common db connection to validate some stuff with the database, read security definitions and then it re-connects the forms using the credentials.

  • How can I read the value of an SCXI-1124 channel in LabVIEW?

    Is there any way to read back the value of an output channel of SCXI-1124 in LabVIEW (version 6.1 or 7.0)? I want to sweep the output gradually, and want to avoid a sudden change. But this is difficult if the current status of the channel is unknown. Especially, when the computer is reset or shut down, the SCXI-1124 maintains the output voltages (which is good for my application), but I have no idea what those values are.

    If I understand, you can look in the MAX. Then, in the pheriferal you can find the Ntional Instrument Card inserted into the PC. When you test this card you can read the input signales of the card( Volt in general)which is the out put of the SCXI.
    regards
    Anwar

  • How can I transfer the metadata templates and keywords from one computer to another? Working on a new iMac CS6?

    I've just changed computers and upgraded to CS6. I am trying to import my Bridge metadata templates and keywords. I had done this once before but I can not remember the procedure for doing this. I have created a lot of templates and do not want to do this all over again. Any and all help would be appreciated. Thank you in advance. Kevin

    komphoto,
    The keywords file is buried deep inside the INVISIBLE user Library, or "~Library" (that's a tilde before the word Library, which designates the User Library, a.k.a, the Home Folder Library).
    In order to make it visible temporarily, you have to go to the Finder, then go to the "Go" menu and select the "Go To Folder…" menu item, and type ~Library in the text field.
    That will open a new Finder window which will be grayed out to indicate that it's normally hidden.  From there you can follow the path:
    Note that I'm not saying this will work.  I have never done it myself.  I'm just trying to clear up the confusion caused by the previous poster.

  • How do I erase the e-mail and password from memory when I want to log-in to facebook on a shared computer?

    My son's e-mail address and password stay in the log-in box even with the box unchecked for remembering this info. Is there any way to erase this?

    Use these steps to remove saved (form) data from a drop down list:
    #Click the (empty) input field on the web page to open the drop down list
    #Highlight an entry in the drop down list
    #Press the Delete key (on Mac: Shift+Delete) to remove it.
    *http://kb.mozillazine.org/Deleting_autocomplete_entries
    You can remove saved passwords here:
    *Tools > Options > Security: Passwords: "Saved Passwords" > "Show Passwords"
    Websites remembering you and automatically log you on is stored in a cookie.<br />
    You can remove the cookies from that website to make Firefox no longer remember you.
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page.
    *https://support.mozilla.org/kb/how-do-i-manage-website-permissions

  • How can I read the trace data from Agilent(HP​)8510C in C++ using NI488.2 and PCI-GPIB ?

    Hello! I am trying to develop an application in C++ for measurements with Agilent(HP) 8510C network analyser using NI488.2 and National Instrument's PCI-GPIB card. In HPBASIC the trace data is read using OUTPDATA command which contains PREAMBLE, SIZE and then the data string in real and imaginary pair for the required points. The ibrd function gives data only for one point. Kindly guide me how I can read the whole trace and and separate out the real and imaginary data values. Regards, kapil

    Hey Kapil,
    It seems that in HPBASIC you were using an instrument driver for the 8510C. OUTPDATA is not a native HPBASIC function. National Instrument has similar instrument drivers for LabVIEW and CVI.
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/7b235254f3881ddb862568ab005fbd2e?Ope​nDocument
    http://zone.ni.com/idnet97.nsf/9b2b33e1993d8777862​56436006ec498/24ca7db880ab78ae862568ab005fbc0f?Ope​nDocument
    For example in the CVI instrument driver you will find a source file called hp8510.c. In the source code you will find a function called hp8510c_dataInRaw that sounds similar to the function that you described.
    Note that this example is designed for CVI, but it is possible that you could extract the information you need for C++. If
    you had a copy of CVI you could just add the files downloaded from the instrument driver to a project and then compile and run the project. It already contains a ready to run example that allows you to capture data and use your instrument.
    If you want try CVI you can download an evaluation copy on-line at http://ni.com/lwcvi/launch.htm.
    I hope this helps out,
    JoshuaP
    National Instruments

  • How to calculate rms voltage, rms current and frequency from real time data?

    Hello,
    I need to calculate the real time rms voltage, rms current and frequency of the received voltage and current graphs using visa read. Actually am trying to monitor the voltage and current parameters of AC load, in this case, am using a set of 4 light bulbs at the moment. Expected frequency is 50 Hz, and rms voltage close to 240v AC, current about 1A. 
    Attached is the vi picture of what I have been able to achieve so far, courtesy of labview forums. But I need to finally finish this vi by calculating the Vrms, Irms and frequecy. The front panel shows the voltage (Chart V) and current (Chart I) after scaling. Chart VI represents ADC value 0 ~ 1023 of received data. Aray V & I show the binary bits received up to 10 bits of useful data from ADC. Each sine wave from ADC is sampled at 25 samples for the ADC conversion, and sampling frequency of 1.28kH.
    I have tried using the RMS vi, but seems I don't know how to configure it correctly to get desired results. Also when I make changes like switching of one of the bulbs so that their is current change, I need to refresh the SERIAL port first before changes show up on the VI. Any ideas on how to improve on this are highly appreciated.
    Otherwise, I would appreciate if somebody helps me MODIFY my VI to read the rms values and frequency from received data. This is the last piece of my project, I do appreciate all the help rendered. Am currently using labview labview 2014, student version!
    Gavin.
    Attachments:
    Test_revised1.vi ‏39 KB
    Test_frontpanel.png ‏196 KB
    Test_blockdiagram.png ‏187 KB

    hello,
    note that peak voltage (Vpeak) is (240 * 1.414) = 399 V and peak current about 1.414 if intended rms current is 1A.
    Gavin.

Maybe you are looking for

  • How to update data from PSA to target in BI 7.0

    Hi all, can you pls tell me the procedure/process to load data from PSA to data target. We got a load failure while activating the data in DSO.We made necessary changes to the incorrect data in PSA and we saved. When i run the DTP again it gives me 0

  • Aging Statements for Accounts Recievables

    Hi list, This is really not a Numbers-only question, but a financial formula one; I use spreadsheets to do my small business accounting, and have just realized that my interest on late payments from clients has not been compounded, just simple. So, I

  • SRM Catalog

    Hi experts, I want to create a catalog in SRM without using mdm. I am new user and I have not able to find out how can i create a catalog. Please can you guide me which t-code i have to use or where it is placed in IMG? Best Regards

  • When I open a HTML document in Safari all the images change to a ?  How do i stop this and get the images back?

    When I open a HTML document in Safari rather then getting an image, I get a ? in a box.  Why is this and how can I change it to get the images back?

  • Unable to continue ... because of mysterious Scratch Disk problem

    Okay, so I've been using Photoshop Elements 2.0 for years without incident.  Today I get a screen saying my scratch disk is almost full.  I don't know what this means (I couldn't find any such folder/file on my computer).  No matter what I put in for