Re: [Itifg-tech] need help configure shutter
Brought to you by:
mastein1
|
From: <M....@go...> - 2008-04-22 14:19:26
|
Hallo,
so lets try to fix it...
At first I need mode debugging output. Please load the debugging
module (as root):
rmmod itifg
modprobe itifg_g
Then please run TWO acquisition cycle of Your program and send
me the output in /var/log/messages.
The interesting lines are those which contains 'itifg'. Please cut it,
because
the file is usually a bigger one.
Hope, the statements are right, because 7.2.1 is rather old...
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 17.04.2008 12:32:31:
> Dear sir,
>
> I am trying to use the external shutter with the DALSA 1M30P CCD. I
> have a uniblitz shutter
> ( Model-LS6T2,VCM-D1 controller)PC-DIG frame graber and itifg-7.2.1
> driver. And I am sucessfull y running CCD in Free run mode without
> any trouble and of course it is on-chip
> shutter mode.
>
> What i want to do is use CCD's SMA Trigger out to trigger shutter,
> which will provide a standard TTL signal output which is high
> whenever the camera is integrating. SMA trigger out is connected to
> the pulse input of the shutter controller.so i used following code
> in fourc terminal to drive the shutter and simultaneosly take image.
> Before running this i changed the CCD to 'External
> Integration/serial trigger' mode.
>
> I used following code in Fourc terminal to check the motion and taking
image.
>
> #### test1.mac#####
> while(input(-1)==""){
> image_par(1,"send","0x82 0x88"); # control register setting to external
mode
> image_par(0,"run"); # Starts Acquisition
> p "test";
> image_par(1,"send","0x82 0x89"); #triggering '0'bit of control
> register(serial trigger)
> sleep(0.04);
> p "test1";
> image_get(0,image); # copies the image
> sleep(1);
> }
>
> here is fourc response
>
> 1156.FOURC> qdo test1.mac
> Reading file "/home/admin/macros/temp/test1.mac".
> test
> test1
> PC-DIG 0: Can't do read() to start acquisiton: Device or resource busy.
> test
> test1
> PC-DIG 0: Can't do read() to start acquisiton: Device or resource busy.
> test
> test1
>
> Here shutter moves properly but no image.
>
> by chnging code,
>
> #### test1.mac#####
> while(input(-1)==""){
> image_par(1,"send","0x82 0x88");
> p "test";
> image_par(1,"send","0x82 0x89");
> sleep(0.04);
> p "test1";
> image_get(0,image);
> sleep(1);
> }
>
> Fourc Response
>
> 1157.FOURC> qdo test1.mac
> Reading file "/home/admin/macros/temp/test1.mac".
> test
> test1
>
> Code runs properly without image, But no error.shutter also moves.
>
> so, i think there is some problem in image_par(0,"run"), or the
> coding but i can't make
> out.How to check, where is the problem?
>
> I did 'debug 128' and run following code & response.
>
> #### test1.mac#####
> while(input(-1)==""){
> image_par(1,"send","0x82 0x88");
> image_par(0,"run");
> p "test";
> image_par(1,"send","0x82 0x89");
> sleep(0.04);
> p "test1";
> image_get(0,image);
> sleep(1);
> }
>
> Response of Fourc,
>
> 1161.FOURC> qdo test1.mac
> Reading file "/home/admin/macros/temp/test1.mac".
> PC-DIG 0: ioctl(GIOC_GE_GET_STATS)
> PC-DIG 0: ioctl(GIOC_CR_SET_STOP)
> PC-DIG 0: Run read() = -1, size = 8404992
> PC-DIG 0: Can't do read() to start acquisiton: Device or resource busy.
> test
> test1
> PC-DIG 0: ioctl(GIOC_GE_GET_STATS)
> PC-DIG 0: ioctl(GIOC_CR_SET_STOP)
> PC-DIG 0: Run read() = -1, size = 8404992
> PC-DIG 0: Can't do read() to start acquisiton: Device or resource busy.
> test
> test1
>
> I don't know what i can say from this......
>
> Please help me out, i am strugling with this for long time.
>
> Thanks and 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
|