Display images at video rate

Hello
I have NI PCI 1424 board and the NI PCI 1422 board. I a trying to acquire images from my custom imager and display them at a video rate. I am using IMAQ Acquire Grab as shown in one of the examples provided with LabVIEW. I am grabbing one frame at a time and looping infinitely so that I can get a continuous stream of frames. This is doing the job of displaying the images but I know I am not getting the full frame rate out of my sensor and it is tending to be rather slow (about 1-2 frames per second).
I am sure there would be other ways to do this. I just do not know how.
Any ideas?
Thanks

Hello Rami,
I have modified the LL Ring example to include frame rate estimation and attached that with this email. You will need LabVIEW 7.1 to open this example. I hope this helps you out. Have a nice day!
Regards,
Nipun M
Applications Engineer
National Instruments
Attachments:
LL Ring with FrameRate.vi ‏123 KB

Similar Messages

  • How can I display three images in video rate succession (60 Hz)?

    For a structured illumination microscope application, I have developed a VI that creates three images and displays them in rapid succession (as fast as the loop will go) on a second monitor.
    From the naked eye it's pretty apparent that the loop is not displaying the images at video rate.  Is there a way (perhaps with some sort of buffer) to get them to display faster?  Is WinShow simply not going to be fast enough, and if not, what's an alternative method of displaying the images?  If it helps, the images need only be displayed once each (the loop was just for testing).
    Also, what is a way to measure the frame rate output of the images?
    (sorry for the sloppy code, new to LabView)
    Thanks,
    -T
    Attachments:
    illuminationpattern.vi ‏31 KB

    Hello,
    Why don't  you try drawing one window, call IMAQ WindShow once outside of the loop, then redraw that window each iteration within the loop.  Hopefully this stops the flutter of the window.  You can build a 3 element array of the 3 IMAQ images then use an index array to alternate through which image you want to be redrawn into the single window.  The constant calling of IMAQ WindShow seems messy.
    Regards,
    Isaac S.
    Applications Engineer
    National Instruments

  • Array to Image at Video Rate

    Hello,
    I'm using Labview 2010 with SP1 (32-bit) on Windows 7 (64-bit) with NI-RIO 4.0 and a PCIe-7852R FPGA card. I've written a program for the FPGA card that acquires one line of an image (1024 values) from some custom hardware and puts the line into a target to host DMA FIFO. On the host I have a simple VI that reads all 1024 values from the FIFO. This happens continuously until the user presses a stop button. I'm getting one line, 1024 values, from the FIFO, about every millisecond but will eventually go faster. I would like to collect 1024 lines of 1024 elements per line and display it as an image. Using the obvious straight forward method I would concatenate 1024 arrays from the DMA FIFO and then update an Intensity Graph. Or, I would delete one line in an initialized 1024 by 1024 array, replace it with the line I've just acquired, and update the Intensity Graph after every line. Unfortunately employing either of these methods slows every thing down significantly. I've looked around for information about displaying data at video rate and have only found a couple threads that detail using the IMAQ package, which I have, to display from a camera that is supported by the IMAQ package. Unfortunately I am not using an off the shelf camera. How can I display array data as an image really fast? Any advice would be great.
    Thanks.

    The attached VI (LV2011) does about what you describe (I am using a U16 image as you did not mention what data type you were using).
    Writing 1024 lines to the image takes ~65 ms on my dual-core, Windows XP, LV 2011 machine (not top of the line anymore by any stretch of the imagination).
    Attachments:
    Test Large Image.vi ‏40 KB

  • Latest flash version will not display images or video

    Latest flash version will not display images or video in 2 x Windows 7 Pro 64bit machines, 1 x Windows 7 Home Premiums, and 1 x XP SP3 under VMWare Workstation 7. Problem plagues Firefox, Chrome, and IE on all systems. Also running Norton Security from Comcast on all machines. Disabling does not appear to help. Suggestions?

    Not sure, this is the one that I really want to view. I am using the latest 11.6 ending in 168. Curious you got the images. The product ones act like they should be displaying for me but don’t. Can you do a capture of the images? The text with small images sometimes comes through and sometimes not. I wonder if there is a problem on the server end.
    When I talk to the Customer Service people they claim to have no reports of problems, but like the sports pro about to be traded, they may be the last ones to know…

  • Video "snow" replaces displayed image?!

    No, this is not a post about Snow Leopard! What I've found twice, at seemingly random intervals, is that the displayed image on either the internal MacBook Pro display or my external 23" Cinema Display (used with the MBP's lid closed) will be replaced entirely by video "snow." Fortunately, this goes away fairly easily if I move my mouse.
    Has anyone else seen this?

    There's a long thread on this topic. The problem has existed between MacBook Pro unibody laptops and Apple Cinema Displays and third-party displays since the MBP was released in late 2008
    http://discussions.apple.com/thread.jspa?threadID=1760586&tstart=0

  • Display text and image over Video Image in applet

    Hi
    I am working in JMF for a video applet.
    I have a doubt ,how we can display text and image over Video Image.
    Is anybody know how we can draw text over Video Image,pls sent a small code how can do it in applet?.
    I can do it in a frame,but it not work in a applet !
    CHT

    it is very much possible in a htmlb:button.
    its same as how you have done it in xhtmlb:toolbarButton
    working code
            <%
      data image type   ref to cl_htmlb_image.
      data: image_string type string.
      create object image.
      image->id = 'IEX'.
      image->src = cl_bsp_mimes=>sap_icon( 'ICON_EXECUTE_OBJECT' ).
      image->tooltip = 'Find the Link'.
      clear image_string.
      image_string = image->IF_BSP_BEE~RENDER_TO_STRING( page_context ).
              %>
              <htmlb:button id     = "EX"
                            text   = "<%= image_string %> Execute"
                            encode = "FALSE"
                            onClick = "EXECUTE"/>
    Regards
    Raja

  • My Mac Pro is not displaying any images for videos or games, it is showing sound and working but nothing else. DVD player is also coming up with an error.

    My Mac Pro is not displaying any images for videos or games, it is showing sound and working but nothing else. DVD player is also coming up with an error. I'm not sure why neither is working, it just suddenly happened. I have done nothing different.

    Lao Bo,
    yes, you can locate and copy a file from your HD to a USB key using UNIX commands. If you know the exact name of the file which you’re trying to locate, try this:
    find / -iname filename -print
    This command will search your entire internal disk for the particular filename. If you know that it’s within a particular user account, then you can save search time with this variation:
    find /Users/username -iname filename -print
    Either variation of this command will print all files found which have the given filename. Presuming that you’re able to identify the correct file, you can copy it to a USB key using the command
    cp -p filename_returned_by_find /Volumes/USB_volume
    If you’re not sure which volume name your USB key has, this command will show you what the possibilities are:
    ls /Volumes
    Please let me know if you have any trouble with these commands.

  • Displaying image from Database with php

    Hello everybody,
    I'm working on a website that displays videos courses and tutorials as my final project
    and I'm working with "Flash builder 4" the database with mySQL and the application server with php
    Basically, the goal is to display a datagrid that shows the manager of the website in column all the information stored on the "Course" table
    the structure of the table is :
    Course (id,img,src,title,description)
    -id : primary key
    -img : path to a photo of course {for example picture of JAVA}
    -src : path to the playlist file {xml file}
    -title : String
    -description : String too
    I already succeeded to display all these contents on a DataGrid, but not with the image, I couldn't display an imageon its column using the path stored on the database, I used a DataRenderer to do that, and here is my code for Renderer and the DataGrid.mxml
    CourseGrid.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
       xmlns:s="library://ns.adobe.com/flex/spark"
       xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600" xmlns:courseservice="services.courseservice.*">
    <fx:Script>
    <![CDATA[
    import Renderers.CourseDeleteRenderer;
    import Renderers.CourseImageRenderer;
    import mx.controls.Alert;
    import mx.events.FlexEvent;
    protected function dataGrid_creationCompleteHandler(event:FlexEvent):void
    getAllCourseResult.token = courseService.getAllCourse();
    ]]>
    </fx:Script>
    <fx:Declarations>
    <s:CallResponder id="getAllCourseResult"/>
    <courseservice:CourseService id="courseService" fault="Alert.show(event.fault.faultString + '\n' + event.fault.faultDetail)" showBusyCursor="true"/>
    <!-- Place non-visual elements (e.g., services, value objects) here -->
    </fx:Declarations>
    <mx:DataGrid x="10" y="10" id="dataGrid"
    creationComplete="dataGrid_creationCompleteHandler(event)"
    dataProvider="{getAllCourseResult.lastResult}"
    width="100%">
    <mx:columns>
    <mx:DataGridColumn headerText="" dataField="img" sortable="false" itemRenderer="Renderers.CourseImageRenderer"/>
    <mx:DataGridColumn headerText="id" dataField="id"/>
    <mx:DataGridColumn headerText="src" dataField="src"/>
    <mx:DataGridColumn headerText="title" dataField="title"/>
    <mx:DataGridColumn headerText="description" dataField="description"/>
    <mx:DataGridColumn headerText="Delete" itemRenderer="Renderers.CourseDeleteRenderer"/>
    <mx:DataGridColumn headerText="Update" itemRenderer="Renderers.CourseUpdateRenderer"/>
    </mx:columns>
    </mx:DataGrid>
    </s:Application>
    CourseImageRenderer.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <s:MXDataGridItemRenderer xmlns:fx="http://ns.adobe.com/mxml/2009"
      xmlns:s="library://ns.adobe.com/flex/spark"
      xmlns:mx="library://ns.adobe.com/flex/mx"
      focusEnabled="true">
    <mx:Image source="{data}" width="60" height="60"/>
    </s:MXDataGridItemRenderer>
    Result :
    Problem :
    How can I access to the path of the image, I tried to write "data.img" instead of "data" as img is the name of the column in the database that stores the path but it wasn't successful.
    I know that it not complete statement "data" because "data" is a reference to what the DataGrid provides of information that gets from the (CreationComplete) event.
    Question :
    - Can you please help me with this so I can complete displaying images by accessing to what is on the column in tha DB so I can manipulate my datas that is stored there ?
    ==> I still have some questions about the buttons to update and delete datas fomr the DataGrid, but, until now I need to access successfully to the photo and display it
    Thank you,

    Anyone that can help me with this ?
    Please, try this with me, I'm asking Flex developpers this might be easy for you !
    It's just question of how to access the string stored in the variable "data", when I used XML I just type the path to the repeated element like this :
    XML file :
    XML File
    <parent>
    <child>
    <repeated_child></repeated_child>
    <repeated_child></repeated_child>
    <repeated_child></repeated_child>
    </child>
    </parent>
    I used a Model as a reference to the xml file
    and an arrayList as a container of the repeated child
    I just write in the code "data.parent.repeated_child" to access the text in the "repeated_child"
    and here is the code, that I implemented to generate videos from xml file to display a video play list
    Video Playlist code(extract from XML file "data.xml")
    <fx:Declarations>
    <fx:Model id="model" source="assets/data.xml"/>
    <s:ArrayList id="products" source="{model.video}"/>
    </fx:Declarations>
    <mx:List  dataProvider="{products}" labelField="title"
      change="list1_changeHandler(event,List(event.currentTarget).selectedItem)" x="103" y="77" height="350" width="198"/>
    That was my goal to do that with the database.
    Please help me
    If you have other solution I still need it.
    Thank you,

  • How to display images on my internal isight?

    Hi,
    I just bought the new iMac 2 gig dual. Running on 10.5.2.
    I wanted to know how to display images on my screen during a video conference chat without resorting to holding up a print out to the camera? I need something where I can switch from video mode to image mode and show a single image at a time if I need to. All that while still talking of coarse. If it isn't possible with my iSight software, can you point me to other software I can download and still use my built in cam?
    I hope I was clear enough in asking this.
    Thanks
    Liban

    Welcome to Apple Discussions, Liban
    iChat can do what you want, but I do not know of any web-based video chat site that can.
    Look for Help or Support information on the site you are using or ask the Webmaster if his site has the capability to do what you want.
    EZ Jim
    PowerBook 1.67 GHz w/Mac OS X (10.4.11) G5 DP 1.8 w/Mac OS X (10.5.2)  External iSight

  • How to  upload and display image using bsp application

    hi
    I  just wants to know that
    1- how to  upload image from BSP page with attachment into sap server .?
    2-how to display image in to BSP page(webpage).
    thanks

    Hello Gupta Prashant,
    Just to upload and display an image, import image in MIME repository. Not only still images but also flash files can also be uploaded in the MIME repository. Once you import the image in it, use normal html code for image call;
    <img src = "file.jpg/gif" width=  height=>
    Besides it, if your requirement is to store the image in the database and fetch it based on specified field-name, then you have to go for BLOBs i.e Binary Large Object, using this you can also store images, videos, pdfs, applications in the database.
    MBLOB - Medium BLOBs store videos and pdfs,
    LBLOB  - Large BLOBs store movie files and applications.
    You have got 2 ways to use it; some databases store BLOB objects into themselves and some store the path of the BLOB object maintained on the FTP server.
    You can also implement it in ABAP;
    read the following link and practice the tutorial;
    [ Use of MIME Types|http://help.sap.com/saphelp_45b/helpdata/en/f1/b4a6c4df3911d18e080000e8a48612/content.htm]
    also check this
    [TYPES - LOB HANDLE|http://help.sap.com/abapdocu/en/ABAPTYPES_LOB_HANDLE.htm]
    And looking at your question, in order to upload an image, you can make use of FILEUPLOAD tag provided by HTMLB.
    Step 1: FILEUPLOAD provides a browse button to choose desired image file.
    Step 2: Store that image in database using BLOBs.
    Step 3: Retrieve the image using normal select query and display it on the screen.
    Hope it helps you,
    Zahack

  • How do you display a swf video / videos when you mouse over

    How do you display a swf video / videos when you mouse over, It'll be something like a pop up but just that it doesn't open in another windows but within the same window and will be like a pop up roll over image.

    Thank you for the reply.
    I've been putzing around with it and came across the 'SetEventHandler' object and thought I'd try and make that one work.
    Here's what I've got so far.
           <mx:SetEventHandler target="{turnAroundMovie}" name="handleMovieClip" handler="stopMovie()"/>
    And then my fuction.
       <mx:Script>
            <![CDATA[
                private function stopMovie():void{
                    turnAroundMovie.stop(); <!-- here's where I'm getting stuck -->
            ]]>
        </mx:Script>
    My first instinct was the simple stop(), but that didn't fly.  I even added a stopMovie frame in my .swf and tried a gotoAndStop('stopMovie'); but that didn't fly either.  And that's kind of where I'm stuck at.

  • Images and video do not appear when project is published

    Can anyone tell me what is happening when I have inserted video and images into my project, but when I go to publish it, the slide freezes or the images and video do not display.

    Hi,
    You give very few information: could you please give some more details, such like which version of CP, what kind of images/video, how do you publish and how do you deploy, is all well in Preview mode (also Preview in Browser), how big is the CP (number of slides)... In order to have some idea of possible causes, please provide some details.
    Lilybiri

  • E71 Gallery Images and Video Clips

    Hi there,
    last night I discovered that I am now no longer able to view any images or video clips in Gallery. I had taken some photos over the past few days in various conditions to test the camera out. I went back in to review, which I was able to do only days earlier and now it just sort of hangs and no images are displayed. I can exit out, but it wont show even the preinstalled images. The same thing happens with video clips.
    Has anyone else came across thie problem and/or have a solution?

    Nokia phones are unable to play MP4 files, or any other video file with the exception of Real Video files.  The video file MUST be packaged thru Real Player.  1 of 100 MP4 files will play, but typically the phone CANNOT even see that the MP4 file is on your memory card.  
    The issue is a problem with the firmware on the phone,  You can view the MP4 files on all phones and all computers, but not Nokia.  Nokia is history, yet they keep building phones that look new and have new features, but they only work with antiquated files formats.  Furthermore
    the features that actually work are typically crippled by patent infringment issues.
    The Nokia suite will not work with windows.  Typically Nokia suite will open and freeze.  Again a software issue totally ignored by Nokia, because selling a new phone is not contigent on making all the features work.  They proudly list the features on the package, but for the most part the features you paid for are not going to work correctly, and most often not at all.
    To get a video file to to work on the E71, your best bet is to take the loss, throw the phone in the garbage and by a different brand.  If you insist on getting videos to play on the E71 disaster, make sure to run your files thru Real Player and convert to a '.RV' file.  The format is ancient, but they will work most of the time.  The file size is massive compared to todays standards as well, so buy a massive memory card, but remember the E71 has a tiny limit of 8 gig.  You can then use file manager on your computer to transfer the files to your memory card on the phone.  DO NOT try to use nokia software with Windows to transfer files, simply put, you will waste hours, and in the long run it will work about 10% of the time at best.
    Nokia has been on the brink of bankruptsy for a while, and it will not be long now.

  • Store, Retrieve and Display picture or video to/from DB2 using JDBC

    I need an idea for implementing the"Store, Retrieve, Display Image/Video" concept in JDBC. My Database is DB2. I could not get proper info from google.
    Thanks and Regards
    Muthukris Bala

    Muthukris wrote:
    I need an idea for implementing the"Store, Retrieve, Display Image/Video" concept in JDBC. My Database is DB2. I could not get proper info from google.
    1. Figure out how to display image/video
    2. Figure out how to encode/decode a image/video into a byte array
    3. Design a database suitable for your application that stores blobs
    4. Figure out how to use JDBC to store/retrieve blobs via byte arrays.
    Steps 1 and 2 have nothing to do with this forum (nor GUI code). There is at least on forum on this site that deals with questions about that.
    Steps 3 is only somewhat related to this forum. A DB2 forum would be best.
    Step 4 is the only part of this that is specific to this forum. And if you have not used any JDBC then you first start with the tutorial or some other suitable method to learn how JDBC works before attempting blobs.

  • Identifying image and video file names in my presentation

    I want to identify the file names of all the images and videos in my Keynote presentation so that I can re-assemble the presentation in Final Cut Pro . . .  I thought that just using Inspector might give me the file names, but it only shows me what the image or video looks like, but not the file names.
    My photo images are not in iPhoto (I don't use iPhoto), they're in various other folders.
    Thank you.

    There are two ways to find file names of media used in Keynote:
    1
    for a few images, select the images on the slide
    Inspector > Builds
    click on more options
    if there are no builds set up, choose an effect
    the file name will display in the build order:
    2
    It is more usefull and easier  to do the following:
    right click the Keynote file and select     Show Package Contents
    all the images and QuickTime files will be listed
    you can make a screen grab to make a note of the file names (in finder -  command shift 4)
    the files can be copied to a folder and imported into other applications for further work

Maybe you are looking for

  • Apple notebook batteries – maintenance and troubleshooting

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as

  • Problem with branching on dependant list submit

    I am a new APEX user using version 3.1. I've successfully set up a dependent LOV on a form but the logic I've applied is preventing me creating any records. (I've branched back to the page and I think this is conflicting with my primary key trigger.)

  • ISE license enforcement alarms

    Getting the following alarm from my ISE: Cause: Base License Enforcement Details: Base concurrent users exceed license allowable count Currently only using 1656 out of 2000 base licenses so I'm not sure what the issue is. Running 1.1.2.145 patch 3.

  • Adobe Photoshop and Premiere Elements 10

    I purchased Adobe Photoshop and Premiere Elements 10, but the DVD will not load.  Help!

  • ADF mobile client

    I want to develop an ADF mobile client application that uses web services other than using syn server .Therefore i need details about the cost i will have to bear in taking license.