Giter Club home page Giter Club logo

advimba's Introduction

advimba's People

Contributors

keenanlang avatar markrivers avatar xiaoqiangwang avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

advimba's Issues

Improve connection management

Connection management needs improvement. There is currently no indication in the GUI if the camera is removed from the network.

ADVimba doesn't open camera successfully, but example code does

Working on configuring a new Allied Vision camera with ADVimba (1800 u811m), USB3 based, and have ran into an issue that I can't seem to figure out. I was able to get the camera ID using the ListCameras example:

[jwlodek@dell-rhel8 x86_64bit]$ ./ListCameras 

//////////////////////////////////////
/// Vimba API List Cameras Example ///
//////////////////////////////////////

Vimba C++ API Version 1.9.0
Cameras found: 1

/// Camera Name    : Allied Vision 1800 U-811m
/// Model Name     : 1800 U-811m
/// Camera ID      : DEV_1AB22C012B2F
/// Serial Number  : 01N3J
/// @ Interface ID : VimbaUSBInterface_0x0

However, when running the Vimba IOC with this camera ID I get:

2022/06/29 17:02:16.085 ADVimba:connectCamera: ERROR calling VimbaSystem::OpenCameraByID error=-3
2022/06/29 17:02:16.085 ADVimba::connectCamera error opening camera DEV_1AB22C012B2F
2022/06/29 17:02:16.085 ADVimba:ADVimba:  camera connection failed (3)

Number of cameras detected: 0
Feature list
Port: VMB1
  Timestamp: <undefined>
  Input EOS[0]: 
  Output EOS[0]: 
Parameter list 0
Number of parameters is: 103

I know this is the correct ID, because another example, ListFeatures works, with this, and uses the same OpenCameraByID function that is called in connectCamera in ADVimba:

[jwlodek@dell-rhel8 x86_64bit]$ ./ListFeatures DEV_1AB22C012B2F

///////////////////////////////////////
/// Vimba API List Features Example ///
///////////////////////////////////////

Vimba C++ API Version 1.9.0
Printing all features of camera with ID: DEV_1AB22C012B2F
/// Feature Name   : AcquisitionFrameCount
/// Display Name   : Acquisition Frame Count
/// Tooltip        : Number of frames to acquire in MultiFrame Acquisition mode.
/// Description    : Number of frames to acquire in MultiFrame Acquisition mode.
/// SNFC Namespace : Standard
/// Unit           : 
/// Value          : Could not get feature value. Error code: -6 (Invalid access.)
/// Minimum        : 1
/// Maximum        : 65534
/// Type           : Long long integer
...

The output of the above command is very long so I cropped it just to show that the camera was found and opened.

This is the function from ListFeatures:

err = sys.OpenCameraByID( "DEV_1AB22C012B2F", VmbAccessModeFull, pCamera ); // Get and open the camera

I have setup ADVimba to build with Vimba 6.0 which is the version I have downloaded, but that hasn't seemed to change much. I also thought it could be permission related, but I can run the examples as myself and have no problem, and running as root had the same issue.

Is there something else I'm missing here?

Circular dependency.

Base: 7.0.3.1
ADCore: 3-8
ADVimba Branch: R1-0, master
OS: Debian 10
gcc version 8.3.0 (Debian 8.3.0-6)
GNU Make 4.2.1

/areaDetector/ADVimba$ make -s
make[2]: Circular libVimbaCPP.so <- ..//../lib/linux-x86_64/libVimbaCPP.so dependency dropped.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.