09-13-2005 03:54 AM
Yes, of coarse.
I'm attaching a picture we expect from our Laser Scanning Microscope with a lens of (X8). We got this picture when we used this exact system (and exact linses of coarse), only our scanning routine was controlled automatically by a control, and we used another Image Grabbing card.
I'm also attaching an image we're getting now . Third attachment would be our Scope picture of our Video signal Vs H_Sync signal (H_sync is the upper signal, Video is the lower one).
Our system works in the following way: (It does not output a Pixel clock, only H-sync and V-sync (since we've seen that V-sync is not used by the card, we don't use it).
The microscope is controlled by a computer program which sends the following orders periodically.
******************************************************
Repeat
1. Produce a V-Sync.
1.1. produce an H-Sync.
1.2. scan a line (by sampling from x = 0 to x = 10000, when 1 = basic machine step) and send continuously data to analog OUTPUT.
(line scan takes 200 clocks currently. A clock is a basic amount of time).
1.3. go 3 steps up ( y --> y + 3) (it takes 2 clocks currently).
1.4. go back 10000 steps left (x=10000 to x = 0) (it takes 20 clocks currently).
Repeat ( 1.1 - 1.4 ) steps until frame completed, after 480 times (480 lines scanned).
2. Go back to the origin, which is (x = 0, y = 0)
Until Stopped by user
******************************************************
I control machine's speed of line scanning rate manually and produce an H-Sync after each line. Then I connect the H-sync and the Video signals (Which are on separate lines) to an IMAQ 1410 imaging card and work in the "External H Lock Mode" in "Measurement and Automation Explorer" (MAX).
Thank you.
09-13-2005 06:04 PM
I was able to find out more details about the lower end specs of the 1410 board - the PLL does have a lower limit for the H-Sync signal it uses to generate the pixel clock off of. It should be able to go as low as 8kHz line clock rate - however, from what you have described, you have ~1kHz H-Sync signal. Such a slow signal is going to cause abnormal opperation from the PLL and is most likely the cause for your unclear images. If you are not able to speed you acquisition to at least an 8kHz H-Sync signal, you will not be able to grab a clean picture with the 1410. Even oversampling, or setting the pixels generated by the 1410 to be within specs will not compensate for too slow of a H-Sync signal.
Digitizing your signal could be done with a Digitizer board like the PCI-5102 or even with a multifunction DAQ baord like our M-Series (PCI-6220). These boards can be setup with variable clock speeds and re-triggerable acquisitions (which would allow multi line acquisitions). Digitized data can be organized into arrays and then changed into a Image format with the Array to Image.vi that comes with our Vision Development Module - once in the image format, you could perform any vision routine needed.
I'm sorry that there does not seem to be a solution for the 1410. This is a very specialized hardware setup you are using with specs that do not fall into the abilities of the 1410.
Let me know if I can clarify anything further for you or if you have any further questions I can help out with.
09-14-2005 07:44 AM
09-15-2005 04:48 PM
Any of NI's M-Series DAQ boards will have a digitizing rate fast enough for your application and more than enough bit depth (16 bits). The PCI-6220 is the lowest end (does not include any analog outputs - but it doesn't sound like you need any for you application). This board can be setup with a analog input clock rate based on it's internal counters which can be set for any speed up to the max analog input rate of 250 samples/s. You could set the board up to capture each line at a specified rate (since you do not have a pixel clock) and trigger the start of the capture based on your H-Sync signal. The acquisition can be retriggerable, meaning it will capture and digitize the data each time a pulse is received on the trigger or H-Sync line.
The 6220 will accept a differential input. Calibration (or clamping) could be done by sampling the voltage from your system when the output is 0 (or a base level) and then subtracting that value from all of the data you digitize.
The data will be received as an array of double precision values from -1 to 1 volts - which you could then convert to integer values in a 16 bit range - or you can extract the 16 bit value from the 6220 to begin with by extracting "raw data".
The arrays of data can be manipulated and organized into a 2D array that represents your image - the IMAQ Array to Image will convert this into a Image Datatype which can be used in any of the vision processing functions or viewed on the Image Display Control.
Hopefully this gives you a better idea of how this setup would work. Let me know if you have any questions about this approach.
09-16-2005 12:11 PM
09-19-2005 03:42 PM
The PCI-6052 E DAQ Board will work fine to digitize your laser data. It will digitize a single analog input up to 333kHz.
I attached an examples to help you get started - it is a modified version of a Retriggerable Analog Input DAQmx example
I changed the input to acquire 16 bit raw data (you might need to play around with the scaling so that it ranges over 0 to 1 volt rather than -10 to 10v)
I added a small portion at the end to convert the 1D array of acquired data to a 2D array and then to an image.
I have not been able to test this vi - I have no hardware to simulate what you are seeing, however this code should get you started.
09-19-2005 03:47 PM
MarcoPolo:
Isn't the 6025 a 200Ks/sec 12 bit board? I think you transposed the 2 and the 5 and related the 6052's specs
09-19-2005 04:37 PM
09-20-2005 12:57 PM
09-21-2005 03:06 PM
Max working voltage (signal + common mode) | Each input should remain within ±11 V of ground | |||||||||||
Overvoltage protection |
|
Common-mode rejection ratio (CMRR), DC to 60 Hz | |||
Range 10 to 20 mV | 85 dB | ||
Range 100 mV to 1 V | 90 dB |