Problem reading video image from the camera IP Axis - confusion of variant data buffer.

Hi there;

I am writing a VI for an Axis IP camera.  He went to work, but I need to extract individual video stream images so I can overlay text using the functions of text IMAQ overlay.

The thing is when I take a picture using the axis dll library (GetCurrentFrame), it returns a buffer size and a Variant representing the raster data.  The data is = 921 640 bytes representing a 40 byte header, and then the 640 x 480 x 3 raster data.  When I run the vi, I get a correct value for the size of the buffer (921 640) so I know it works.

What don't understand me, it's the video image is placed in a buffer of type variant.   I don't quite know how to extract the raster data of the data type of "buffer" which is a type variant.  My apologies, I'm a bit ignorant in how to handle the types of "Variant".

Does anyone have a suggestion?

This is the VI

Hi Peter,.

Just to confirm, what IMAQdx version do you use?  You want to get the version 2010.3 since it is the latest version: http://joule.ni.com/nidu/cds/view/p/id/1641/lang/en

The next issue would be that the Ethernet cameras discover is not necessary and that it is only used for GigE Vision cameras. The VI was named before IP camera support has been added and the name is unfortunately confusing now. In any case, the discovery of cameras takes place in the background and is automatic. The VI list must list your camera. It may be worth trying just to see if the camera appears in first MAX. Note that the IP camera must be installed on your local subnet, so it can be discovered.

Regarding the examples, virtually none of the IMAQdx examples included in help-> find examples should work.

Eric

Tags: NI Hardware

Similar Questions

  • Loading/downloading the images from the camera

    I downloaded the images from the camera to the computer, then accidentally deleted from the memory card.  Move them back to the memory card?

    I downloaded the images from the camera to the computer, then accidentally deleted from the memory card.  Move them back to the memory card?

    =====================================================
    FWIW... this task is easier to do than to explain.

    (1) connect the camera via a USB cable and turn it on... or insert the memory card in
    your Media Player.

    (2) go to... Start / my computer... your camera should be attached to a drive letter.
    The reader should be recognized as one or several removable disks... it can
    have several drive letters.

    Removable disk (e :))
    Removable drive (g)
    Removable disk (h :))

    Left 3) click on drive letters... When you identify the drive letter for the camera or
    Media Player... (it will be one that does not launch a dialog box indicating:)
    Please insert a disc in the drive?) ...

    Follow these steps...

    4) navigate to the folder in which the photos are... Open it and go... Edition/select all... good
    Click the group selected (highlighted), then from the menu choose... Send to /.
    Removable disk?

    Only a limited number of files can be copied to the root directory of the card... if you
    Transfer lots of pictures... they must be in one or more folders.

    If these files have been changed in any way, rename, rotate, changing the brightness...
    No matter what... the camera will recognize them is no longer, but they will always be on the map
    If you want to use as a backup. You can click on the left to see what is on the drive letter
    the map.

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Cannot transfer images from the camera and cell phone.

    Original title: print printer print

    I have a HP Photosmart C42oo all-in-one printer. It works fine and prints, but I can not all images of my little Kodak camera or my cell phone to my computer. It is as if the connection does not exist and in fact it s use to work perfectly until I get a new computer with windows 8. Can someone please help?

    Hello

    To provide the proper resolution, I would need more information on your side.

    1. what exactly happens when you try to transfer the images from the camera and cell phone?

    2 are the devices found on the computer?

    3. do you receive any error messages? If Yes, what is the exact error message?

    I suggest to use App Photos and to try the steps, click the link:

    Organize your photos
    http://Windows.Microsoft.com/en-in/Windows-8/organize-photos

    Please provide the necessary information to help you further, I'll be happy to help you.

  • How can I sync 2 sony AVCHD images from the camera on the "date" as a prelude and import it in first pro?

    I have 2 sony camera popular with the AVCHD file structure. The two cameras are the same. How can I sync 2 sony AVCHD images from the camera on the "date" as a prelude and import it in first pro? Im working with 6.0


    Now I see the date taken in the import screen until I click "ingest". When in the trash, this option is there, but no metadata in there. It is therefore impossible to import images from two cameras and have these sorted.


    How can I get this sorted out before, so I can export for the first?

    Thank you. Tom van den Dool

    Hi Tom,

    How can I sync 2 sony AVCHD images from the camera on the "date" as a prelude and import it in first pro? Im working with 6.0.

    Sorry, you can not do as a prelude. You can request a feature here: http://adobe.ly/feature_request

    Thank you

    Kevin

  • Old photos have reproduced after importation, the images from the camera

    Original title: pictures were reproduced during the transfer of the camera

    Hi - I clicked on import images from my camera to the computer that has been done successfully, but my old pictures exist duplicate? /?  I had checked before hand on the help page - where windows 7 stipulate that

    Why I can't choose which photos or videos to import?

    Windows detects your images and your most recent videos and is not a duplicate of the old photos or video versions that you have already copied to your computer, so you can import your pictures and videos in a single step. You can then view and organize your photos in the photo library. For more information on the management and organization of photos in the photo library, see Managing your photos. You can also view your images imported into the Windows Photo Viewer, where the large preview format makes it easier to decide which newly imported pictures to delete from your computer. For more information on the display of your pictures in Windows Photo Viewer, view and use your pictures in Windows Photo Viewer.

    To organize your videos, you can use the videos library. For more information about managing and organizing your videos in the videos library, see Managing your videos.

    Was it useful?

    If you could help with a quick method to remove all my duplicate photos I would really appreciate it.  I have nearly 400 of them

    Hello

    Did you use the functionality of Windows or all third-party software to import files previously?

    Sorry to hear that.

    When you import files, the same files will not be imported if the file names are the same. If you used a third-party software to import files previously, then the name of the file may be different.

    You can sort files by date and then try to remove the recently added files however, you should recognize the duplicate files.

    See the site for how to sort the files:

    Organize, sort, or group your files

    http://Windows.Microsoft.com/is-is/Windows7/arrange-sort-or-group-your-files

    If you need help let me know and I'll help you.

  • How to capture audio only video or only when you import images from the camera

    When capturing video from a camera with a firewire cable the encoding screen does not give me the possibility to encode the video alone or only audio, I have to encode them both together. Ive used previous versions of first and he always gave me the option to encode only one. I can not even see the option to separate them, but the system I cannot select this option. Sometimes I just need to capture images, I don't need the audio, it feels like a waste of space. IM using first Pro CC. Thank you!

    Very well.  If you capture HDV I don't think you can separate the data stream.  I think you did during DV capture.

  • Cannot copy large video files from the camera

    Tried to copy a too large video from my camera.  Message says 'current picture cannot be copied' when I looked up the answers in 'help' it says connect the camera using the (MSC) usb mass storage class, and then use windows Explorer to copy the image to computer.  Please help me understand this.  I have to download or update a driver to do this?  Should I buy something?  Please don't laugh, but I'm lost.  All those who take the time to give me some step by step instructions would be greatly appreciated.

    Transfer of files from digital camera fails

    Symptom 3:

    When you try to transfer a single large file from a USB PTP camera to local hard disk drive (HDD) using the scanner and Camera Wizard, the file transfer does not immediately, and you receive the following error message:

    Scanner and camera Assistant the current image have not can be copied.
    To copy this image, click "Try Again." To no longer deal, click "Cancel".

    If you click Retry, returns the error message.

    Problem 3 occurs because an error occurs in the scanner and Camera Wizard

    Resolution:
    You can connect the camera using USB Mass Storage Class (MSC) instead of PTP. Then, transfer large files using Windows Explorer.

    When you connect your camera, it can map device memory as a player external and it give a letter under 'Computer' OR it can be configured to do this in the configuration menu of the camera.  Once you have a drive letter assigned under 'Computer' for the camera, locate the drive in question for the file you want and copy to your computer to office/etc in the same way you would any other file.

  • Photo Gallery Windows won't play videos downloaded from the camera

    After uploading photos and videos from my camera fixed pictures are okay, but videos will not play.

    Hi richardclipperton,

    (1) you get an error message?

    (2) if it works well before?

    Method 1: Let flow the fixit available at the link below and then check

    Windows Photo and slideshow problems

    http://support.Microsoft.com/GP/windows_photo_and_slideshow_diag/en-us?EntryPoint=lightbox

    Method 2: Download and install the software provided by the manufacturer of the device and then check if the problem persists.

    Method 3: Click on the link below for the Windows Photo gallery-supported file formats

    What image file formats are supported by the photo gallery?

    You can download and install the codec, check out the link below

    Codecs - frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/codecs-frequently-asked-questions

  • Tried to download images from the camera. Unregistered class said. What is c?

    Trying to transfer photos from my camera in Windows Photo Gallery.  Pop - up said I couldn't because the class is not registered.  What does that mean?

    Hi John,.

    -When exactly you receive this error message?

    This problem occurs because a database is damaged. This database is created by Windows Live Photo Gallery to follow the photos and videos. To resolve this problem, use the following methods in the order in which they are presented. If method 1 does not resolve your problem, go to the next method.

    Method 1:

    Run the Fixit to solve problems with Windows Live Photo Gallery that does not work on Windows Vista.

    http://support.Microsoft.com/mats/windows_photo_and_slideshow_diag

    Method 2:

    Refer to the help article and check if that helps.

    Windows Live Photo Gallery crashes or won't start

    http://support.Microsoft.com/kb/944221

    Registry warning: Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base:

    http://Windows.Microsoft.com/en-us/Windows-Vista/back-up-the-registry

    Let us know the status of the issue. If you need help, please after return. We will be happy to help you.

  • Aspect wide photo after you transfer the images from the camera

    Original title - aspect wide photo after download

    After you transfer the pictures from my camera to my PC, subjects are not as the original photo taken.  People who are really thin show also stubby. I used another PC and downloaded normally photos.  I used the photo of different programs, from Kodak, Roxio, windows Photo Gallery. I put my card directly into the PC with the same results. I tried to change my video setting and updated my NVIDIA card driver. Change the size of the photo doesn't do any good change just the measure of perimeter. I know that I can edit the photos, so people watching more thin but can you imagine doing that in every pic I take. I hope someone can help

    I finelly solved the problem by playing with the resolution until I found the appropriate settings. How to change the setting, I don't know, but as long as it works I can live with that.

    Bob

  • Loading images from the camera to the Finder

    How can I load pictures from my camera directly into a folder I made on Finder?  I don't want to go through the program Foto everything first because then the photos arrive in a place that is impossible to find and manage.

    Use the Apple Image Capture app.

    Image capture: transfer images and other elements of your device

  • Image from the camera as local variable

    Hey,.

    I'm looking to use the same image reference for each of my camera inspections. I take a picture at the beginning of my test that I call this camera image1, then I have several inspections test, however, my camera1 image is empty for the 5 first steps but displays a picture of 3 steps then gives a blank image in the end I created a local variable of the reference image. Any useful suggestions. Thank you.

    Damien

    Hey,.

    Thank you for the interest that I have resolved the problem, reson why the image doesn't seem to my wizard output vision express VI was because I never restored the original image. Thanks again.

    Damien

  • copy the images from the camera

    Hello:

    I'm trying to copy pictures from my camera to my PC.

    I have connected my Panasonic DMC - ZS8 to my new HP Desktop running windows8 - using the USB cable. A PC click on USB mode on my camera screen. Can't see pictures anywhere on my desktop. Everything that I'm doing wrong or not done?

    Thanks in advance for any help.

    Greg

    Hi Gregp12,

    I understand that you have connected your Panasonic DMC - ZS8 to your desktop HP running windows 8. Follow these steps with the camera on and the USB is connected.

    Have you checked the updates with your system?

    To check updates

    1. Open Windows Update by hitting on any fly in the right edge of the screen (or, if you are using a mouse, pointing to the corner bottom right of the screen, move the mouse upward), tapping or clicking on settings, tapping or clicking on settings change to PC, and then tapping or clicking on update and recovery.

    2. Press or click Find now, and then wait while Windows searches the latest updates for your PC.

    3. If updates are found, tap or click install updates.

      Read and accept the terms of the license and then press or click on Finish if the update requires it.

    It will update with the camera set to USB and it should find the drivers.

    Let me know if this helps.

    Thank you

  • Download images from the camera to the computer

    My content box does not appear when I attach the camera to the computer.  The instructions say use the file on the toolbar in the photos section, however, I don't have the toolbar at all here and don't know how to get it.  Any help?

    My content box does not appear when I attach the camera to the computer.  The instructions say use the file on the toolbar in the photos section, however, I don't have the toolbar at all here and don't know how to get it.  Any help?

    =======================================
    If you connect the camera and the power you can
    to go to... Start / computer... and see the camera listed as a
    Removable disk. If_yes_left click on the drive and you can be
    possibility to see the directory and copy your photos from there.

    And... you may have a problem with your AutoPlay settings:

    Windows Vista-
    How to change the auto run settings
    http://Windows.Microsoft.com/en-us/Windows-Vista/Change-AutoPlay-settings

    Windows Vista-
    Troubleshoot AutoPlay
    http://Windows.Microsoft.com/en-us/Windows-Vista/Troubleshoot-AutoPlay-problems

    Windows Vista-
    AutoPlay: Frequently asked questions
    http://Windows.Microsoft.com/en-us/Windows-Vista/AutoPlay-frequently-asked-questions John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Downloading images from the camera on HP Chromebook 14

    Hello

    I am new to Chromebooks and I loved everything about them. However, I can't figure out how to download photos from my camera to my Chromebook.

    I have a Canon Powershot SD 790 IS. When I plug in the camera, nothing shows up in 'Files' as I read in other forums. I turned the camera on and outside, that plugged while and also tried to turn it on before plugging in, but nothing appears.

    On my PC, when I plug in my camera, I just push a button which allows you to view the photos without turning the whole camera, and then it begins to download the photos to the PC.

    I tried all 3 USB ports thinking maybe I got it in one, which does not recognize my camera, but no matter which it is plugged, nothing appears in 'Files' accomplishments my camera.

    Is there something I do not think I should do? Or do I have to look elsewhere to see if the Chromebook is recognizing even my camera?

    Thank you

    Hey kvnniv,

    Welcome to the HP Forums!

    I'm glad to hear you love your new Chromebook!

    You do not have some option to try and see if you can upload your photos on your 13 Chromebook directly from your camera. Normally, the Chromebook accepts not cameras in this way.

    1. see if your device has a mass storage mode, you may need to manually copy the photos on your Chromebook.
    2 another option is if your camera has an SD card, you could withdraw from your camera and insert it into the Chromebook.
    3. the last option would be to contact Canon to see if they have available for Chromebooks software.

    Please let me know if these options don't work for you.

    Good luck!

Maybe you are looking for

  • 23 Pavilion all in one pc: drivers

    Is there anywhere I can get the drivers for SM Bus controller and USB controller for a 23 Pavilion all in one pc. Model 23-g017c. HP site lists a USB driver but it will not work. Any help is appreciated.

  • free text in the Apple health

    Is it possible to enter free text in the health of apple?

  • in the edition of the composition widgets browser...

    I'm designing a website for a gallery, and they must be able to edit their images in the browser. My problem is editing in a widget of composition. Cannot get new images to "Adjust the content proportionally" (need to complete to appear in the box pa

  • Detect the wrong browser

    @Trying to understand some problems with my computer. On-site Adobe when I click to see if flash player is installed, it tells me that I have google chrome... I hate chrome. It is not yet on my computer. I need to know how to change my settings in Ad

  • How to use variable Substitution Essbase in ODI

    Hello Can someone help me please how to use void var Essbase in ODI?I created an interface to load data from text to planning. In the mapping, to the Point of view, I gave the necessary dimensions which is "years". In Essbase, we set a variable calle