comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Frame Grabber
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Frame Grabber [message #19081] Fri, 25 February 2000 00:00
Volker Carl is currently offline  Volker Carl
Messages: 3
Registered: September 1999
Junior Member
Anybody out there with experiance regarding IDL and frame grabber
support? I want to get my camera data into IDL via grabbing. Who can
help me.

thanks in advance
Volker Carl
Re: Frame Grabber [message #19150 is a reply to message #19081] Fri, 25 February 2000 00:00 Go to previous message
Mark Rivers is currently offline  Mark Rivers
Messages: 49
Registered: February 2000
Member
Volker Carl wrote in message <38B6279F.BFE2F9E5@cityweb.de>...
> Anybody out there with experiance regarding IDL and frame grabber
> support? I want to get my camera data into IDL via grabbing. Who can
> help me.

This can be done in 2 different ways:
1) Write an IDL device driver for the framegrabber. I did this years ago
for a VAX Q-bus based framegrabber. The advantage of this approach is
that you can use the standard IDL routines like TV, TVRD, PLOT, TVLCT, etc.
to read and write the device. The disadvantage is that it is not trival.\

2) Use CALL_EXTERNAL to call a shareable library (e.g. DLL). You probably
already have such a DLL from your vendor. You then need only write 2
things:
- A thin C "wrapper" layer so that IDL can call your DLL. This wrapper
layer takes care of calling conventions, since IDL uses the (argc, argv)
method of calling C functions with CALL_EXTERNAL.
- A set of IDL routines which call CALL_EXTERNAL. These might be things
like:
; Read image from framegrabber
image = READ_FG(xstart, ystart, xstop, ystop)
; Start acquiring images
START_FG
; Stop acquiring images
STOP_FG


Cheers,
Mark Rivers
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: rstrpos: version 5.2 and version 5.3
Next Topic: Problems with tvrd(),true=1

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 14:32:56 PDT 2025

Total time taken to generate the page: 0.00537 seconds