ImagePro>Re: How to control Camera Shutter using IPP?


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

ImagePro>Re: How to control Camera Shutter using IPP?



At 04:51 PM 10/28/2002 -0500, you wrote:
>Hi, All:
>
>I want to use IPP to make the camera shutter click. This camera is 
>old version of Kodak CCD as follows: a Kodak Magaplus 1.4 CCD 
>Camera is cable connected with a Kodak Magaplus Camara Control 
>Unit(CCU). The Frame Grabber is EPIX(R) D PCI Digital Video 
>Capture Board. Can you give me some suggestions If anyone has 
>experiences about the IpBasic code programming for this shutter 
>control, Thank you.
>


Jianjun,
The easiest way is to record a macro. Load the EPIX XCAP software, 
load IPP then start recording a macro, drop down Acquire / 
video/image and click on snap. Stop the macro recording. The 
Shutter control must be "on" and the Mode must be "trigger" on the 
control unit.

In my case I got this:
ret = IpAcqSnap(ACQ_NEW)

I enhanced it a bit and used in VB6 code to automatically acquire 
and save the image when the appropriate time and temperature (!) 
was reached on a hot stage:

      If PreviewFlg = True Then                    'Should be set 
when live image is being displayed
         ret = IpAcqShow(ACQ_LIVE, 0)       'Stops the live image
     End If

     ret = IpAcqSnap(ACQ_NEW)           'Snaps a new image and 
displays it in a new image window
     ret = IpWsSaveAs(FileName, "TIF")  'Saves image as tif under 
value stored in variable FileName

     If PreviewFlg = True Then
         ret = IpAcqShow(ACQ_LIVE, 1)       'Restarts the live 
image if it was running before
     End If

Hope this helps,
Jay


***********************************************************
This message was sent to you because you are subscribed to <imagepro-users@lists.mediacy.com>.
TO UNSUBSCRIBE, send an email to: <imagepro-users-off@lists.mediacy.com> 
To switch to the DIGEST mode, email to <imagepro-users-digest@lists.mediacy.com>
To switch to the INDEX mode, email to <imagepro-users-index@lists.mediacy.com>
Send administrative queries to  <imagepro-users-request@lists.mediacy.com>
To SUBSCRIBE or UNSUBSCRIBE visit http://www.mediacy.com/tech/subscriber.htm
***********************************************************
Need an Image-Pro macro or driver? Find it at http://www.Solutions-Zone.com
Got an Image-Pro macro or driver? Add it to http://www.Solutions-Zone.com
***********************************************************



Search this Archive