LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Sapera LT used with CVI

Solved!
Go to solution

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

 

 

0 Kudos
Message 1 of 4
(4,287 Views)
0 Kudos
Message 2 of 4
(4,252 Views)
Solution
Accepted by topic author menchar

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

0 Kudos
Message 3 of 4
(4,232 Views)

Menchar -

 

Way to go dude!  I knew you would figure this out with help from the discussion forum!

 

Menchar

0 Kudos
Message 4 of 4
(4,231 Views)