Problem connecting to teledyne dalsa linea line scan camera

I have a linea camera, model# LA_HM_16K07A_00_R, with a frame grabber card Xtium-CLHS PX8 board, model number OR-Y8S0-XPX70. Using sapera CamExpert version 8.73.00.2253.

I can acquire an image from cam expert so I know the hardware is working.

However I want to programmatically trigger acquisition using a python script and CVBpy. I installed cvb 14 but can’t figure out how to use the camera with the cvb driver. I tried opening cvb viewer and trying to load the driver .vin file but it fails to load. see image. I think this is a similar issue causing my python script to fail to acquire an image.

Script here:
import os
import cvb
import datetime

def main(filename):
with cvb.DeviceFactory.open(
os.path.join(cvb.install_path(), “drivers”, “CVXtiumCLHSPX8.vin”),
cvb.AcquisitionStack.Vin) as device:
stream = device.stream()
stream.start()

    image, status = stream.wait()

    if status == cvb.WaitStatus.Ok:
        image.save(filename)
        
    stream.abort()

main(‘image.jpg’)

Error message:
Traceback (most recent call last):
File “…\streaming_simple.py”, line 26, in
main(‘image.jpg’)
File “…\streaming_simple.py”, line 13, in main
with cvb.DeviceFactory.open(
RuntimeError: no specific message

From cvb viewer:

Hi JDP,

did you setup the drivers INI file correctly. It is located in ProgramData\STEMMER IMAGING\Common Vision Blox\Drivers. Please also take a look at the information in the “CVB User Guide for Dalsa Framegrabber CVB Driver” in Doc\Hardware\Dalsa. There you can find information on the correct values for this INI file.

Thank you for the response, I went back and checked over everything again, reinstalled appropriate drivers. I must have not had a valid ccf file called out in the .INI file. I am able to capture in cvb viewer now

Hi JDP,

great to hear that it works now.