Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

This is not a question but an answer

This is not a question but an answer to those who want to capture a VGA like (640x480 60Hz) image from a computer or an automate with a NI PCI 1409.
All following is not documented by NI and they are completely unable to give a coherent answer about this mode of capture.
There are 2 cases: The source is RGB HV or RGB sync in green
In the two cases, you must extract the pixel clock (PCLK)from the video source. On PC or Mac based graphics cards, it resides on the expansion feature connector PIN9, ground on PIN13-14. On other sources, refer to the manufacturer documentation, if exists.
On first case, apply RGB to channels 1,2 and 3 of PCI-1409, Hsync and Vsync between respectively HSYNCIN+ (Pin 16 of IO Connector) and DGND (39-42), VSYNIN+ (Pin 15) and DGND, PCLK between PCLKIN+ (Pin 3) and DGND.
On case of synchronisation in Green channel, extract HSYNC an VSYNC with a simple chip like LM1881 and apply those signals as first case.
This electronic part of the job done, you can launch MAX to configurate the PCI-1409 card.
Slave acquisition mode = External lock
Signal level = TTL
HSYNC = Low
VSYNC = Low
PCLK = Rising
StillcolorMode = RGB
FrameTimeOut = 1000

Channel 0 = RS170
Channel 1 = 60Hz Progressive scan 640 x 480
Channel 2 = RS170
Channel 3 = RS170

Channel 1 properties:

Left ~= 222
Top ~= 28
Width = 640
Height = 480
Click on autoExposure

Advanced properties
ClampStart ~= 120
ClampStop ~= 130
LockSpeed = Normal
AnalogBandWidth = 30Mhz

You may obtain a significant snap of the source but if you lauch a grab, the vertical synchro seems defective.
Don't say that to NI, you are not authorised to do the following actions, secret garden of the manufacturer.

Open with Notepad the file named 60Hz ProgressiveScan 640x480(1409) in directory DATA
Go to the line VSyncdelay = 0 and change to 1
Close an save
Restart an enjoy!
Jean-Louis Bloomfield ( COMPUSAVE)
Message 1 of 3
(3,246 Views)
Jean-Lewis,

Thanks for your feedback! I would also like to post a link to an additional document for connecting to a VGA video card. This is how I have connected to a PC VGA signal in the past so I could get color images and it works great.

http://zone.ni.com/devzone/conceptd.nsf/webmain/5EA39689EDEA904686256AB500739B7A?opendocument

Best Regards,
Chris
NI Applications Engineer
Message 2 of 3
(3,246 Views)
hi jean:
i have a little question about IMAQ 1409 with Progressive Scan CCD ,could you help me?
if you can,could you give me your e-mail address.
my e-mail mafardar@hotmail.com
thanks a lot.
vovo yang
0 Kudos
Message 3 of 3
(3,246 Views)