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

Similar Messages

  • How can we read the screen field values from the report selection screen wi

    Hi expart,
    How can we read the screen field values from the report selection screen with out having an ENTER button pressed  .
    Regards
    Razz

    use this code...
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_posnr.
    **Read the Values of the SCREEN FIELDs
    CALL FUNCTION 'DYNP_VALUES_READ'

  • 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.

  • How can we test the camera megapixel?

    Hi All,
    I need to know how can we test the camera megapixel?
    For instance: If i have a 2MP camera how would i test it is 2MP, is there any measurement device or standards for mega pixel?

    1600 x 1200 is 2mp not 1.3. Your friends phone must also be 2mp or the picture was taken on another phone.
    It's easy to work out yourself.
    1600 multiplied by 1200 = 1,9200,000 pixels more commonly known in the industry as 2mp.
    1.3mp is 1280 x 960 (1,228,800 pixels).
    More megapixels does not always equal better quality. The lens and software are also a big quality factor. I have seen many 1.3mp phones that take better pictures than a 2mp phone because they have a better lens.
    Message Edited by psychomania on 18-Jul-2008 10:26 AM

  • How can I read the printer snapshot file printers.xml

    How can I read the printer snapshot file printers.xml

    XML files are typically viewed using a web browser.
    Open the XML file and the default program should open it automatically.  If you are prompted to select a program, use the option that lets you choose a program and brows through the directories for your browser (for example, use Internet Explorer, Firefox, etc.).
    If need be, you should be able to right-click the file and select open with to choose the program to open it with.
    There are other XML viewers out ther, but web browsers are typically the default as XML is a web language.
    ↙-----------How do I give Kudos?| How do I mark a post as Solved? ----------------↓

  • How,can,I,adjust,the,camera,settings,on,my,2009,Mac,to,16:9,format?

    I want to use the camera on my 2009 iMac to shoot some footage for a video project. The project is in 16:9 wide screen. How can I adjust the camera to shoot in this format?

    Thanks for letting us know your questions was answered!  A few other thoughts....
    RobertofLadywellVillage wrote: ...the video from the i-sight camera is still in 4:3 format so I suppose that it simply can't produce video in  16:9...
    True, the viewed camera image is always 4:3 with your old iMovie 6 HD, but experiment a bit.
    Some of the iMovie 6 video formats you can select when you create your iSight clips in the separate iSight project can create a 16:9 frame.  That frame will contain your 4:3 iSight image but be filled out to 16:9 with symmetrical black bars on the left and right sides of the image.  These clips will be importable into your widescreen project.  Although the portions recorded on your iSight will contain the black bars that keep the 16:9 aspect ratio you need, you should be able to include both the iSight captured video and your other video clips in the same 16:9 final product.
    If you have a 16:9 digital cameras that can record the clips, use that to get the format you need and better image quality than iSight can provide.
    However, if you really need to record 16:9 iSight video, and if your Mac has QuickTime Player (version 10.x), try using QTX.  After you open a "New Movie Recording" window, QTX can change camera recording aspect ratios by using its Preference controls as shown in this image of the :
    If you really need to use an iSight to capture widescreen video that is not block-filled, another option would be to use a later iMovie version that can record widescreen views of your inbuilt camera. I use iMovie '11 to do this, but, if you don't already have later versions, be sure to check System Requirements for later iMovies before you buy to see if they can work with your Mac OS version.
    RobertofLadywellVillage wrote: ... Sorry for the commas folks. I had some difficulty posting this question ...
    I had no problem understanding your post, and  I actually enjoyed the non-standard title.  I hope you don't mind my strange attempt at humor, but it is apparent that you were as able to understand my reply as I was your question. 
    Thanks for the excuse for my silly chuckle,
    EZ Jim

  • How can I read the EXCEL file while Program is running in background.

    Hi all Expert,
    How can I read the EXCEL file while Program is running in background.
    Thanks

    you need to place ur excel file on application server and follow this thread: Reading an Excel file from the application server?
    loots of information if you can search forum.. thanks

  • How can i read the data fromtext fieldsin the form of bytes??

    Hi friends,
    How can i read the data fromtext fieldsin the form of byte string while using Socket connection.
    I have two text fields. i need to send the data from the textfeilds to the server using a byte string.
    Can anyboday help me???
    KK

    Does <cfdbinfo> work for Access DBs?
    You might be better off asking this on a MS Access forum.  It's more of an Access issue than a CF one.
    Adam

  • How can I read the trace data into LabVIEW for E5071B

    HI 
    I am setting up the measurement using vector network analyzer (VNA) E5071B controlled by NI 488.2. How can I read the trace data into LabVIEW and display on the graph? If anyone having an idea or know well about this process please give me the suggestion, I will much appreciate it.
    Many Thanks

    You want to start with the driver
     In case you do not know it, you can do the driver search in LabVIEW from Tools>Instrumentation>Find Instrument Drivers. You might also want to bookmark the Instrument Driver Network for information on what a driver is and how to use it.

  • How can I read the image from database into form

    hi everyone
    if I have table like this
    create table test
    (id number(10),
    pic long raw);
    in this table record
    in form If I have block non database
    how can i read the image into non database item
    I try with this code but no good
    select pic into :photo from test where id=5;
    photo its non database item kind image
    how can i invoke image into item
    thanks alooooooot

    Hello,
    You can't select image with select query. You need to create another database block from test table which has item binds with database pic column. Now in where condition in test block's property you have to write id=5. Change test block's properties UPDATE ALLOWED, INSERT ALLOWED, DELETE ALLOWED to NO. Only Query allowed property set to YES.
    Now in your particular trigger write the code
    GO_BLOCK('test');
    Execute_Query;
    please mark if it help you or correct
    Regards,
    Danish

  • How can I read the PXI-Chassis-Type (LabWindows/CVI)?

    How can I read the PXI-Chassis-Type?
    I use in different test-stands different PXI/SCXI-Chassis for the same project. For example: Some test-stands have a PXI/SCXI-1052-Chassis, others have a PXI-1033 and a SCXI-1000 Chassis. Because I have to use different DIO-Ports (Ports 0.0, 0.1... are reserved for internal communication between the 1033 and the 1000-Chassis) I want to read the used devices.
    I think one way is to use the registry-entries, but I'm not sure...
    My current LabWindows/CVI- version is 8.5.1.
    Thanks for your ideas!
    Jagger_HKG

    Hello Jagger_HKG,
    you could use the NI System Configuration API.
    Kind regards,
    Robert H
    NI Germany 

  • How can I disable the camera's clicking sound?

    That click is irritating and pointless to me. I understand they don't want people surreptiously photographing women's beavers on subways in Tokyo and such, but that is easily overridden by simply by turning off all the iPhone's sounds completely each time with the little button on the top of the left side of the phone.
    My point is, I don't want to have to silence my phone each time, and then turn it back on again after taking some pictures, which I often forget to do. So how can I disable the silly camera sound without muting the entire iPhone each and every time I use the camera?

    Actually in other countries, even on silent it will not mute the camera as it is their law to have camera sound.
    As for here, that is only option, silent mode.

  • How can I activate the camera on my iPad?

    How can I activate my camera on my iPad

    Russ_02 wrote:
    How can I activate my camera on my iPad
    (1) Camera is already activated.
    To use it, launch an app that operates the camera and tap the virtual shutter button.
    (2) For more specific help, see the iPad User Guide for iOS 7.1 Software. 
          (If your internet connection is slow, it may take a minute for this link to open.)
    Some apps that come with your iOS 7.1 and their User Guide references are:
    Camera: Chapter 12, starting on page 68
    Photo Booth: Chapter 19, starting on page 86
    If you live in a country that does not block it, FaceTime: Chapter 9, starting on p. 58.
    View photos you have already made in Camera Roll: Chapter 11, starting on page 63.
    (3) If you want to explore other camera possibilities, you can search the iTunes Apps Store for other apps that can use your camera.
    Message was edited by: EZ Jim
    Mac OSX 10.9

  • How can I read the internet speed in a MAC?

    How can I find the INTERNET SPEED in a MAC?

    You typically use a free Internet Speed test. It does an upload and a download from a known site, bypassing certain configuration problems. Just do a search to find a dozen services eager to test with you (in exchange for the Ads on their pages).
    Do not pay for this service, and DO NOT accept any CR@P they suggest you download to "fix" your speed. They cannot tell from outside whether you have problems, and none of the things you can download ever makes anything better.
    If using Wi-Fi, one generally finds that the Wi-Fi part of the connection is the limiting factor.

  • 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

Maybe you are looking for