Re: [Itifg-tech] need help configure shutter
Brought to you by:
mastein1
|
From: <M....@go...> - 2008-04-24 11:50:14
|
Hello,
if You want to have 12bit out of the camera, You have to download
the right fpga-file by hand. The automatically downloaded is 8bit
only.
please try
./config_pcdig p2b1tn00.exo
OR IF THIS DON'T WORK
./config_pcdig -b0 -d 16
and run the test_itifg program again.
Alternatively, You can also advise test_itifg to use only 8bit (-d 8).
matthias
_________________________________________________
Matthias Stein,
GOM Gesellschaft fuer Optische Messtechnik mbH,
Mittelweg 7-8, 38106 Braunschweig, Germany
E-mail: M....@go..., Internet: http://www.gom.com
Tel.: +49 (0)531 39029-0, Fax: +49 (0)531 39029-15
Amtsgericht Handelsregister Braunschweig, HRB-Nr.: 3131
Geschaeftsfuehrer: Dr.-Ing. K. Galanulis, Dr.-Ing. D. Winter
This e-mail is confidential. If you have received it in error, you are on
notice of its status.
Please notify us immediately by reply e-mail and delete this message from
your system.
Please do not copy it or use it for any purposes, or disclose its contents
to any other person;
to do so could be a breach of confidence.
Thank you for your co-operation.
"Shashidhara.Marathe" <sh...@gi...> wrote on 24.04.2008 12:33:25:
> Dear sir,
>
> I have done as you said, and here is the output,
>
> In /usr/local/itifg-7.2.1 terminal as root,
>
>
> [root@203 itifg-7.2.1]# make config
> Building for Linux 2.4.2414dec07 i686 (OS_DEP=osLinux2X)
>
> [root@203 itifg-7.2.1]# make depend
> gcc -M -pipe -Wall -O2 -fomit-frame-pointer -mcpu=i686 -g
-DDEBUG_ITIFG=127 -
> I/usr/src/linux/include -D__KERNEL__ -DMODULE -DMODVERSIONS -include
> /usr/src/li
> nux/include/linux/modversions.h \
> osLinux2X.c itifgMain.c itifgIoctl.c itifgIOP.c itifgAux.c itifgBuf.
> c itifgAM.c
> itifgReg.c icpciReg.c pcdigReg.c amvsReg.c amdigReg.c ampcvReg.c
> amcmpReg.c > .d
> epend
> gcc -M -pipe -Wall -O2 -fomit-frame-pointer -mcpu=i686 -g
-DDEBUG_ITIFG=127 -
> D__CONFIG__ \
> lex.yy.c convert.c procfs.c amvsTok.c amdigTok.c ampcvTok.c
> pcdigTok.c amcmpTok.
> c y.tab.c >> .depend
> gcc -M -pipe -Wall -O2 -fomit-frame-pointer -mcpu=i686 -g
-DDEBUG_ITIFG=127 \
> swtrig_itifg.c config_pcdig.c \
> ioport_itifg.c extime_itifg.c >> .depend
> gcc -M -pipe -Wall -O2 -fomit-frame-pointer -mcpu=i686 -g
-DDEBUG_ITIFG=127 -
> I/usr/X11R6/include \
> test_itifg.c >> .depend
> sed -e '/\.o:/s//_g.o:/' .depend >> .tmpdep; \
> cat .tmpdep >> .depend; rm -f .tmpdep
>
>
> [root@203 itifg-7.2.1]# make
> make: Nothing to be done for `all'.
>
> [root@203 itifg-7.2.1]# MAKEDEV.itifg
> bash: MAKEDEV.itifg: command not found
>
> [root@203 itifg-7.2.1]# insmod ./itifg_g.o
> bash: insmod: command not found
>
> [root@203 itifg-7.2.1]# uname -a
> Linux 203.237.47.31 2.4.2414dec07 #2 Tue Dec 18 11:15:52 KST 2007
> i686 i686 i386 GNU/Linux
>
> I have to add one thing here.
>
> when i compiled driver first time, Gcc was complaining that the
> varaible yydebug was used without declaration. so we commented
> out lines 1055-1057 of "iticonfig.y". Then it compiled fine.
> This wast he procedure we followed from Peter Falus of ESRF,about
> 3-4 years back. will this be a problem?
>
>
>
> when i run test itifg, following is the response,
>
>
> [root@203 itifg-7.2.1]# ./test_itifg -f ./cameras/dalsa-1m30_pcd.cam
>
> Driver version: 7.2.1-0.
> Compilation Date: Dec 18 2007.
> Boards detected: 1.
> Module type board 0: PCDig.
>
> 0 - conffile: ./cameras/dalsa-1m30_pcd.cam
> 0 - savefile: test_itifg
> 0 - save: FALSE
> 0 - display: TRUE
> 0 - wait: FALSE
> 0 - useshm: TRUE
> 0 - match: FALSE
> 0 - lock: FALSE
> 0 - board: 0
> 0 - module: 32
> 0 - camera: 0
> 0 - depth: 0
> 0 - scales: 64
> 0 - buffer: 1
> 0 - frames: 2147483647
> 0 - zoom: 1
> 0 - rate: 1.00
> 0 - opmode: read
> 0 - syncmd: block
> 0 - sacqmd: no special
> Camera_Name: "Dalstar 1M30 fps:30 (12bit)"
> Exo_Filename: "p2b1tn00.exo"
> CAM_MODE_CTL: Camera Mode Control= 0
> EXT_SYNC_PERIOD_TIME: Camera Exposure Time= 40000.000000
> PRI_MIDPOINT_DELAY: Camera Readout Time= 120000.000000
> EXSYNC_MIDPOINT_DELAY: Camera Readout Time= 120000.000000
> HORZ_OFF: Horizontal Offset= 10
> WIDTH_PIXELS: Image Width= 1024
> VERT_OFF: Vertical Offset= 0
> HEIGHT_PIXELS: Image Height= 1024
> CCLK_FREQ_SEL: Camera Clock Frequency Select= 40.000000
> PIXEL_SIZE: Pixel Size= 12
> TRIG_DIVIDE_FACTOR: Trigger Divider Factor= 0
> CameraName : Dalstar 1M30 fps:30 (12bit).
> ExoFilename: p2b1tn00.exo.
>
> Image size: 2097152.
> Image width: 1024.
> Image height: 1024.
> Image depth: 12.
> Source bits_per_pixel: 12.
> Source bytes_per_line: 2048.
> Source pointer: 0x40280000.
> Source offset: 0.
> Destination bits_per_pixel: 32.
> Destination bytes_per_line: 4096.
> Destination pointer: 0x40481000.
> Destination offset: 0.
> 0.0.0.0.0.
> 0.
> 0.
> Broken pipe
> [root@203 itifg-7.2.1]#
>
> Thank you & regards,
> Shashi
>
> Mr.Shashidhara Marathe
> Ph.D student
> #311,Dept. of Materials Science and Engg.
> Gwangju Institute of Science and Tech.
> 1-oryong-Dong, Buk-Gu, Gwnagju- 500712
> South Korea
> Cell: 010-4619-0231
> PH : +82-62-970-2352
> FAX: +82-62-970-2304
|