LabVIEW pulnix tm-6740cl high-speed imaging

Hi,
I'm working with a pulnix tm-6740cl camera, and my goal is to take high-speed photographs with it  (multiple photographs per second.) I use MAX to modify the device settings, and then run the labview program. The LabVIEW program that I've attached should work, but I can't find what's wrong. It should take photos and then save them to a specified directory, but when I run it, it doesn't save any photos. I've heard that this may not even be the program at all, but that it may be that I'm trying to acquire too many photos at once and my computers memory can't handle it. If anyone could lend me some help, then that would be great!
Attachments:
LL Sequence2.vi ‏72 KB

Hi mb056145,
I downloaded your VI and had no problem running it.  What happens if you attempt to save just a few images?   How many images were you hoping to save?  I was able to save 100 images without a problem.  I tried to save 1000 and got a memory error.  I would suggest placing a indicator on the output of the IMAQ Configure Buffer VI.  This way you will be able to see any errors that come up creating the buffer.  If I create say 1000 images I get an error for the IMAQ configure buffer and the program just ends.
Adam H
National Instruments
Applications Engineer

Similar Messages

  • LabVIEW 8.5 high-speed camera

    Hi,
    I'd like to take many
    high-speed images with a camera, and save them to a disk, or my computer's hard drive. I congfigure the camera (it is a Pulnix TM-6740cl camera) with the Measurement and Automation Explorer (MAX.) I take the pictures with LabVIEW. I've found an example program in LabVIEW that is close to what I want; it was written by two members of this forum, N_Holmes and reut. The only differences between that program, and
    the program that I'd like to run is that I need to be able to change
    the shutter speed of the camera (although I believe that I can do this
    with MAX), I'd like to be able to change the target
    directory (for some reason, if I change the directory with the reut
    program, the camera only takes 1 "frame" and stops), and I'd like to be
    able to save a file for each frame taken by the camera (I can only get
    the reut program to save 1 file.) I have LabVIEW version 8.5. If you
    could help me out in any way, then that would be greatly appreciated. Thanks!
    Attachments:
    grab images and Save to FileReut-11.vi ‏67 KB

    Hi Bolin,
    I'm using an NI PCI 1426 with NI-IMAQ, 18MB. Thanks for your previous help. I've actually worked on the program, and I got the camera to take multiple pictures. I also incorporated a part in the program that decodes the raw bayer image that this camera outputs.
    I do have some other questions, though. First of all, I'm not entirely sure what you mean by "trigger." I use the computer to take the pictures; MAX configures the camera, and LabVIEW sends the signals to the camera to take the pictures, and then saves them on the computer. Also, I know this is probably a bad question, but I'm not 100% sure where in MAX I can look to find out what framerate I'm acquiring at. I'd like to acquire pictures at the camera's maximum framerate, which I believe is somewhere over 1000fps. I tried many different methods in order to capture at the maximum framerate, and the best option seemed to be at the settings: manual shutter, shutter setting 0, 4X4 binning. However, my pictures were of extremely poor quality, and they were very dark.
    Also, where can I go in MAX to change the shutter speed? I've tried changing the shutter control setting and the shutter setting number; I just want to verify that this is correct.
    Thanks again for your help! Once I can figure out how to make these pictures take at maximum speed, and at the best quality, then I can finally start on my project!

  • High fps image acquiring

    I'm trying to build a triggered VI, which can acquire high speed images and save them (400fps 1200*300) using a ring buffer. First I allocate the buffers in the RAM, then I acquire the images and start saving at the same time. Since the saving can not keep up with the acquiring of the images, buffers are allocated before acquiring and saving is done paralel to the acquiring. 
    I think it's working the way it is now. But which VI of the 3 get/extract/copy buffer is the best to use?
    When I want to record for a very long time, I get memory problems (64bit Windows, 64 bit Labview, 16GB RAM, somewhere around 1.5 minute). I'm searching for ways to improve this. But I think as long as the disk speed is too slow to save images in real-time, it's always needed to allocate the buffers before starting? It takes around 10 minutes to allocate the buffers...

    wielrenner wrote:
    AntonSundqvist wrote:
    Hi, 
    To start, could you please specify the hardware you are using and what bus you use? 
    A Basler aCA2040-180km connected by Camera Link to a NI PCIe-1433 card
    Are you using a PCIe 4x port? Up-plugging mat reduce the transfer rate on some motherboards.  
    I can also not see exactly what you want to do with the downmost part of the VI, could you explain this? You are first starting the IMAQ, then waiting two seconds and after this setting up some kind of timing; what kind of signal do you want to use to trigger the acquisition?
    This is a program for myself to learn how the timing works. In a much bigger program the camera is triggered from another part of the program not in this way.
    Okay, I see. The IMAQ part looks ok, but I do not understand what you want to do with the delay in the sequence structure and why you are using the same DAQmx VI twice. 
    Regarding the read buffer i think the get  buffer VI works well, but why do you want to use one-shot mode and why do you only read one image at a time? I suppose you could increase the speed you save the images if you would read the whole buffer at once. 
    One shot is used to acquire the exact amount of specified images. 
    So moving the get buffer out of the for loop and use the images out in stead of the image out?
    This might be one option, but I am not sure if it will help. The thing is that I have not understood where the bottleneck lies. I am thinking that you might have some issues due to the fact that you are acquiring the images at two places in parallell and this might cause some problems with the performance. You could try using an other programming structure, please see the attache VI for a quick example of what I am suggesting. I do not have access to the hardware here, but you could test if it improves the performance. 
    If I understand it correctly it takes a very long time to alocate the buffer and there will not be time to do this during acquisition. 
    Yes, I'm searching for ways to reduce this time. But I can't find any solutions besides saving in real time, which is not possible with the current hardware. It's a real problem when trying to aqcuire images for more than 2 minutes at 400fps. 
    /Anton 
     

  • Speeding up Bridge Thumb to High Res Image Displays

    What's the fastest way to speed up viewing thumbs in Bridge as high resolution images?
    When I click on a thumb to view an image at full resolution, it often takes about 5 to 10 seconds, sometimes
    much longer.  It appears blurry, then snaps sharp, but not after a few to many seconds later.
    What tips might be offered to speed this up in software?
    I have Bridge on an SSD drive with Windows 7.  My files are on a separate drive 7200 RPM WD drive.
    I forget the settings - most would likely be maxed out for speed and most room allotment both drives
    and ram.
    What hardware tips are most efficient?  (Faster processor, more memory, faster memory, faster drive, faster
    video card, video card with more memory and /or video cards with faster memory).  What works best and
    perhaps, in what order of significance?
    THANKS!

    > but everytime I place them into
    > Adobe Indesign they BLUR.
    Blur on the screen, or blur in print? If it's just onscreen, go to
    Object > Display Performance, and set it to High Quality. And then set
    it back to Fast Display and stop worrying about it.
    But Bob's right. If you *drew* your logo, you should be saving it as a
    vector drawing, not converting it to a bitmap.
    Kenneth Benson
    Pegasus Type, Inc.
    www.pegtype.com

  • I need to count intermitte​nt high speed pulses from an outside source with cFP-CTR-50​2 and labview.

    I need to count intermittent high speed pulses from an outside source with cFP-CTR-502 and Labview 8.2 . I've found example code for generating pulses and creating intricate count setups but no straightforward examples of a simple counter. Any suggestions?

    Hello tinfish,
    I could not find a simple example that implements simple counting either, but it should be straightforward enough for us to try. Do you have the CTR module configured properly in MAX? If so, can you monitor the channels on your CTR 502 for input? Try connecting a square wave or some other digital pulse to the terminal to test the functionality of the counter module first (before programming). If you monitor the input channels with somethign connected you should see the count increment each time it sees a rising edge (assuming default configuration).
    Once you've verified that everything works in MAX, you can set up your CTR module in a LV 8.2 project. If you need help with this, refer to the help document (look in the "Configuring FieldPoint in LabVIEW" section):
    C:\Program Files\National Instruments\FieldPoint\documentation\Online Help\fplv.chm
    You should be able to just read a channel tag from your CTR 502 using an FP Read VI. (Simply drag the channel from your project onto the block diagram). Since counting is the default behavior of the 502, there is no special programming involved to make it work.
    I hope this helps -- if it's too high-level we can talk details about specific questions you have.  Have a good one!
    Charlie S.
    Visit ni.com/gettingstarted for step-by-step help in setting up your system

  • Replace MiDAS with labview in a high speed camera

    Has anyone out there used MiDAS for high speed camera aquisition? The camera came with MiDAS. However the camera can be operated through labview which I'd prefer for better data aquistion. Does anyone have a program for this? Or know somewhere to look? Or help me get started to build my own program.
    The camera will be connected to a NI USB 6251
    Thanks!
    Hova

    Let's consolidate these threads into one.
    Chris Bolin
    LabVIEW Partner Program, CLA

  • Measure high speed duty cycle in labview

    Hello.
    I'm trying to do semi-period measure for high frequency (up to around 200KHz).
    i need to know an exact duty cycle and frequency of the signal.
    all the examples i could find worked fine for low freq. (up to 50KHz) but dont match for high speed.
    for now i'm using the M series 6259 and the new X series 6353 DAQ.
    is there a solution for high speed measure?

    Hi jackedi
    Have you tried the examples in the Example Finder?  You can find the Example Finder at Help >> Find Examples.  When this opens, double click Hardware Input and Output >> DAQmx >>  Counter Measurements >> Meas Semi-Period.  This should measure your semi period.  On the 6353, the counters run at 100 MHz, so you should be able to get good resolution of a 200 kHz signal.
    Regards,
    Jim Schwartz

  • Why does error 200279 occur at high speeds only?

    I am using a VI very much like the one attached here, and as my motor speeds up and the period value decreases, the vi fails, and error 200279 shows up as displayed in the attached 2 jpg images. This VI is reading the period value of an encoder by rising edges.  The error does not show up at low speeds, only high speeds.  Hardware is wired through USB ports on PC.  Using Labview 2012 and Windows 7.
    Do I need to specify the samples per channel for the READ in the case structure to eliminate this error?  The error only occurs when the period gets quite short, e.g. 9ms or so.  At higher period values (slower motor speeds) the error does not appear.  I am using the counters built into the cDAQ9174 chassis  and the NI 9401 module to read the period values of my encoder.  What is happening at high speeds to cause this error?  I thought that the setting on the DAQ Timing VI required that 16 periods are read every iteration, so, why is it saying that it is trying to read samples that are no longer available?
    Also, is the "Append Array" building up a large array that is being carried in the SHIFT REGISTER and causing things to slow down?  There are a huge number of periods occuring with an encoder at 120 ticks/revolution.  should I try to keep this array truncated or something to reduce the size of the data being handled for each iteration?  Can this large array be causing the 200279 error?
    Thanks,
    Dave
    Attachments:
    forum JUly 18.vi ‏26 KB
    error July 18.jpg ‏45 KB
    error July 18 part 2.jpg ‏49 KB

    I think there's a combination of things that could be contributing.  I don't have time for a full explanation right now, here's some quick mods I did to the code you posted.  Essential changes are:
    - made separate loop for collecting data into a big array.  (Maybe you can consider dumping to file instead of growing an array in memory?)
    - used a queue to transfer data between loops
    - increased the buffer size dramatically while still calculating average of only the most recent periods
    - reduced the acquisition loop rate -- expect to retrieve more data points per iteration
    There are a couple other things I'd probably add or change with more time, but this minimal set of mods should help some.
    -Kevin P

  • Unabel to processes application with high memory image

    Hello every one 
    In one of my application i am loading 8mb image into 2d picture control and i am doing some operations on it . 
    This is working perfectly but when i am using high memory image like 30mb the performance i.e in terms of speed got slowed down .
    So how to increase the speed of the application

    Nagaa,
    When you write "mb" do you mean megabytes?  The typical usage in English is MB. Lower case letters technically would refer to millibits which of course does not make any sense.
    A 30 MB image, assuming 4 bytes per pixel, is 7.5 megapixels. In a square image it would be >2700 pixels on a side. Unless your picture control is that large - which is larger than most screens - the data has to be reduced to the number of pixels in the control. LabVIEW or the OS or both will do those reductions, but you have no control over how much time it will take.
    The other thing which can slow processing is creation of extra data copies in your operations.
    Without seeing your VI, I cannot make specific recommendations. In general:1. Make the image size match the picture control size and 2. Avoid extra data copies.
    Lynn

  • How do I use the High Speed Data Logger with multiple I/O devices?

    I am using the High Speed Data Logger vi to read from a 16 channel A/D card (NI PCI-MIO-16E). The project may require more than 16 channels. How can I use High Speed Data Logger to read from two A/D cards? Will it be able to write the data to one file?

    The High Speed Data Logger vi will not acquire and right to multiple DAQ boards at the same time without modification. LabVIEW is more than capable of doing this what you are trying to do, but you will have to modify the code.
    Regards,
    Anuj D.

  • Advice on buying camera for stills and high speed video

    Hello video pros,
    I'm a music composer who occasionally dallies with some simple photographic and video work. I'm looking for some advice re picking up a camera to make some simple videos, but with the highest quality I can get with consumer grade gear.
    I am pretty much ruling out consumer grade camcorders for two reasons:  One is that I want to be able to shoot high quality stills and make stop motion videos from very high res stills.  The other is that I don't need audio recording at all because the video will always be just to accompany music - simple music videos basically.  So I'm much more interested in the recent mid range point-and-shoot bridge cameras with full HD video modes rather than camcorders - they seem to cover more realistically the range of things I want to do.
    My main question is regarding shooting at higher frame rates than 30 fps. I'd like to shoot video at a minimum of 60 fps (or higher) to then playback at 25 fps to get that smooth, slightly dreamy motion effect. There are a few cameras out there that offer high speed video modes, but most are nothing more than a gimmick because the res is so low that the resulting video is unusable.  However a few cameras now seem to hit a sweet spot, offering 60 fps recording at HD res, and also 120 fps at 640x480 which (at a pinch) is usable, at least for stuff destined for simple web use.
    The cameras I've narrowed it down to so far seem to be the Nikon Coolpix P500, the Panasonic Lumix DMC-FZ40 and possibly the Fujifilm HS20 EXR.  I also was vaguely interested in the Casio Exilim HS cameras, but they seem to only offer high speed video modes that are pointless - 1000 fps at a completely useless low res, and 120 fps only at 640x480.  The others I listed seem to offer at least 60 fps at some kind of HD res, so I'm assuming that with these cameras I could shoot decent looking video which would then play back with that slightly hyper real slow-mo effect when I import into FCP at 25 fps.  Is this correct?  Or is it the case that when they say HD video @ 60fps, it's some kind of interlaced mode which means you can't play back at a slower frame rate to get smooth slow motion?
    The other thing I've noted is that all of these cameras do record HD video, but it's always compressed in H264 format.  I understand that this puts a serious limitation on how much post-processing you can do to the video afterwards.  Highly compressed video will begin to show image artefacts very quickly when you apply effects as opposed to higher quality (bigger file size) video compression.  But I think I can live with that given that for the stuff I want to make, it will just be simply edited and only lightly graded.  However, of the cameras I'm looking at, the Lumix also records in a format called AVCHD which (I think) does full HD at 17 Mbps.  Does this mean that it's basic video quality is significantly better than the other choices?  That said, from the specs it's unclear if it actually allows shooting at higher frame rates which you can slow down at playback.. the way it describes 60fps mode makes it sound like it's just interlacing so you don't actually get a higher number of images per second to then be able to play back at a lower frame rate.  This for me might rule it out because I really want the creative effect of high speed video, even if it's only the subtle effect of 60 fps slowed down to 25.
    So in summary, I'm looking for a camera capable of creative shooting (high quality stills to make stop motion videos, usable-quality HD video along with at least some degree of high speed video at a resolution that is still usable) to make interesting and artistic footage to accompany music.  The destination medium is the web, so even though I'd like to get the best quality raw material to work with, the final destination is not exactly a cinema screen.  As a pro in a related industry, I'm all too aware of the pointlessness of buying outlandishly over-specced gear that is far beyond your level of expertise.  So I want to keep it simple and realistic, budget-wise, given the level I'm at.  Nothing more than say $800 US.  A seriously high end camera would be wasted on me, and I think it would be wiser to invest in useful accessories like a steadicam merlin and decent tripod rather than blow loads of cash on a camera far beyond my skill level.
    Apologies for the long post, any and all advice would be very welcome and appreciated!  And feel free to correct me if my assumptions are wrong, and suggest any gear that I should consider looking at.

    Hi, thanks for your input.  I'm aware of the fact that my question is a bit OT, but I'm just looking for input from people with more experience and broader information in this area than I have myself.. I know people are here to talk about FCP, but I'm betting many editors and film makers who work with FCP will have more insight in this area than I do.
    I've been reading every review I can find at dpreview, and also am watching as many test video examples I can find on the internet, mostly on vimeo because the ones on youtube look pretty awful.  I just am reaching out to get some actual experience and advice from people who might give me pointers on what to look out for.
    As for 60fps not being fast enough, I know what you're saying.  But for me, even 60 fps slowed down to 25 fps on playback is enough of an interesting effect, as long as the actual quality of the footage looks good to start off with.  I like the subtle effect of slightly slower than real motion when it's real, bona-fide high frame rate slowed down.  Artificially created slow-mo using plug ins looks cheesy to me, and the gimmicky super high frame rates of cameras like the casio exilim (where the resolution looks like a mobile phone video from ten years ago) are completely useless.
    I've seen lots of examples on vimeo of stuff shot with DSLRs from Canon and Nikon at 60fps and then played back at 25 or 24, and it looks plenty nice enough for what I'm after.  But am I kidding myself that I'd get anything near as nice with the price range I'm looking at?

  • After installing Mountain Lion on my 17" MBP G-RAID mini connected via Tempo SATA Edge ExpressCard34 is no longer recognized. I restored icon and access by removing 34 card and substituting FW800 for eSATA. Any fix for the higher speed connection? TIA

    After installing Mountain Lion on my 17" MBP G-RAID mini connected via Tempo SATA Edge ExpressCard34 is no longer recognized. I restored icon and access by removing 34 card and substituting FW800 for eSATA. Any fix for the higher speed connection? TIA

    Looks like the Silicon Image drivers were moved to the incompatible software folder during install/upgrade.
    Downloaded latest drivers, errored out of install claiming that the drivers were from an unknown author!!!
    Emailed their tech support this evening describing problem.

  • Timeout errors when using high speed camera.

    Hi all.
    I'm currently trying to capture images using a Mikrotron EoSens MC1363 camera at high frame rates >500fps. The issue arises when the region of interest (ROI) is decreased in the microtron software (of which screenshots are attached). The ROI must be dropped in order to increase the fps. When MAX is opened and configured to match the camera settings, and grab is initiated, the timeout error occurs. I've attached screenshots of the mikrotron software, max settings, the error and PC used. The OS is windows 7 64 bit. We use the camera config file for the mono version of the camera which i've been informed will cross over to satisfy the colour version we use. Any questions feel free to ask. Thanks.
    Attachments:
    errors.docx ‏3016 KB
    997-EoSens 3CL-MC1362-Manual.pdf ‏1209 KB

    Hi Dom.
    As you said the maximum frame rate with the ROI set to 1280 x 1024 is 505fps but according to the general information for the camera series:
    The Mikrotron EoSens camera series features extremely sensitive high-speed
    CMOS sensors available in monochrome or in colour with a resolution of 1280 x
    1024 pixels and capture rates of 110 or 500 frames per second. Depending on
    the model the image data is transferred in 8 or 10 bits via either CameraLink
    (Base, Medium or Full) or Gigabit Ethernet.The region of interest (ROI) can be
    freely selected, and the cameras can achieve even higher capture rates up to
    120,000 fps when the ROI is reduced
    Therefore it was my thought that by reducing the width of the ROI increased frame rates may be reached. Realistically we're looking for as high frame rates as possible so that the camera has capability to pass between projects. Currently the moving object enters and leaves the ROI within a 4 frame window, so frame rates of up to 1000fps would generate more data. Naturally, a point will come where the data cannot be physically written as fast as it is generated (>600MBps). Therefore it would be useful to get a handle onto why the error occurs as well as methods to fix it. Hopefully the problem is being discussed between NI and Mikrotron and we may have some answers in the near future.

  • Counting TTL pulses at high speed

    Hi all,
    I am using PCI-6221 board with DAQmx to count the number of TTL pulses (which varies in its frequency between 0Hz to 10MHz) at a high speed (200,000 samples/sec.) and I am having a problem when the TTL pulse frequency drops below a certain level.
    I am using CTR0 to generate continuous pulse train at 200kHz frequency to feed to CTR1 Gate input. I verified that the pulse train is being generated fine.
    I am using CRT1 with buffered counting to collect the count for 200,000 samples at a time (duration of 1 sec.). I got the example code (Cnt-Buf-Cont-ExtClk) and pretty much used it as is.
    CTR1 Gate is coming from CTR0 Out, which is 200kHz pulse train with 50% duty cycle, and CTR1 Source is the TTL signal that I am trying to count. At first, I thought that everything was working fine with the Source signal being at around 5MHz. Then, when I had the Source signal down below about 300kHz, I noticed that the program is taking longer than 1 sec. to collect the same 200k samples. Then, when I got the Source signal down to 0Hz, the program timed out.
    I am guessing that somehow the counter is not reading for the next sample when there has been no change to the count, but I cannot figure out why and how.
    Any information on this and a way to get around would be greatly appreciated.
    Kwang

    One thing you can try is to set the counter input CI.DupCounterPrevention property, this setting will filter the input, it is possible that when the ctr 0 is slow then many of the values you are counting become zero as well and are filtered out, since they are nolonger points, the counter will not collect enough points before the time-out occurs and the counter input read times out.  I am not sure if this is your issue but I found out the hard way that this occurs when I switched to daqMX where this feature was added.  Let me know if it worked,
    Paul
    Paul Falkenstein
    Coleman Technologies Inc.
    CLA, CPI, AIA-Vision
    Labview 4.0- 2013, RT, Vision, FPGA

  • Nikon D2x and High Speed Crop

    Just an interesting observation....
    With Aperture and Tiger, Nikon D2x images shot with the smaller MP High Speed Crop (HSC) mode displayed 24 extra columns/rows (depending on orientation) of pixels; thus an image that should be 3216x2136 showed up in Aperture as 3240x2136. The extra pixels included several rows/columns of garish purple and green pixels than needed to be cropped. This is fine for one image, but not suitable for several hundred (such as shot at a sporting event). In addition to the lack of support for .xmp import, this is one of the most frustrating things about Aperture (for me at least).
    With Tiger this could be traced back (I'm guessing) to Core Image in the OS because other apps using it (such as Preview) displayed similar results. I was hoping for better results with Leopard and was disappointed to find the similar side effect. But I just checked and Preview, iPhoto, etc. no longer show these extra pixels in Leopard, only Aperture. My hope is that Apple will address this in an Aperture update in the near future (perhaps a RAW Fine Tuning 1.2 option).

    I doubt that it's the camera, as the issue doesn't arise on exported pics. That said, as there are only two posts on the forums (yours and the one you refer to on the Aperture forum) it's possible that a: this only arises in very limited circumstances or b: it's local to your computer rather than a bug proper.
    Create a new account (systempreferences -> accounts) and make a library there. Import a few pics and see if the problem is repeated there.
    Regards
    TD

Maybe you are looking for

  • Can't display the correct numeric characters in SVG charts with IE5.5 SP2

    Hi all, although I defined the following format model for the number in a SVG chart FML999G999G999G999G990D00 I am still getting the dollar sign and the period, even if my current browser language preference is set to italian (IE 5.5 SP2). Note that

  • How do I make a new folder on Pages in iCloud?

    My Pages in iCloud has many documents which I uploaded one at a time.  How do I create new folders and move the documents into them?  I don't see an option to create new folders anywhere.

  • Dynex 32" Class LED 720p HDTV SKU: 1405381 | Model: DX-32E150A11

    This tv was listed as online only.  I checked throughout the day and it was not yet available to purchase online.  When I finally got it to show a different status, it said sold out online.   When exactly did this go on sale on line and how many were

  • Need info about the alarms in var/adm/messages

    Hi, Please let me know if this error can make any harm in server ot just a notification. Also let me know how can i remove this alarm. genunix: [ID 514117 kern.warning] WARNING: Time of Day clock error: reason [Reversed by 0x1]. -- Stopped tracking T

  • Can you use nested sql statements in jsp??

    HI, I was wondering if you can use nexted sql statements... example... <%@ page language="java" contentType="text/html" %> <%@ page import="java.sql.*" %> <%@ page import="forum.DataAccess" %> <%      // Create a new instance of the DataAccess Class