Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I program my imager to take longer samples using labVIEW?

What I would like to be able to do is to use LabVIEW to program my external hardware to take a sample length of a specific time. I would also like to be able to find out how fast my Imager is sampling at, kind of like using the program as an oscilliscope to read the sampling rate of my hardware.

Any advice would be much appreciated.

Thanks,

Brian
0 Kudos
Message 1 of 4
(3,215 Views)
Brian,

Are you using IMAQ hardware? If so, what are you using and what do you have hooked up to it?

If you want to see the actual signals coming from a device, you will probably be better off using a scope card or high speed DAQ card. The amount of signal analysis you can do with IMAQ cards is very limited. I'm not even sure if you could get it to measure and output the clock speed for your pixel clock.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 2 of 4
(3,215 Views)
Bruce,
I have a PCI-1424 Image Aquisition board, and it is connected to a KLI-2113 Kodak imager. The reason that I was thinking that I could get some kind of clock reading from the Kodak imager is that In the graphs, (I will send them), in some of them you can definatly see a pattern, exspecially if you leave the points on the chart and run another cycle, they almost mimick the previous results. What I would like to be able to do is to see how long each one of those cycles are running. The graphs time axises are messed up because If I have it one way I get like 295 and if I transpose it I get 79, (as you can see in the graphs). I think those are how many samples that are comming from the board but in some instances you can see th
e exponential grades on the graphs and charts which leads me to believe that somehow the CCD chip is reading the collected charge in samples starting from the left to the right, (or the other way). I want to know how it is reading it, how long each sample is and how to collect either x amount of samples or y amount of time for each sample. Also it is interesting to note that the sampling on the x axis stay the same no matter where and how the light is shown onto the CCD chip.
Anyways, I will attach the graphs so you can see what I mean and I will also attach the KLI-2113 Manual. I really appreciate your help Bruce,

Brian
Download All
0 Kudos
Message 3 of 4
(3,215 Views)
It still isn't clear to me what you are trying to do. I don't have the time to dig into the KLI-2113 manual to figure out the details.

If I understand correctly, your imager is returning an image that is 79x295 pixels. The size of the image has nothing to do with time, which confuses me when you refer to plotting vs. time.

Do you have a lens on the imager? The results always make much more sense when there is a lens to create an image. You can tell if the image is upside down, reversed, dark, light, etc. Using an IMAQ image display can help also.

It almost looks like the CCD you are using only has about 64 active lines, and the last 15 are just garbage values that are close to zero.

The only standard way to control the integrati
on time and other parameters from LabVIEW is by using serial communications. You can either use the built in serial lines on the 1424, or use the PC serial port. From a quick browse through the KLI-2113 manual, I wasn't sure if any serial control is available.

Good luck trying to figure it all out.

Bruce
Bruce Ammons
Ammons Engineering
0 Kudos
Message 4 of 4
(3,215 Views)