IMAQ ImageToArr​ay.vi in installati​on of VDM2011

Hi,
I am trying to use a firewire camera (Dragonfly2 DR2), with a custom VI that uses sub vi's like "IMAQ ImageToArray.vi" and "IMAQ1394Snap.vi". I installed VDM2011, thinking this would contain the vi's I'm looking for. This proved not to be the case.
Where are these vi's, if not in the installation of VDM2011?
Thanks,
David
Solved!
Go to Solution.

Hi David,
Thanks for popsting. 2 quick comments...
1. I believe that the IMAQ 1394 vi is legacy (perhaps someone else can confirm this?) To acquire data from a firewire/1394/GigE/USB direct show camera, you require a function called IMAQdx Snap.vi
2. As you can see in the above screen capture, the IMAQdx Snap.vi is installed as part of the "Vision Acquisition Software"
NI Vision Acquisition Software
http://sine.ni.com/nips/cds/view/p/lang/en/nid/128​92
Note that a license for this software is included with all NI vision hardware (NI Smart Cameras, vision systems, frame grabbers) and all NI vision software licenses (NI Vision Development Module and Vision Builder for Automated Inspection licenses including run-time licenses).
Rich R
Applications Engineer
National Instruments UK & Ireland

Similar Messages

  • IMAQ ImageToArr​ay VI I16 ouput stop working

    Has anyone encountered problem with the IMAQ ImageToArray VI such that the I16 output stop working suddenly. The U16 is working fine though.
    Solved!
    Go to Solution.

    Hi,
    Could you elaborate a bit on your problem? Did you previously have the IMAQ ImageToArray VI working with an I16 output, but now it no longer works? Is there a broken wire coming from the output? What changes were made since it was working? This information should help us hone in on the issue. In the meantime I found a forum pertaining to a similar issue (http://forums.ni.com/t5/LabVIEW/IMAQ-quot-image-to​-array-quot-directly-wired-to-quot-array-to/td-p/2​...). Have a great day!
    Kale W.
    Applications Engineer
    National Instruments
    [email protected]

  • IMAQ ImageToArr​ay returns NaN in LabVIEW 7.0

    I wrote a VI to quantify an image using both LabVIEW 5.1 and IMAQ Vision 5.0. Recently I upgraded to LabVIEW 7.0. When I tried to run my VI, it worked well sometimes but very often, the data values were returned as NaN. Upon checking, I realized the problem lies with the IMAQ ImageToArray subVI. When I tried to convert an image to array, it sometimes return NaN. Can anyone help me with this problem? I am still using Vision 5.0.
    Thanks in advance.
    Kian

    That is a directory that may not be on your system due to the version of IMAQ Vision that you have.
    I have attached the LLB to this post in case you cannot locate it.
    Regards,
    Colin C.
    Applications Engineering
    Colin Christofferson
    Community Web Marketing
    Blog
    Attachments:
    Convert_VI_to_use_LabVIEW_7_Image_Datatype.llb ‏548 KB

  • IMAQ AVI read frame performanc​e

    I've been playing around with the read AVI with buffer example in the Developer Community.  It reads all the frames of an AVI into memory and then plays them back at the appropriate frame rate.  This works ok with very small AVI files but with anything larger it gets slower and slower until it almost stops loading the AVI.  At that point it seems to be loading less than 5 frames per second and is killing my cpu.  I have plenty of free RAM during this.     
    https://decibel.ni.com/content/docs/DOC-8479
    This is the case with the play AVI example that comes with Labview too (without a buffer) which just loads and plays one frame at a time.  Can someone suggest a way to improve the performance of an AVI player in Labview?  My ultimate goal is to read an AVI and detect changes in motion of objects by comparing two frames at a time.  These AVIs are going to be at least 5 minutes in duration at a frame rate of 30 fps.
    I'm using Labview 2009 with the Vision Developer installed.
    Attachments:
    image_png.png ‏77 KB

    VTKim wrote:
    Hi,
    One thing we could implement is a compression filter that is on the IMAQ AVI Create VI used in conjunction with the IMAQ AVI Get Filter Names VI.  Also, what is the RAM available on your computer and what size images are you acquiring and saving to AVI?  Thanks!
    Kim
    Thanks for replying.  I'm running labview 2009 on a dual core pentium 2.3 GHz with 4 Gigs of ram.  It typically has 2 Gigs free while running the program.
    I'm not tryingt write an AVI, I'm trying to read an AVI.  The frames are 352 x 240 in size.  I've tried several read AVI examples and they all act the same way.  They slow down quickly and the hard drive and CPU are really cranking away.

  • IMAQ Resample performanc​e. Any better choice for 50% downsample​? (average 2x2 - 1 pixel)

    My video source is a 4 Mpixel (2k x 2k resolution) USB3 camera. This is displaying a live image OK in Labview at 45 fps using only 20% CPU.  So far, so good.
    I added a "IMAQ Resample" block to downsize this to 1024 x 1024 image. That works with almost no additional processing time if I select "Zero Order" interpolation (eg. plain subsample to value of nearest pixel). However, I want to average each 2x2 block (4 pixels) in the input image into 1 output pixel. I *think* that is the effect of selecting Bi-Linear interpolation. Doing that works, but takes about 45% of CPU.  I want to do some other processing but am worried I will quickly run out of CPU time and start dropping frames.
    Is there any better way to do this simple 50% downsize (2x2 average), that would take less CPU overhead, or is this the best way?

    Hi jbeale1,
    In NI-MAX (Measurement & Automation Explorer) select your camera. Under the  'Acquistion Attributes' tab do you see an option to change the Video Mode of your camera to a different resolution? If your camera supports it, it would be more efficient to change the resolution there.
    If not , here is a little more info regarding the IMAQ Resample VI:
    http://zone.ni.com/reference/en-XX/help/370281P-01​/imaqvision/imaq_resample/
    You are correct, the Bi-Linear option uses a more intensive interpolation technique which is why it is more taxing on your CPU. I hope this is helpful.
    Robert S.
    Applications Engineer
    National Instruments

  • How to set the User rights to use DAQ/IMAQ in WinXP as general(=limited) user

    When I install Software, written in LabVIEW (build an executable/installer), as administrator it works fine. But when I switch over to a user account with limited rights (we are talking about WinXP) it will not run and gives error messages. It happend to me at two almost the same computers, one with a DAQ-board, and one with an IMAQ-board. (At the computer with IMAQ1411 -> I also checked MAX -> errors/no access.) What to do?
    Attachments:
    DAQ_example.JPG ‏9 KB
    IMAQ_example.JPG ‏15 KB

    Hello,
    I investigated the issue further. To work around this problem you should add write permissions to the C:\Program Files\National Instruments folder. Be sure that all subfolders and files are awarded write permission. This should solve your problems. eventually you could break it up to one file which must be set to write permission but by setting the whole folder to write permission you solve this problem for many other drivers to so you would not run into this everytime you use different hardware.
    Best regards,
    RikP
    Application Engineering
    National Instruments
    Rik Prins, CLD
    Applications Engineering Specialist Northern Europe, National Instruments
    Please tip your answer providers with kudos.
    Any attached Code is provided As Is. It has not been tested or validated as a product, for use in a deployed application or system,
    or for use in hazardous environments. You assume all risks for use of the Code and use of the Code is subject
    to the Sample Code License Terms which can be found at: http://ni.com/samplecodelicense

  • Image processing with imaq vision with 2 webcams on the same computer

    Hi,
    I'm currently trying to set up 2 usb webcams (logitech quickcam for notebooks pro). I want to be able to have them both run simultaneously and do some image processing with the images that I get from both cameras with labview and imaq vision.
    As of right now, I'm having trouble getting both cameras to run at the same time. Any help would be gladly appreciated. Thanks.

    The USB IMAQ driver will not support running 2 USB cameras at a time (I believe it is a limitation of the DirectShow interface). You could open one camera, acuqire an image, close the reference to that camera and then do the same for the second camera.
    If you need simultaneous acquisition, look at possibly moving to 1394 cameras or analog cameras.

  • Help me to do this "IMAQ"-1

    Dear friends
    Please go through this vi
    this vi it will display a image window when u click inside that window a square box will create, where ever u click it will create multiple box. i used imaq windraw function, u can see another image window in the front pannel also.
    now my aim is to put a box over that spot with the spot as center and to extract the pixel values of the individual boxes,
    now whats happening is when i run this program a image window is opening from the imaq windraw function in that 1ly i can able to put multiple box but that box is displayed in the image display in the front pannel also. but i cant put the box in the image window in the front pannel. if u click the mouse in the image window in the front pannel it will display the 25x25pixel values.
    i want both to be done in a same window i want to put a multiple square box and the pixel values i want to extract seperately for the individual boxes. please help me give some ideas how to do this please modify this vi.
    thank u
    sasi
    Attachments:
    mult sqr.vi ‏123 KB

    Please refer to this duplicate post for response:
    http://forums.ni.com/ni/board/message?board.id=170​&message.id=105711

  • Help me to do this "IMAQ"-2 image file attached

    Dear friends
    In this i attach my image file in Tif format & jpeg format
    Please go through this vi
    this vi it will display a image window when u click inside that window a square box will create, where ever u click it will create multiple box. i used imaq windraw function, u can see another image window in the front pannel also.
    now my aim is to put a box over that spot with the spot as center and to extract the pixel values of the individual boxes,
    now whats happening is when i run this program a image window is opening from the imaq windraw function in that 1ly i can able to put multiple box but that box is displayed in the image display in the front pannel also. but i cant put the box in the image window in the front pannel. if u click the mouse in the image window in the front pannel it will display the 25x25pixel values.
    i want both to be done in a same window i want to put a multiple square box and the pixel values i want to extract seperately for the individual boxes. please help me give some ideas how to do this please modify this vi.
    thank u
    sasi
    Attachments:
    1.zip ‏279 KB

    Sasi,
    I am a little confused on what exactly you want to do and why you are using both WinDraw and an Image Display Control to show the image. It sounds like what you want to be able to do are the following 3 things:
    1) Display the Image
    2) Click on the image and have a rectangle overlay appear on image
    3) Get the pixel values from that rectangle into an array
    If I am understanding you correctly, then you should only display the image using one of the above display methods and have only a signal case structure in your code that adds the overlay to the image AND extracts the pixel values. I am a little unclear as to why you have decided to only get the pixel values if the user clicks on the Image Display and only draw the rectangle if the user clicks on the WinDraw display.
    I have attached an image of a block diagram, which is what I think that you are trying to do. In the block diagram you can see that I have combined everything into one case structure so that whenever a user clicks on the Image Display (no WinDraw) then I add a rectangle overlay to my image and also get the pixel values for that area. If you want to keep track of the pixel values for each rectangle then you could use a shift register and build up a 3-D array with all of this information ... or write the data to file ... or use another method to keep that data for future use.
    Regards,
    Michael
    Applications Engineer
    National Instruments

  • Error -1074397038 occurred at IMAQ Start.vi for 64bit Labview 2011 SP1, Win7

    Hello,
    I am using a MC1362 camera from Mikrotron with a PCIe1433 framegrabber. I was using it with windows XP, 32 bit, labview 2010 SP1 32 bit, it was working perfectly fine. I just switch to windows 7 with labview 2011 SP1 64bit, and it is not working anymore with my custom routine in labview, though it works with MAX and camera file generator and I use the same camera file.
    When I run my routine, I have this error message:
    Error -1074397038 occurred at IMAQ Start.vi
    Possible reason(s):
    NI-IMAQ:  The requested serial termination string was not found in the returned buffer.
    Then, If I try to run the camera with MAX, it doesn't work anymore, I have to reboot the camera, and put it in the right mode with the Mikrotron control tool to obtain an image.
    I have seen similar issue on a Basler camera on the forum, and it has been solved by using a camera file to set the different parameters. There is no camera file complete to set all the parameters of the camera, so I had to program them in serial to drive the camera with my Labview routine.
    Could you help me to solve this issue please?
    Thanks
    Bests
    David Dulin

    This forum post is already handled --> SR 1154262.
    Kind regards,
    Corné Westeneng
    Applications Engineer
    NI-Netherlands

  • What datatype should i use to store imaq image in sql database?

    Hi there i am thinking of saving the imaq image into database for retrieval in my website so that it's like a stream but i don't like what datatype does labview store the image as.

    You have two options for storing images in a relational database:
    A.  Don't put it in a database.  Store it as a file, and store the pointer int he DB (as mentioned above).
    B.  Store it as a blob datatype.  See here for more info.

  • Multiple IMAQ version on single computer

    I have a number of cameras that I work with - mostly CameraLink, but one LVDS. I'd like to be able to develop and test these from one machine, but there is a bug in more recent versions of IMAQ that cause the camera data to be delayed and/or shifted (I found this out through e-mail correspondance with one of NI's support people). For the CameraLink, I'd like to use the most recent version of IMAQ. What would be the best way to have both version accessible on one computer? Can I install them to different user accounts, so they are only accessible to a single user? Would the only way to do this be to dual-boot?
    Thanks,
    Gard
    Solved!
    Go to Solution.

    Try to install them on different user accounts in single boot system.
    Sasi.
    Certified LabVIEW Associate Developer
    If you can DREAM it, You can DO it - Walt Disney

  • How can I display the length of the yet unfinished line that a user is drawing in the image using the line tool of the IMAQ tool palette.

    Is this really not possible using standard Labview/Vision YI`s?

    Herbert,
    I can't find a way to extract the information you want within the program. However, this information is displayed as part of the IMAQ tool palette while the user is drawing the line. The pallette shows the anchor point, the X and Y offsets, and the line length and angle.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How can I use or convert a imaq image to plot images back on waveform graph

    Hi
    I am currently opening and manipulating (rotate and resize) a PNG image using IMAQ Vision in LabView 8.2.1 This works well and I can display the Image on the front panel using a IMAQ Image Control.
    In addition to this I would now like to display the image as a background on waveformgraph. I can do this with the original PNG file by reading it and then flatten it to a pixmap ie make it a Picture but this is of little use as I need to use the manipulated IMAQ image.
    Therefor I would like to know how to convert the manipulted IMAQ Image to right Picture Format (without resaving) in order to use it on the PlotImages.Back property node of a wavefrom graph.
    I very much welcome your suggestions as I feel it should be easy yet can not seem to solve it. Thank you for your time!!!

    Hi Randall
    Apologies for replying somewhat late but I have been out of the office for a few days.
    Your suggestions and code helped me greatly and led to solving my query so thank you for that.
    There is one more thing (well many many more but I will place new posts for those  however that you might be able to answer for me.
    Following your suggestion to use the image to array function I searched through more examples and found the code that did exactly what I wanted to do. Please see attached.
    In this code a For loop is used to add 65793 to the color table. It works very well but I do not know why it is used exactly. Can you exlplain? I also realize I never made it clear that I use grayscale PNG files rather then color images.
    Thanks again for your excellent help, it is much appreciated.
    Attachments:
    IMAQ_8-bit_to_picture v1.vi ‏15 KB
    Test Image.png ‏42 KB

  • How to use IMAQ extract color panel in a LabView file?

    I want to change a color image into a greyscale image. Therefore I want to use the function IMAQ extract color panels but I don't know how to insert it in my LabView application.
    Please, can anyone give me some advice ?!!!
    Thx, Birgit

    Birgit,
    If you want all of the color planes, you can use IMAQ ExtractColorPlanes. Allocate an 8-bit image for each of the color planes. Wire the original color image and each of the 8-bit images for the color planes on the left and bottom of the vi. The outputs on the right side will be the same images, and they will each contain the desired color plane. The input at the top of the vi controls which color planes are extracted (RGB, HSI, etc.) Grayscale will probably be the I plane in HSI.
    If you just want a grayscale image, use IMAQ ExtractSingleColorPlane instead. Wire the color image to Image Src, and wire an 8-bit image to Image Dest. Select the color plane using the top input, and it will come out on the right side.
    Bruce
    Bruce Ammons
    Ammons Engineering

Maybe you are looking for

  • Tracking report deletion by Users

    hi Experts, we have a client requirement,where we are providing shared folder access to the end users.now we want to track (in a log file or some other way) , if an end user deletes a report then we shall be able to the path from which report was del

  • Iphone 3GS has "169..." IP address after replacing old Airport Express

    My 3GS is no longer connecting to my home network after replacing my old airport express. Previously my old G5 iMac would have problems connecting to the old airport express, BUT my iPhone 3GS would reliably connect. After installing this new airport

  • Working with Oracle Objects in JAVA - How to with views

    Hello, I am trying to access to Oracle object types from Java. My problem is, I have relational tables, Object Types and Object Views. All the examples I found from Oracle manuals are working with Object Tables(Table column is created as Object Type)

  • "show" dropdown in the PCUI query area

    hi, The dropdown for the 'Show' where we have "My favorites" in the dropdown. here if we want to add one more value where should we write? Should we write in the '' fill drop down listbox" method of the corresponding Model Access Class ? Regards, Shi

  • Why Wont GPS Work with the Nokie 5530 + Nokia LD-4...

    Ok, ive played around with all the settings, etc. The only lights being displayed on the ld-4w gps module are the green light and the blue light. the gps light is not turning on. it is all paired with the nokie 5530 phone. Ovi maps is installed, all