MATLAB Answers

How to acuire image with Hamamatsu CMOS and NI PCI6220M?

3 views (last 30 days)
Yoichi Watanabe
Yoichi Watanabe on 7 Feb 2014
Commented: Yoichi Watanabe on 14 Mar 2014
Hi,
I purchased a CMOS S8377-5120 with C9001 driver from Hammamatsu. The C9001 driver circuit is connected to NI PCI-6220M. I want to use Matlab 64bits (2013b) with Data Acquisition Toolbox etc.. Does anyone have any information about how we can acquire image/or data from the CMOS using this configuration? I need to know how to program the Matlab script for this purpose. Your help on this matter would be greatly appreciated.
Yoichi Watanabe, University of Minnesota Radiation Oncology

Answers (1)

Andrei Ursache
Andrei Ursache on 13 Mar 2014
Edited: Andrei Ursache on 13 Mar 2014
Hi Yoichi,
Looking at the Hamamatsu C9001 datasheet, the relevant signals are shown in the following diagram:
It looks like the C9001 needs to be provided with a clock signal (CLK) and a START signal, and it will output a video signal (VIDEO) and, a trigger signal (TRIG) corresponding to each pixel, and an end of scan signal (EOS).
With the data acquisition toolbox and an appropriate DAQ device you can
  • generate the CLK, START signals with digital output channels (or counter output channel in pulse generation mode)
  • acquire the TRIG and EOS signals with digital input channels
  • acquire the VIDEO signal (A/D conversion) with an analog input channel
  • you can also use the TRIG signal as a scan clock signal for A/D conversion of the analog VIDEO signal
Depending on your desired CLK rate and your DAQ device specifications, you might be able to have all the above channels in a single DAQ session, and process the acquired VIDEO and TRIG data to obtain the pixel data.
Another approach might be to import the TRIG signal as an external scan clock for a DAQ session with an analog input channel for the VIDEO signal.
You can also contact MathWorks technical support if you are running into any issues with this.
  1 Comment
Yoichi Watanabe
Yoichi Watanabe on 14 Mar 2014
Thanks, Andrei,
The following is two further questions. (1) Certainly I can use two seperate counter output channels for CLK and START. How do I generate single pulse with certain width by using the digital output channel if I do not want to use the counter output channel? What command can I use to do this? (2) For TRIG and EOS digital channels with "inputonly", what command do I use to acquire the data? It seems that inputSignleScan is not sufficient. Can I use startBackground? WHich port/pin# on NI PCI6220M should I connect to? PFI port does not work.
I really appreciate your help. Yoichi

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!