07-05-2010 03:47 PM
Has anyone successfully used DALSA vision library, Sapera LT, with CVI?
Sapera LT supposedly has a C language interface.
I would post this in the machine vision forum but it seems like more of a SW issue (if, in fact, there are any issues) than a HW issue.
In principle, any standard C (C89) interface should work with CVI I should think ... whether it's for a DALSA framegrabber or for anything else.
I was just curious if anyone had tried this specific thing and if so how it worked out.
Thanks
Solved! Go to Solution.
07-07-2010 02:19 AM
07-08-2010 08:18 PM
Menchar -
As it turns out, you can use Sapera LT with CVI 2009. You use the "basic api" which is an ANSI C interface with the export header file and import library for the DLL's involved. During compile, I found 6 #defines that were getting redefined somehow - they were the constant max limits on the various integer types. It looked like stuff from limits.h but it wasn't - I never did figure out how or where it was getting defined twice, so I just #undef'd these right before the spot where the redefinition was occurring and the problem went away.
I was unable to use the framegrabber as a "camera" (device), I used it as a "framegrabber" and loaded separate .cca and .cvi configuration files in lieu of a camera config file (.ccf). I hooked it up to a CameraLink simulator and grabbed a test pattern, then wrote it to disk. Careful inspection of the data showed that it was grabbing all OK.
I used Sapera LT 7.0.0 and X64 driver version 1.5.
So I'm feeling pretty good about this so far.
Menchar
07-08-2010 08:19 PM
Menchar -
Way to go dude! I knew you would figure this out with help from the discussion forum!
Menchar