1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 | Index | 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 <2022> 2023 2024 2025 |
<== Date ==> | <== Thread ==> |
---|
Subject: | RE: Connecting Basler camera with areaDetector on Windows |
From: | Mark Rivers via Tech-talk <tech-talk at aps.anl.gov> |
To: | "Sullivan,Bryan" <Bryan.Sullivan at colostate.edu> |
Cc: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Wed, 9 Feb 2022 21:04:36 +0000 |
Hi Bryan, Unfortunately I don’t have the time or motivation to write a Pylon driver, since I don’t own any Basler cameras, and have no future need for them that I can foresee. To write the driver you should use the ADSpinnaker, ADVimba, and ADAravis drivers as the model. You basically need to write 2 classes: PylonFeature This extends the GenICamFeature class from ADGenICam. This is the code to write/read GenICam features in the camera. I assume that Pylon has a straightforward way to do that, the way that aravis, Spinnaker, and Vimba do. ADPylon This extends the ADGenICam class from ADGenICam. This is the code to read the images, etc. Mark From: Sullivan,Bryan <Bryan.Sullivan at colostate.edu>
Hi Mark, I'm running on windows because I'm building a control system in LabVIEW, and all the other elements in the system are setup on windows. Writing a driver with the Pylon SDK seems like a promising solution. Would you be willing to put one together? Or if not, how would you recommend I start that process? Thanks, Bryan From: Mark Rivers <rivers at cars.uchicago.edu> ** Caution: EXTERNAL Sender ** Hi Bryan, The Windows support in aravis is very new. The Windows GigEVision support was added less than a year ago, and I was not aware of it. ADAravis and aravisGigE currently only
work on Linux. The aravis documentation does explain how to install aravis on Windows using msys2 (gcc) or using MSVC. Once it is installed it should be possible change ADAravis to build
with it on Windows, but it will definitely require work. If there is not a strong reason to use Windows I would suggest using Linux instead. It should just work out of the box. Alternatively, the Basler Pylon SDK works on both Linux and Windows. A driver using that SDK could be written, as I have done with ADSpinnaker and ADVimba for other vendor
SDKs. Mark From: Tech-talk <tech-talk-bounces at aps.anl.gov>
On Behalf Of Sullivan,Bryan via Tech-talk Hi, I am trying to connect a Basler camera with areaDetector. I saw in a previous tech-talk (https://epics.anl.gov/tech-talk/2020/msg00388.php)
that the aravisGigE and ADAravis modules should work with basler. I would prefer to use ADAravis since it is newer and better optimized, but when reading the documentation, I saw that ADAravis explicitly states that it cannot be used on windows because the
underlying library aravis does not support it (https://areadetector.github.io/master/ADAravis/ADAravis.html)
but in the aravis documentation it gives instruction on how to install on windows (https://github.com/AravisProject/aravis).
Then with aravidGigE the documentation says it works on windows but then only gives instruction on how to install on lunix. The questions I have are
Thanks, Bryan |