08-16-2005 07:31 AM
08-17-2005 11:41 AM
08-18-2005 05:51 AM
08-19-2005 02:42 PM
Here is a preliminary document (should be on our website shortly) on how to configure the 1410 for non-standard analog signals.
08-29-2005 12:14 PM
Thank you for your helpful document, Marco !
I can now see an image in MAX (Measurement and Automation Explorer).
As explained in this IMAQ 1410 document, I've made a camera file, using the technique explained there for non-standard cameras. Only, in my case "area scan camera" did not work for me, so I chose "line scan" and it did, but still wrote the error from my previous question:"Error 0xBFF6001F - Cannot detect recognizable video source" after a while, as before. Next, I changed "DetectPCLK (Yes)" to "DetectPCLK (No)", and it now began working smooth.
As I've described before, my system outputs a Video signal, Hsync and Vsync, therefore I work in the "External H Lock Mode". What surprised me was the fact that weather I unplug VSYNC or connect it, it does not affect the image (is this normal ?), as if the IMAQ does not use this.
The questions I wanted to ask are:
A)
When Grabbing or Snapping pictures on MAX, I have horizontal "shifted" lines reappearing on my image. They appear at different locations on it, like "sparks". They seem as if they're a shifted line from another location of the image itself. In addition it happens that I see a "down shifting" of the frames as can be seen on old TV's that are not set correctly to the broadcasted station.
I've tried changing the following parameters (in MAX and in the camera file):
AcquisitionWindow, MaxImageSize, AcqWinHeightRef, AcqWinWidthRef, ClampStart, ClampStop, VCODivider, DPAOffset, LinePixels, LinePixelsRef.
None of this seemed to help. I suspected that there is a connection between HSYNC frequency and the MaxImageSize or maybe other parameters, and that they need to be set in a specific relation to each other. If this is the case can anyone please explain me how to do that ? Or maybe there is a document ? If not, what can cause this "horizontal noise" ?
B)
In the camera file there are additional parameters which I can't find any documentations explaining their functions. This is very crucial for me, since I would not be able to activate my camera had I used only IMAQ 1410 options given by MAX.
Where could I find information about them, their values and form of use ?
08-30-2005 05:35 PM
Yes - changing DetectPCLK to No will allow your board to generate the pixel clock rather than searching for one generated from the camera. Since your camera does not output a pixel clock, this setting would have to be set to No.
The 1410 uses PLL (phase lock loop) when acquiring the image and locks onto the embedded Hsync and Vsync signals of the video feed – separate Hsync and Vsync signals are not required. It uses the timing info to generate the pixel clock needed to capture the image data.
A) Changing the parameters you mentioned:
AcquisitionWindow, MaxImageSize, AcqWinHeightRef, AcqWinWidthRef, ClampStart, ClampStop, VCODivider, DPAOffset, LinePixels, LinePixelsRef
should fix the issue you described - steps 12 through 16 of the previously attached document describe what these changes should do.
I would imagine, from what you described, that a "down shifting" would occur from having too small of a acquisition window height or too much of a top offset. Horizontal shifted lines might be occurring because of too small of a window width is specified or too much left offset (or too little).
As the attached document described, it is an iterative process to get the 1410 to generate a matching pixel clock to what your camera is using.
B) Creating custom Camera Files is not fully supported at this time and there is little documentation available that describes the setup and usage of the additional parameters you see in your file. If you are still unable to acquire a good pic, you can request a camera file from our R&D department through ni.com/camera (see option 4).
I wish I could give you a solid answer as to what setting is off, however, It is difficult to see what is going on without seeing how the changes in the cam file are affecting the image.
I hope this helps.
09-06-2005 10:48 PM
Thanx again, I now have more control over my image.
I managed to recieve a picture from my Line Scan camera (MAX 3.1.3), but it's all blurred and unfocused. Is it possible that even though my camera outputs a good and focused picture, my IMAQ 1410 is not configured properly and it is the one who causes this ?
If so, what can I do about this, are there any parameters that by setting them right can help ?
Besides the camera file used by MAX, are there other files that are used by it and can be tweaked to change IMAQ 1410/camera properties ?
Regards,
09-08-2005 05:37 PM
I'm glad to hear that you have a better image. It is possible that the 1410 is causing the image to be "blurry" - to quote the previously attached document again:
16. At this point you may need to adjust one additional parameter in the camera file to fine tune the image quality. Open the camera file in a text editor. The DPAOffset parameter controls the phase offset between the pixel clock and the HSync signal. The valid range is 0 to 63, representing 1 pclk cycle. Most video signals give the best image quality with a value close to or equal to 0. Adjust the value of DPAOffset up and down and observe the effect on the image quality. Between each adjustment, save the camera file and reload it in MAX.
09-11-2005 11:44 AM
09-12-2005 05:29 PM
I'm still confused about what is causing your image to be "blurry" - could you attach a "blurred" picture and if possible a good picture (or at least describe what you are expecting)? How was data previously obtained from the microscope? Is it at all possible to output a pixel clock from your system?