PCI 1422 how to aquire 12 RGB

Hello,
I an using a PCI 1422 with a non standard camera signal (12 bit RGB).
At the monemt i am able to capture the signal
in 12 bit black and white.
What must be done that i can capture the signal in RGB
(4 bit each color)
If i use 24 bit color depth the the signal will be dislayed in color, but all blue colors are missing.
How are the colors (24 bit) stored in the memory if i use a PCI 1422 wich has only 16 data bus?
What does the binaray threashold value in the camera file mean?
Juergen Dodek
Electronic Developer
mtu-friedshafen, Germany

I can see a couple of possible solutions.
One would be creating a custom cable that separates the 4 bits for each color into separate bytes, with 4 blank bits for each color. This could be input as 24 bit color perhaps. You might need to be using the PCI-1424, though, to get a full 24 bits input.
A second option might be to do the same thing in software. I am not sure if the ICD file has the flexibility to rearrange the bits like this.
Bruce
Bruce Ammons
Ammons Engineering

Similar Messages

  • How can I access the control lines of a PCI-1422 from within C++?

    I would like to know how the control lines of a PCI-1422 can be accessed (set) programmatically from within C++ (MS VC++7, Windows XP). A flat panel sensor connected to the PCI-1422 needs the control lines to switch on features like binning which I want to use.
    Unfortunately I was unable to identify an appropriate command in the IMAQ documentation. Does anyone have experiences with this?
    Thank you very much in advance!

    Kluas,
    The control lines are not exposed through any API. The control lines are run by the driver based on the instructions in the camera files. If the cammera file supports the binning functionality of your camera then you should be able to set the attributes such that the board runs the control lines approriately.
    Hope this helps,
    Amaury
    NI Applications Engineer

  • PCI 1422. Grab an image with 1 pixel height.

    Hello.
    I'm trying to configure my PCI-1422 board to accquire an image from my custom made line scan camera.
    My camera sends a frame of 1 pixel height (24000px width) to the board. Every 1.9msec (so i should get approx. 526 fps).
    The framegrabber recieves 3 signals: data, pixel clock (12.5MHz) and frame valid signal (i connected it to Enable A pin of PCI-1422).
    The issue is that MAX says to me, that the total fps is 263.
    When I try to get image data in my application (c++) i may recieve even less - only 1/4 of total frames.
    Could you tell me how to configure *.icd file to be able to get 526 (24000x1px, 8bit) fps with my camera?
    Is there any problem with my c++ code?
    You may see my application and *icd file attached.
    Attachments:
    llsequence.h ‏1 KB
    llsequence.c ‏13 KB
    MSU_100_A.zip ‏1 KB

    Alvern,
    How many clock counts rae you waiting between frames?  Have you tried decrasing the ROI further?  You got it set 8 pixels shorter than the actual ccd, have you tried setting it 100 pixels shorter?  What about 1000?  I imagine you're interested in preserving as many pixels as possible, but try testing acquisition with shorter ROI's just to see if a sufficiently short ROI will allow you to acquire at the full frame rate.  
    If adjusting the ROI in addition to enabling fast rearm and Non Continuous Line Enable does not allow you to acquire at the desired frame rate are you able to decrease the frame rate?  If so, what frame rates have you been able to acquire at without losing frames?
    Also, though you are interested in continuous acquisition, have you tried snaping a finite sequence of images?  Try snapping a finite number of images and storing them on the frame grabber to see if you are able to acquire at the full frame rate.
    I suspect altering either the ROI, the frame rate, or the acqusition mode and buffering location will allow you to acquire without missing frames.  Would you be able to test these and post your results?
    David A
    National Instruments
    FlexRIO Product Support Engineer

  • Controlling PCI-1422 with Labview instead of MAX

    Hello Experts,
    I want your help in one of my problem. I have a camera from Sensors Unlimited which is SU-640 1.7 RT-D and a NI parallel card PCI-1422. I can use and acquire data with MAX from the camera but I want to operate,use and acquire images from the camera using LabView. Is there any way of exporting or using the camera with Labview instead of writing a fresh code in LabView? 
    Does LabView offer any support or reads automatically from PCI-1422 or any possible solution that I get the block diagram code for using this camera in LabView.
    Please let me know, reply.
    Any help or suggestions will be highly appreciated.
    Thanks in advance!
     

    Nitai wrote:
    Thanks but again it requires writing and struggling with coding and experience on  LabView skills.
    Just wondering something easy. I tried one of the example and it worked actually but I am trying to get more ideas or options to make it look better and impressive.
    You want something and easy and doesn't require any effort on your end?    Hire someone who knows how to program in LabVIEW.

  • Section of the data collected with PCI 1422 card connected to a CCD camera looks step-like

    I am using the PCI 1422 card with a DALSA CA-D1-0128T camera to acquire and save fluorescence data from a heart stained with a potentiometric dye. The camera is set to work at 490 frames per second. My acquisition program (made using a producer consumer loop in Labview 2009) works fine most of the times, but sometimes a small section of the collected data looks step-like (not continuous). I have attached herewith a word document containing a snap of the data. Could you please give me some suggestions as to why this happens and how can I rectify it? 
    Thanks in advance 
    Anuj Agarwal 
    Attachments:
    Doc1.doc ‏123 KB

    Hi Anuj,
    First, this sounds like a very cool application.  What are you measuring? Is it in vivo?
    I believe that I see what you are referring to--is it where your cursor is that you are seeing the "step" problem?  Also, could you give us a little more information aboutwhat type of data we are looking at?  Is this some sort of image analysis data?  
    In terms of code structure, due to the way that LabVIEW handles image data types (it is essentially a pointer to the data instead of the data itself), I wouldn't recommend passing an image via a queue.  
    So, please let me know a bit more about what type of data we are looking at, and what your code looks like, and I'll be happy to help. 
    Cheers, 
    Marti C
    Applications Engineer
    National Instruments
    NI Medical

  • Which digital camera is suitable for the pci-1422

    when i purchase a digital cam for PCI-1422 , what should i focus on, for example: Resolution, interface, depth of color or etc??
    How to classify the a digital cam and how to identify which is suitable for PCI-1422??
    Does anybody have recommandation for me!!??
    thanx!!!

    There are a lot of digital cameras that work well with the PCI-1422.
    Selecting the proper camera depends more on your application than the PCI-1422. You need to look at resolution and frame rate, along with bit depth, color or B&W, etc.
    You will also need to select a lens that matches your application. You might just need a fixed focal length, or you might need a zoom, a telecentric lens, or other possibilities.
    I would recommend discussing your application with Robert Eastlund of Graftek Imaging (800) 441-2118. He will be able to help you select the proper camera and lens for your application.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How can I preserve RGB color within Adobe PDF?

    I'm using Acrobat Pro 9.3.1, OS 10.6, and I'm creating PDF output from Keynote, strictly for on-screen viewing.  I would like to use Acrobat Pro to create a compact PDF file with screen-resolution graphics, however I keep running into problems with color changes applied by Acrobat.
    The document contains bright RGB colors.  It also contains images, some of which are high DPI resolution. 
    * If I use the OS X "Save As PDF..." feature, the generated file is about 32 MB.  Opening the resulting file with Preview, the file looks fine.  Opening the resulting file with Acrobat, though, shows the bright colors in the file as very drab-- almost as though it's been compressed into CMYK space.    Once it's in Acrobat, I can use the PDF Optimizer and save it as a mostly-adequate 10 MB file, but the color issue is annoying.
    * If I use the "Save as Adobe PDF" feature, and save the file with "standard" settings, the resulting PDF file is 27 MB.  If opened in Acrobat, it shows the same CYMK-like color compression, and if opened in Preview, it shows the bright colors.
    * If I use the "Save as Adobe PDF" feature, and save the file with "PDF/A-1b:2005 (RGB)" settings, the resulting PDF file is 50 MB. In both Acrobat and Preview, it shows up with full and correct colors. So obviously Acrobat is capable of handling RGB after all.  But this format is not really compatible-- it throws a warning about viewing in that format, and has all kinds of graphical glitches.  And, the file is even larger than I started with.
    So, what I would like to know is this: How can I set up acrobat to let me produce those nice 10 MB files, without showing the funny color compression?

    p taz wrote:
    Ummm... not quite sure where you get that from, colour managed means converted as per settings in the device or application.  Acrobat preset for PDFX/1a specs a conversion to cmyk.  Other presets include RGB or unconverted and these are chosen by the app or user.
    This is where your problem is, something inside Keynote is applying a conversion.  I was just eliminating the obvious, not just for you but for other, less knowledgeable readers.
    Preview will use the monitor or sRGB profile and the only way to make sRGB or equivalents look flat is to feed it an untagged file that belonged to a very different gamut.
    3. Yes, conversion is happening.  That's what I'm trying to prevent.
    By definition, not converting means UNmanaged..  what you were calling unmanaged before is actually MISmanaged.
    As mentioned, Acrobat, to my knowledge does not convert without being told to.  That instruction comes from the built-in actions of the application in question or a user choice and you may not be able to address the former.  If the former was the case then you might be able to work around by preparing your original file in a small gamut like sRGB and then it doesn't matter what Acrobat does unless you chose an unsuitable conversion at the user level.
    > Acrobat preset for PDFX/1a specs a conversion to cmyk.
    Okay.  That confirms what's going on.  Is there a way to turn this setting off, open the file, and then save it?
    >This is where your problem is, something inside Keynote is applying a conversion.
    No, actually keynote is irrelevant.  You can blame it and its color mismanagement all day, but the fact is that the change happens when it's opened in Acrobat with the default settings.  We know this because PS or PDF generated by keynote shows up okay in Preview or in that RGB PDF generated by distiller.  It's absolutely unambiguous.  I know that Acrobat is capable of converting the file without converting the color because it can make that RGB PDF.  I know that my monitor isn't totally whacked because if I view that same "RGB PDF" on a different machine and/or OS, it look fine there too.   But what I want to know is how to create that "RGB PDF" without the crazy bloat and iffy file format.  There must be some settings that can be applied in Distiller to get this done. 
    From the suggestions that have been made here, it sounds like not many people have actually used recent versions of Acrobat Pro or Distiller on the Mac. (Options like "Email Files" and "PDFX4 2008" aren't there, converting PS files appears to broken, print to PDF is broken....)  That's okay, I don't expect you to know everything about this.  But, telling me just to not use the color blue or that my other programs are to blame isn't exactly helpful either.  Am I asking the questions in the right place? Is there some Adobe tech support venue that's more appropriate?

  • Raytheon 2000b camera with PCI-1422

    I am trying to use a Raytheon 2000b camera with PCI-1422. I have downloaded the attached doc and icd file from NI.
    1. As far as I now there is no proper NI cable for my camera, but the pinout is described in the doc file. I would like to purchase a cable, and solder a connector on it for my camera. Which cable should I choose, if I need the following pins on the PCI-1422 side: 1-32, 41-46, 49-50, 93-94, 99-100?
    2. The icd file supports image acquisition only, attribute settings via serial line are not contained. I would like to add this feature, but I could not find any description about the icd files. Where can I find a document that would help me?
    Attachments:
    Raytheon_2000b_Pinout.doc ‏74 KB
    Raytheon_2000b.icd ‏3 KB

    My problem is solved now.
    But I don't know what is the exact solution.
    The camera & cable provider and me tried as below.
    try-1. connecting tm-1320-15 and 1422 with serial-enabled cable
    try-2. changing 'OnBoardClock(20)' to 'OnBoardClock(25)'
    With only 'try-1 ', it failed. but additional 'try-2' we could snap and grab the camera image.
    And now, I can get images without serial-enabled cable, regardless of OnBoardClock speed.
    I think the camera has been initialized with max's parameters(same as icd file) when the serial commnunication had enabled for the first time.
    (I'll verify this assumption with new tm-1320-15 later.)
    Thank you.
    Tip : If tm-1320-15 and 1422 makes error because of parameter mismatching, reset the tm-1320-15's power.

  • PCI-1422 Windows7 32bit Problems

    I have a legacy program that I am trying to port from WindowsXP to 32bit version of Windows7.  This program is based on the PCI-1422 frame grabber.
    For historical purposes, I have to use NI-IMAQ version 2.5.3, which installs version 2.0.3.17 of NI-MAX
    From a clean build of Win7 x32, I can install NI software, and the old application which creates correct camera definition files.
    When I add the frame grabber card, Windows device manager is happy... the card is correctly identified and seems to use driver files which match the old WinXP install.
    When I look at the card with NI-MAX, the camera correctly appears in the configuration list.  If I highlight Channel 0 device and run 'Diagnostic' all tests seem to pass correctly.  (Again the displayed output matches the results from the same operation on the old WinXP box)
    However if I try to 'Snap' or  'Grab' a frame, I get the following error box:  Title = 'Acquisition Error'   and there is NO TEXT in the error description, only a yellow ! warning icon.
    (The legacy program performs all controlling functions via two other PCI cards, but halts when trying to grab a frame as well.  The above behavior can be seen with or without these additional PCI cards)
    I have tried both installing and executing the EXE files with or without 'Run as Admin'  and/or 'WinXP SP3 compatibility mode'.  In some cases, the available camera list disappears, but nothing I have done has been succesful at grabbing a frame from the camera.
    Any suggestions about compatibility and/or why the error box is missing all text?
    Thanks in advance,
    Jim

    Good questions...
    I have been asked to 'upgrade' a commercial system that was developed 10 years ago.  The system works currently... an XP based system with old frame grabber.   I was asked if I could upgrade the PC, because of concerns of PC failure with a 10 yr old box.  We found a new motherboard that supports the necesary 3 PCI slots for frame grabber, and newer CPU of course.
    The question remains however, can we migrate to Win7, or...   do we try to install WinXP on the new PC hardware, with the older interface cards.  To add to the difficulties, the original company than produced the software is no longer in business.  Fortunately I have remained in contact with some of the developers that are giving me some support, but they haven't supported the product for years either.
    The basic issue remains...  hardware and software that worked on XP, has been migrated. The devices appear in some sense to be detected correctly.  But the critical important issue, grabbing a frame from the camear, fails.  What can be done?

  • PCI-6281 How to use80 mHZ timebase for A/d and D/A sample clocks

    Does anyone know how to use the 80 mHZ internal clock as the timebase for my A/D and D/A sample clocks rather than the default 20 mHZ timebase?
    I am using straight NI-DAQmx version 8.3 with C code. No Lab View, no Measurement Studio.
    I have an application which uses the D/A to generate a sequence that is collected by the A/D.  The D/A is clocked out at an integral multiple of the A/D clock.  In order to maintain this integral relationship I can only use a limited set of Sample Clock Timebase Divisor pairs (as returned by DAQmxGetSampClkTimebaseDiv).  This means that am further from my desired base frequency than normal.  For example, using the degault 20 mHZ timebase, if I want a 2000 hz center fequency, the closest I can get is 2003.205 hz.
    I cannot find anyway to use the 80 mHZ internal clock as the timebase for my A/D and D/A sample clocks.  If I could, it would be possible to get closer to my desired center frequency.

    Post is responded to in the multifunction DAQ forumn.
    PCI-6281 How to use80 mHZ timebase for A/d and D/A sample clocks
    Have a good one.
    Michael D
    Applications Engineering
    National Instruments

  • Failing to detect NI PCI 1422

    I have been experiencing a unique problem with the NI PCI 1422 board. After the first install, everything runs fine. However, after some period of operation, errors appear. Then if the board is ever physically removed from the PC, it will never be detected again.
    I am running Windows 2000 Pro, on a AMD XP2100+ with 512Mb PC2700 DDR, and have tried several different motherboards. When you replace the motherboard, the card will be detected but only the first time the system is booted up. From then on it is non-existent. I have tried reinstalling everything, flashing the bios, reinstalling from a drive image where it works etc.
    I have built an identical system that works fine. I am fairly sure the framegrabber is not faulty, as I have tr
    ied replacing that also (to no avail).
    Anyone got any suggestions?

    What do you mean not detected? Is it not detected in the Windows Device Manager or in MAX? If it is not detected in Device Manager then you should check that computer BIOS and make sure PnP is enabled and PCI Bus Mastering as well. If it is not detected in MAX try hitting F5 (refresh).
    What version of the driver do you have? I suggest you have the latest one, 2.5.5.
    If Device Manager does recognizes the board you may want to uninstall it from there and then click the refresh button inside Device Manager as well. And see if that recognizes the hardware.
    Nestor.
    Nestor
    National Instruments

  • How do you use RGB And CMKY colours in the same document for print?

    I want to create a piece of work with a navy blue back ground and a font on top but don't want to change the colour just the RGB to CMKY mode so the colour looks slightly brighter sitting on top. I have seen this printed out in black and looks amazing but don't know how to create it. Could someone please help?

    Sophie,
    Your File>Document Color Mode (along with the Edit>Color Settings) determines how the colours are interpreted, more specifically fitting it into the colour gaumt in question. CMYK Color (Mode) had a narrower gamut of less bright colours, RGB has a wider gamut of more vivid colours.
    Your Window>Color palette expresses the colours in terms of your chosen combinations of CMYK or RGB (or a few others) values, which are then interpreted by the colour mode.
    This means that you can have four combinations: you may insert CMYK values in both CMYK and RGB mode, and you can insert RGB colours in both CMYK and RGB mode.
    You will find that most CMYK/RGB values will change once saved, owing to the fundamental differences between the two colour modes.

  • How can I convert RGB Color to Black-White Color?

    Dear everyone!
    I am using Photoshop CS5. I have got a file from my customer which is done as RGB and the resolution is 300dpi. There are black texts and color images in the file. I wish to print Black-White Process Film (1 black color), but I don't know how to solve it. I started converting my file to Grayscale and then the black texts are not black enough because it becomes lighter. When I go to Level and adjust the color, both the image and texts becomes darker. What must I do to make only texts blacker without effecting the image?
    Please find the attached file for the reference.
    For more information, please let me know.
    My Best Regards,
    LUCK

    luck_lesson wrote:
    ...I have got a file from my customer which is done as RGB and the resolution is 300dpi. ..
    What file format was supplied to you? Was it truly RGB @ 300ppi or did you rasterize a PDF?
    300ppi is lousy for text. You might converse with your customer to instruct them on the ideal way to supply a file to you.

  • How do I fix RGB "info" pointing in color table customizer?

    When I hover my cursor over a cell in the color table customizer, the "info" panel is supposed to show the RGB values of that cell (there's 256 cells, one for each color). Which cell the cursor is pointing at for this RGB info purpose is supposed to be determined by the upper left corner of the mouse cursor, that is to say, where the is the "point" of the arrow cursor is. Unfortunately the RGB info is being shown for the cell near the middle or lower right portion of my cursor, and not the upper left point. However the upper left point of my cursor DOES properly select the color when I click on the cell and it brings up the color picker dialog box). Does anybody know how to fix this for the "info" panel's interaction with pointing at the color cells of the color table?
    I'm working with a fresh install of the 32bit version of Photoshop CS6, and my OS is Windows 7 Home Premium x64 (mentioning my OS, just in case my OS somehow has some effect on this).

    When I hover my cursor over a cell in the color table customizer, the "info" panel is supposed to show the RGB values of that cell (there's 256 cells, one for each color). Which cell the cursor is pointing at for this RGB info purpose is supposed to be determined by the upper left corner of the mouse cursor, that is to say, where the is the "point" of the arrow cursor is. Unfortunately the RGB info is being shown for the cell near the middle or lower right portion of my cursor, and not the upper left point. However the upper left point of my cursor DOES properly select the color when I click on the cell and it brings up the color picker dialog box). Does anybody know how to fix this for the "info" panel's interaction with pointing at the color cells of the color table?
    I'm working with a fresh install of the 32bit version of Photoshop CS6, and my OS is Windows 7 Home Premium x64 (mentioning my OS, just in case my OS somehow has some effect on this).

  • How to find the RGB Values of a Color for Hyperion

    When customizing your Hyperion forms, we come across situations where we need the exact RGB value of a given color. This article explains a simple technique to find the RGB values using MS Paint and the Calculator applications that come as standard applications with your operating system.
    Here are the steps to find the exact RGB value of a given color.
    1) View your Hyperion form using IE, scroll down until you see the color you want to find the RGB value and press the "Print Screen" button (in your keyboard).
    2) Open MS Paint and click Edit -> Paste or simply Ctrl+V. What you saw in the browser will be copied as a new untitled image.
    3) Select the Color Picker tool and click on an area that has the color you want to match.
    4) Now go to Edit Colors... option and click on the "Define Custom Colors >>" button. The color you picked will be selected on this palette. At the bottom right hand corner you will see the Red, Green and Blue values you need. Note down the R,G,B values (given in decimal).
    5) Now we need to find out the hexa-decimal values that correspond to those decimal values. This is where we use the simple Calculator. Open the Calculator application from Program -> Accessories. Switch to the scientific mode by clicking View ->Scientific.
    6) By default it will be in the decimal number mode. Enter the R value (238 in this example) and click on the Hex radio button. The corresponding hexa-decimal value (EE in this case) will be shown in the dial.
    The selected color in this case has the same value for R, G and B. (In fact, all shades of gray has the same values for R, G and B.) Therefore, the RGB value of the background color that we need is #eeeeee. Repeat step 6 to find out the hex value for the Green and Blue elements, if they are different.
    Tip:
    If you find it difficult to pick a color, zoom the image by pressing Ctrl+PageDown or using View -> Zoom -> Custom... option.

    These tips are to find the RGB color of HFM default row where row is text and text lines in data columns are also visible to business users as Yellow as an input cell. By applying the same RGB color you can apply the same color to your data cells or rows. This post shows how to identify color from any web view-able object.
    Regards,
    Manaf

Maybe you are looking for