02-22-2007 11:20 AM
02-27-2007 11:50 AM
Hi,
There is actually a camera file already created for your camera. You can download it here http://sine.ni.com/apps/utf8/nipc.product?pid=6645
But it looks like you have the tap position figured out, but here is a short explination of the other functions you asked about.
The RepeatSource function should only be used in line scan cameras. It repeats the generation of lines at a particular rate. The rate is specified by the second parameter. The unit is clocks. RepeatSource sets a minimum period for the overall pattern generation cycle. For example RepeatSource (Fixed, 1000) if no pattern generation lines have a pattern length of over 1000 timebase units, the pattern will repeat every 1000 units. If a pattern generation line has a longer pattern, the PG line determines the repeat rate.
The Clock function is a key to indicate that instead of using the incoming pixel clock from the camera as the timebase for the pattern generation, we will be using the 50 MHz crystal oscillator on the board. It is recommended to always use this setting (or its hex equivalent : Clock (0x78)) rather than the pixel clock. This will guarantee consistency and often times makes calculations easier.
I hope this helps. Keep me posted.
Have a great day
GG