EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

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  <20202021  2022  2023  2024  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  <20202021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: Building ADVimba on Raspberry Pi
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Kinder, Steve (STFC,DL,TECH)" <steve.kinder at stfc.ac.uk>
Cc: "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Wed, 4 Nov 2020 21:39:29 +0000
On Linux there are system settings that need to be set to get good performance on GigE cameras.  I have documented them here:


https://areadetector.github.io/master/ADGenICam/ADGenICam.html#linux-usb-and-gige-system-settings


I am not sure if the settings are the same on the Pi.


Mark



________________________________
From: Kinder, Steve (STFC,DL,TECH) <steve.kinder at stfc.ac.uk>
Sent: Wednesday, November 4, 2020 3:31 PM
To: Mark Rivers
Cc: tech-talk at aps.anl.gov
Subject: Re: Building ADVimba on Raspberry Pi

I haven't done extensive performance tests as yet. The simple tests I have done so far have been to try and achieve reliable performance at 10Hz. To achieve this I've had to use vertical and horizontal binning of 4. With binning of 1 and 2 I get errors like the following:

2020/11/04 21:18:33.203 ADVimba::processFrame error GetReceiveStatus returned 0 frameStatus=-1

I have achieved faster rates but had to reduce the image size further.

I suspect from what limited research I've done that the RPi4's Ethernet interface isn't performing very well.

I haven't tried saving to disk yet. I'm displaying via a Phoebus GUI on a separate Windows system but that doesn't seem to affect the above so far as I can tell.

Hope that helps. If you would like me to run any more specific tests let me know.

Steve

________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: 04 November 2020 17:49
To: Kinder, Steve (STFC,DL,TECH) <steve.kinder at stfc.ac.uk>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Building ADVimba on Raspberry Pi

> ADVimba then built and I have been able to get an IOC working using this.


What performance have you been able to obtain with an actual camera?  How many frames/s does it acquire, display in a viewer, and save to disk?


Mark



________________________________
From: Kinder, Steve (STFC,DL,TECH) <steve.kinder at stfc.ac.uk>
Sent: Wednesday, November 4, 2020 10:43 AM
To: Mark Rivers
Cc: tech-talk at aps.anl.gov
Subject: Re: Building ADVimba on Raspberry Pi

Thanks to all for the replies.

I created a vimbaSupportC/os/linux-arm directory and copied in the relevant files from my AVT Vimba_4_0 download. I also added a linux-arm section to vimbaSupportC/Makefile. ADVimba then built and I have been able to get an IOC working using this.

Steve

________________________________
From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: 28 October 2020 17:21
To: Kinder, Steve (STFC,DL,TECH) <steve.kinder at stfc.ac.uk>
Cc: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Re: Building ADVimba on Raspberry Pi

Hi Steve,


ADVimba does not come with the libVimbaC.so, etc. files for linux-arm.  But those library  files are available from AVT, so you could copy them over and it should build.  If it works we could add them to the distribution.


Mark



________________________________
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Kinder, Steve (STFC,DL,TECH) via Tech-talk <tech-talk at aps.anl.gov>
Sent: Wednesday, October 28, 2020 11:59 AM
To: EPICS Tech Talk
Subject: Building ADVimba on Raspberry Pi

I get the following error when trying to build ADVimba on a Raspberry Pi. Any suggestions as to how to get around this would be appreciated whilst I continue trying.

Thanks

Steve

/usr/bin/ar -rc    libVimbaCPP.a     AncillaryData.o BaseFeature.o BasicLockable.o BoolFeature.o Camera.o Clock.o CommandFeature.o Condition.o ConditionHelper.o DefaultCameraFactory.o EnumEntry.o EnumFeature.o FeatureContainer.o Feature.o FileLogger.o FloatFeature.o Frame.o FrameHandler.o Interface.o IntFeature.o Mutex.o MutexGuard.o RawFeature.o Semaphore.o StringFeature.o VimbaSystem.o
/usr/bin/ranlib libVimbaCPP.a
make[2]: *** No rule to make target '../../lib/linux-arm/libVimbaC.a', needed by 'libVimbaCPP.so'.  Stop.
make[2]: Leaving directory '/home/controls/prod/R7.0.3.1/support/ADVimba/1-2dl1/vimbaSupportCPP/O.linux-arm'
make[1]: *** [/home/epics/R7.0.3.1/base/configure/RULES_ARCHS:58: install.linux-arm] Error 2
make[1]: Leaving directory '/home/controls/prod/R7.0.3.1/support/ADVimba/1-2dl1/vimbaSupportCPP'
make: *** [/home/epics/R7.0.3.1/base/configure/RULES_DIRS:84: vimbaSupportCPP.install] Error 2



This email and any attachments are intended solely for the use of the named recipients. If you are not the intended recipient you must not use, disclose, copy or distribute this email or any of its attachments and should notify the sender immediately and delete this email from your system. UK Research and Innovation (UKRI) has taken every reasonable precaution to minimise risk of this email or any attachments containing viruses or malware but the recipient should carry out its own virus and malware checks before opening the attachments. UKRI does not accept any liability for any losses or damages which the recipient may sustain due to presence of any viruses. Opinions, conclusions or other information in this message and attachments that are not related directly to UKRI business are solely those of the author and do not represent the views of UKRI.

References:
Building ADVimba on Raspberry Pi Kinder, Steve (STFC,DL,TECH) via Tech-talk
Re: Building ADVimba on Raspberry Pi Mark Rivers via Tech-talk
Re: Building ADVimba on Raspberry Pi Kinder, Steve (STFC,DL,TECH) via Tech-talk
Re: Building ADVimba on Raspberry Pi Mark Rivers via Tech-talk
Re: Building ADVimba on Raspberry Pi Kinder, Steve (STFC,DL,TECH) via Tech-talk

Navigate by Date:
Prev: Re: Building ADVimba on Raspberry Pi Kinder, Steve (STFC,DL,TECH) via Tech-talk
Next: ADVimba camera timestamps Kinder, Steve (STFC,DL,TECH) via Tech-talk
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  <20202021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Building ADVimba on Raspberry Pi Kinder, Steve (STFC,DL,TECH) via Tech-talk
Next: Error in dbd/HPE3631Atest.dbd" line 12090 lynn via Tech-talk
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  <20202021  2022  2023  2024 
ANJ, 04 Nov 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·