Error loading GenICam.vin file on Ubuntu 16.04 running in VirtualBox

Hi guys,

I am running Ubuntu 16.04 in Virtual Box 6.1 on windows 10 and I am getting the following error when I try to run the GrapConsoleExample inside the tutorials folder. (Same code works fine on windows)

“Error loading /opt/cvb/drivers/GenICam.ini driver”

I can successfully connect to he camera and snap + save an image (using GigE Dalsa Genie nano M2420) over the network using GenICam Browser so I believe the network is setup correctly using the Bridged Adaptor mode in Virtual Box settings -

I am running cvb 13.002.002

I can only attached one image so I have attached a screenshot of the .ini file
Any help would be greatly appreciated

Thanks

JT

cvb_ini

Hi and welchome @JTraynor,

do you have the camera still open in the GenICam Browser when you start the GrabConsoleExample? Also did you save the configuration. Not that an old configuration is still stored in the ini.

If that does not help: I cannot read your GenICam.ini in the screen shot. Could you copy and past the settings in text form to this thread? Thank you :smile:

Hi,

Thanks for the reply

I did shutdown GenICam Browser etc before I started the c++ application. Is there a way to find out more inforamtion about the error as opposed to it failing to load?

Below is the .ini file. Let me know if you need anything else to help debug the problem

Thanks

JT

;utf8
[SYSTEM]
NumCameras=1
CreateAutoIni=0
AutoSwitchEnable=0
DeviceUpdateTimeout=-1
AutoConfigExecuted=1
[Channel_0]
TLType=GEV
TL=/opt/cvb/drivers/genicam/libGevTL.cti.1.2000.10
Interface=SD::MAC->08-00-27-1B-6F-4B
Device=::ID->00-01-0D-C3-96-2E::192.168.0.3
NumBuffer=3
PacketSize=4
InterPacketDelay=-1
PixelFormat=5
RotateImage=0
AccessMode=4
Vendor=Teledyne DALSA
Model=Nano-M2420
UserName=S1171401
SerialNumber=S1171401
AttachChunk=0
PacketResend=1
HeartbeatTimeout=-1
HeartbeatTimeoutMargin=-1
MCMasterMode=0
MCSession=224.64.16.1
MCNoJoin=0
UseTurboDrive=0
NumConvertThreads=1

Hi,

the ini-file looks ok to me.

You could create a log via the LogGUI. See the documentation on how to configure it:

https://help.commonvisionblox.com/NextGen/14.0/md_theory_of_operation_apps__log_g_u_i.html

It is important that you save and start logging before you start the application as the log state is evaluated at load-time only.

You can then send the log to our support:

https://www.stemmer-imaging.com/en-de/request-support/

Once again, when it comes to errors when loading the driver whilst the GenICam browser works fine im always triggered to ask if there might be a 32/64 bit missmatch somewhere :wink:

Maybe this applies to your problem as well:

https://forum.commonvisionblox.com/t/cvbpy-with-pyinstaller/1079/3

I’ll run the LogGUI and see if it sheds any light on the problem - Thanks