Multi-channel imaging using NI frame grabber

We have a IMAQ 1408 being controlled by LabVIEW 8.0.
We wanna setup multi-channel imaging. All the channels work individually. However, when I was trying to show two channels simultaneously, only one channel works, and I got the following error message:
Error -1074397150 occurred at IMAQ Grab Setup.vi
Possible reason(s):
NI-IMAQ: A timeout error occurred while waiting for the specified event. If waiting for an image, verify that all video data is acquired within the timeout period. If waiting for a signal, verify that the signal assertion occurs within the timeout period.
I sometimes also get another error message asking me to assign different buffer to both channels. I understand that IMAQ 1408 has only one analog to digital converter (ADC) to digitize the incoming video. It can acquire from up to four different cameras, but only from one camera at a time. 
I don't mind making the frame rate half. So I'm thinking of showing one channel at a time and make the two channels work alternantly. But I need to know how to confige the channels to make this happen.
Solved!
Go to Solution.

Hi Andrew,
Thanks for the reply! I've read the page. But it doesn't tell me how to assign the buffer.
Please see attached for my code.
Here is another error I got from channel 2:
Error -1074397158 occurred at IMAQ Grab Acquire.vi:10
Possible reason(s):
NI-IMAQ: No buffers configured for session.
Thanks!
Attachments:
grab_dual channel 2.vi ‏63 KB
grab_dual channel 2.jpg ‏41 KB

Similar Messages

  • How to display multi-channel image in the 'proxy'?

    There're many examples to show how to display composite channels in the 'proxy'. But I don't find any example to show how to display multi-channel image in the 'proxy'. I found that I can use PSPixelOverlay to display alpha channel data like this:
    int nSpotChannel = gChannelCount - 4;
    PSPixelOverlay* overlay = new PSPixelOverlay[nSpotChannel];
    for(int i = 0; i < nSpotChannel; i++){
           if( i != (nSpotChannel - 1) )
                 overlay[i].next = overlay + i + 1;
           else
           overlay[i].next = NULL;
           overlay[i].data = gChannelData + (4 + i) * nPlaneBytes;
           overlay[i].rowBytes = gProxyRect.Width() * gDocDesc->depth / 8;
           overlay[i].colBytes = 1;
           overlay[i].r  = 230;
           overlay[i].g = 161;
           overlay[i].b = 174;
           overlay[i].opacity = 255;
           overlay[i].overlayAlgorithm = kStandardAlphaOverlay;
    pixels.pixelOverlays = overlay;
    Then, Seeing red part, it will trigger a new problem, that is how to get the color value of the alpha channel by plung-in itself? It seems that no channel color value info is in FilterRecord.
    If you have other solution, please tell me. Many thanks!

    This is what I've been doing - was just curious if there was a way to see a more cohesive image.
    If the individual EQ plugins are in fact the answer, is there any way to smooth how the Analyzer displays? The image I posted above, all of the tonal curves are very smooth. The analyzer tool shows a lot of peaks and valleys within the overall curve and it's hard to pinpoint each instrument's "sweet spot." Vocals for example are very hard to spot.
    - Morgan

  • Display 16 bit channel images using AGAL3

    I am trying to display dicom images (medical images) which usually have 16 bit  R, 16 bit G and 16 B image channel (for gray scale R=G=B)
    I have read that Context3DTextureFormat.RGBA_HALF_FLOAT can be used to represent the 16 bits per channel but I have not come across any examples or tutorials.
    I am new to agal any pointers will be helpful. Thanks in advance.

    I've had this problem with images saved as 8-bit scans.
    Are you using any compression in the TIFs? I scanned using Nikon Scan 4, cleaned up a bit in Photoshop 7, reduced the bit depth to 8-bit, and saved at TIFs with embedded colour profile using ZIP compression, Macintosh byte order.
    This used to work with Aperture 1.5.6, but with Aperture 2.0 I see a kind of offset pattern, so a vertical line looks like this:
    If export the master TIF, open it in Photoshop (where it looks normal) and save it with no compression Aperture displays it properly.
    (I'm still using Tiger, so I don't think this is an OS issue.)

  • Labview won't believe that my frame grabber board is configured?

    Thank you in advance for any help
    I am new to labview. I am sorry if this is a silly question, but I have worked on it for hours and haven't been able to find the solution.
    I am using a NI-IMAQ PCI-1422 board to aquire images from a Pulnix TM 1020 camera. I can successfully see the camera from both the MAX and IMAQ vision builder. When I go to the DAQ Solution Wizard in Labview it says that "You have no DAQ hardware currently configured," and it sends me back to the Measurement and Automation Explorer 3.0 It looks configured to me and all my attempts to configure it more fully didn't make the system happy so I don't understand what else I need to do.
    Also, where are the instrument driver VIs f
    or this? Do I already have them hidden somewhere or do I need to go and download them?
    Any advice that you could give me would be greatly appreciated.
    -Anita
    Also, in case you are bored, here is an overview of what I am trying to do. I want to write a labview program which will allow me to specify a delay in seconds and then have labview acquire a an image from the frame grabber board and save it to disk, wait the specified delay period and then acquire and save ...

    Anita,
    Since you are using an NI-IMAQ PCI-1422 board you will not be able to use the DAQ Solution Wizard. Your board uses the NI-IMAQ driver software instead of the NI-DAQ software. You will want to use the Vision VIs which can be found by right-clicking on the block diagram and selecting Functions->All Functions->NI Measurements->Vision.
    You can find some LabVIEW examples by checking your LabVIEW directory and navigating to the Examples->Vision directory. You can also find these examples by using the LabVIEW example finder by navigating to Help->Find Example
    I have attached a helpful excerpt from an online knowledge base. The full knowledge base can be found pendocument >here. Please post back if you are still having troubles!
    Craig H.
    National Instruments
    Attachments:
    IMAQ_Quick_Example.GIF ‏24 KB

  • Camera frame grabber to laptop

    Hi everyone,
    I am using a frame grabber connect a camera to a laptop. The camera is Dalsa Piranha2 linescan, it is said that programmable integration time, line scan rate,... and there are commands for this through serial port. Can you show me how to send these command to changes camera parameters?  How should I do that in Labview?
    Thanks
    Hannah

    Hi Hannah,
    if this properties are settable through serial port, you can first check to send this commands through hyperterminal. If this works see the shipped examples "Basic/Advanced Serial Read and Write.vi".
    Mike

  • I am using PCI-6033E IO card and i would like to send 5 volts (high logic ) to the trigger box. the trigger box will trigger the frame grabber card, that i am using for image acquisition.

    i am using PCI-6033E IO card and i would like to send 5 volts (high logic ) to the trigger box. the trigger box will trigger the frame grabber card, that i am using for image acquisition.

    Hello;
    The first thing you need to figure out is the shape of the trigger pulse needed.
    In case you just need a logic high TTL pulse, you can use one of the digital lines of your DAQ device.
    In case you need a pulse train (multiple trigger pulses), you will need to configure one of the general purpose counters to accomplish that task.
    You can find examples in both Labview and NI-DAQ showing how to program your DAQ board to accomplish both approaches.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

  • Converting images from a Matrox frame grabber to LV?

    How can I convert an image captured with ActiveMIL Lite from a Matrox frame grabber to an IMAQ Vision image?
    I grab the image in LV using the ActiveMIL Lite functions. After that I will analyse the image using IMAQ Vision. So I have to convert the Matrox image to a LabView Image.
    Thanks for help

    Uli,
    I believe Graftek Imaging has LV drivers for Matrox frame grabbers. You can call Robert Eastlund at (800) 441-2118 and he will be able to help you.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • Grab images using IMAQ without sending frame request

    Hello,
    When a camera is externally triggered, is it possible to design a *.vi that makes use of IMAQ and grabs images via Camera Link frame grabber without sending frame request signals AND without knowing the external trigger? Just to grab images whenever FVAL, LVAL and DVAL go high. Possible?
    Thanks.

    Greetings, kcin;
    Just to check whether I understood or not, to have the Framegrabber acquire images when the FVAL, LVAL and DVAL lines go high with no other communication between the camera and the host computer? What exactly is the purpose of this endeavor?
    Initially, I do not believe it would be possible while using our IMAQ Driver simply due to the way it is designed; I will look into the matter further and inform you of my findings.
    Cordially;
    Simon P.
    National Instruments
    Applications Engineer

  • How to remove noise on images acquire from Digital 8 VCR to PCI-1409 frame grabber ?

    I have some constant noise in the form of a discontinuous white horizontal line running accross the top of images which were grabbed from a digital 8 video signal. I have tried all the settings in MAX to remove these and have check the integrity of my connections, but to no avail ?

    Kyle,
    I found that adjusting the acqu window did the trick.
    It seems that all the video i have on Digital 8 tapes gives me the same problem. When i use the camera directly to the frame grabber there is no problem.
    In due course i'll try another camera with the Dig 8 VCR and compare these output picture quality.
    Thanks for the advice,
    Fraser

  • NI PCIe-1433 Camera Link frame grabber programming using VC++

    Hello, I have a Basler Camera Link-compatible camera and they use the NI PCIe-1433 Camera Link frame grabber as the image acquisition device.
    Right now, I want to develop some applications on that camera and need to do programming on the NI PCIe-1433 by VC++.
    So I want to know where I can find the software development kit for the NI PCIe-1433. For example, I can control the camera to grab the image by using the different functions(such as imgGrab(), or somthing like that ) from that software development kit.If there are some sample code that would be better.  

    Hi Wrsbj,
    The IMAQ functions that you mentioned are contained in the IMAQ driver, which is used to acquire from Camera Link frame grabbers. I would also check the compatibility chart, to make sure that you get the version you need. As for example programs, you can take a look at this KnowledgeBase article concerning building and running the IMAQ examples in VC++.
    David S.

  • Interfacing with Scion Image Frame Grabber?

    I have a Scion Image Frame Grabber in my PC & am trying to control it via LabView Vision. Scion has no LabView drivers, but has a dll & SDK available. However, their driver expects C++ pointers as arguments & returns ptrs. My thought is to write a cover driver in C++ to shield labview.
    Anyone have drivers for this, or experience with this frame grabber board?

    Thank you for posting on the forums. While National Instrument's driver and native IMAQ support obviously does not interface to third party boards, if your board does include a dll that allows you to control the frame grabber then you may be able to get the board working in LabVIEW. LabVIEW has a few options available for calling dlls, and this is probably the route you will want to go, unless another user already has a driver for this board and LabVIEW available.
    To get more information on calling dlls and interfacing to external code (particularly C/C++ code), then I would start by looking at the "Using External Code in LabVIEW" document. You can find this by opening LabVIEW, going to the Help menu, and clicking on "Search the LabVIEW Bookshelf..." This will ope
    n a pdf document that links to other great resources, one of which is the large "Using External Code in LabVIEW" document. Glance through this manual and then other information/examples on ni.com/support for some help in getting starting in calling DLLs from within LabVIEW if you have never had experience with this before.
    Regards,
    Michael
    Applications Engineer
    National Instruments

  • How can I use all tracks from multi-channel source audio with Multicam clips?

    I cannot figure this out. Working in Premiere I'm prepping for a 2 camera show, with typically 4 to 6 track dual-system audio recorded by the sound guy. I can sync, and make multicam clips any number of ways–whether sync by timecode, sync by audio, or eyeballing–but whenever I edit using the MC clip, Premiere mixes down all the audio channels into a stereo single track, and I cannot pick and choose which audio track from the original to use. With 2-5 people mic'd on lavs, I need to be able to choose which audio is either cut in or heard at any given shot.
    Is there any way to have control in multicam clips over which track of audio gets edited into the timeline, or even: that all tracks of audio get cut in? It's very important for the editors to be able to see waveform (which also disappears for some reason in the mixdown) and pick and choose which audio is heard?
    I'm sure this might be a simple fix, but I cannot get my head around it for workflow purposes for my assistant editors. We need to use multicam, but this audio thing is driving all of us crazy. None of us can figure out how to have a multicam clip and use it with control over what audio is cut in.

    True, but what I need to be able to do is have my multicam sequence in the source monitor, and cut into my working sequence with either just the audio I need from the sound guy's multi-channel WAV, OR cut in all the sound and from then I can just enable or disable what I need or don't need. But also be able to match back to the Multicam source from my working sequence.
    I don't want to have to open the synced sequence, and razor blade the things I need and have to copy and paste into my working sequence in order to have the full spectrum of my multi-channel mono lav WAV files...with their waveforms visible.
    Essentially, I want my Multicam clips to load in the source monitor, and the ability to cut them into the working sequence without it mixing down the audio into a single track with no visible waveform–which is what it is doing currently. Can I choose to edit in either ALL of the tracks of the WAV file along with the camera shot I want, or control which audio gets cut in?

  • Mult-channel PID control using PID Toolkit

    I am controlling the light level in six locations (zones) using light sensors, dimmable ballasts (which respond to a 2 to 10 VDC signal) and the PID toolkit.  In my VI, I loop through 6 times (once for each zone) to control the light levels.  I use the simple PID.vi to determine the next setpoint for the dimmable ballast on the lights.  My problem is as follows, I think:
    The PID algorithm uses past response and the current difference between the measured variable and the setpoint to calculate the next setpoint.  If my understanding is correct, then I am confusing the PID algorithm by calling it with 6 different data sets.  It is almost as if I need 6 separate PID functions, one for each zone. 
    Perhaps I am wrong about the operation of the PID algorithm.  Can someone straighten me out?
    Attached is a snapshot of the VI.  The FOR loop goes from 1 to 6, that is, once for each sensor zone.
    Message Edited by rgentry on 04-29-2007 09:11 PM
    Attachments:
    temp.jpg ‏92 KB

    rgentry,
    The PID has two modes of operation: Single Channel and Muti-channel. The way you developed your algorithm, you are using single channel algorithm with multiple setpoint and variables. This will not work properly since LV will not keep the internal states correct for each channel.
    To fix this, it is pretty simple. Remove the For Loop and provide the whole 1D array to the PID.vi. This will enable the "multi-channel" mode and every time you call your VI, it will keep the internal states for each channel, as if you had 6 different PIDs in parallel. Notice that the interpolation also will work the same way, you just need to remove the build array primitive.
    Hope this helps!
    Barp - Control and Simulation Group - LabVIEW R&D - National Instruments

  • When playing a home video DVD using DVD Player I tried to use the "Controls, Use current frame as jacket picture" facility to create a printable image but with no success. Can anybody point me in the right direction?

    When playing a home video DVD (created on my Panasonic DVD/Hard Disc recorder)  using the Mac DVD Player, I tried to use the "Controls, Use current frame as jacket picture" facility to create a printable image but with no success. I assume that any file created by this action would be stored somewhere in a common format but cannot find any such file. Can anybody point me in the right direction?

    Hi Sinious,
    Interesting to know about 10.8 and Flash. I'll hold off upgrading until they work together. Currently using 10.6.8 at home and same on the Universtity's computers.
    Haven't verified on Windows but shall do later in the week if I can get access to a Windows machine.
    Both the Flash player and the Projector come up not full screen, and if I leave it that way then things work OK as long as I don't make the video full screen (using the full screen button on the skin).
    However if I make the swf or projector full-screen (by using CMD-F or the menu option) then when I click on the menu item to take me to the page with the video on it, instead of a page with a smallish video and back button I get a black screen with no obvious controls. If I then press Escape I get my normal screen back and I am in the page that should have the video but there is not video and the back button does not work. So something wierd is going on here.
    If I make a file without any videos with a similar navigation structure everyting works ok except that when I go full screen I lose the finger cursor when I roll over my buttons (which is also wierd).

  • Has anyone been able to use a DataTransl​ations Frame grabber with CVI? I am trying to use a DT3152 in place of NI1408 frame grabber...

    DT does not provide drivers for this hardware to interface to CVI or LabView. Has anyone had success?

    you can find a LabVIEW driver at:
    http://www.imagemill-tech.com/LvDrivers_.htm
    "Blue" wrote in message
    news:5065000000080000006F1D0000-986697009000@quiq.​com...
    > Has anyone been able to use a DataTranslations Frame grabber with CVI?
    > I am trying to use a DT3152 in place of NI1408 frame grabber...
    >
    > DT does not provide drivers for this hardware to interface to CVI or
    > LabView. Has anyone had success?

Maybe you are looking for

  • Passing procedure name dynalically to DB adapter

    Hi All, We are using 11.1.1.6. We have a requirement to call 8 procedures for 8 transactions. Signature of the procedure is same except the name and each proc has its own business logic. So we want to have one db adapter and want to pass the proc nam

  • Error 800233EF Update Download Problems Error Code 107......

    The update does not want to install. It gets to a percentage download then fails - can you please advise urgently

  • Xcode crash when opening project

    Hi, my MAC book is late 2008 mode with 4GB RAM upgrade. XCode works fine with Snow Leopard. I upgrade to lion recently and install xcode 4.1 from App Store, however, I never been able to open or create any project. It's crash. Here is the crash log.

  • HT5373 why do my previous calender entries disappear on my iphone5?

    Why do my previous calendar entries disappear on my iPhone 5?  Sometimes I have to reference previous appointments.  From January 2014 and before they are gone except for the repeat entries I have made. 

  • Recovered file folders in trash

    these are popping up in my trash far too often. i always close my programs and shutdown my computer properly. what could cause this to happen so much?