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  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: Problems setting up MCA BrukerQM100
From: Mark Rivers via Tech-talk <tech-talk at aps.anl.gov>
To: "Lott, Eva" <eva.lott at helmholtz-berlin.de>, "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov>
Date: Mon, 28 Apr 2025 17:15:32 +0000

Hi Eva,

 

  • ... which I assume is because I compiled for 64 bit and the Makefile specification is

 

             BIN_INSTALLS_WIN32 += RTPCI.dll

 

WIN32 there really means “Windows”, it is not 32-bit or 64-bit specific.

 

Where are you getting that BIN_INSTALLS_WIN32 command?  The one in the Makefile on Github (https://github.com/epics-modules/mca/blob/master/mcaApp/RontecSrc/Makefile) is this:

 

#BIN_INSTALLS_WIN32 += ../RTIfcClient.dll

 

I have not worked on that driver for many years.  I never had the Bruker hardware to be able to test.

 

Neither RTPCI.dll nor RTIfcClient.dll are distributed with the mca module.  Did you get that file from Bruker?

 

  • RontecXFlash.db requires the asynOctet interface on the given port. I assume this db would have to be rewritten for the port from BrukerQM100Config?

 

Yes, I think that is correct.  I think that file is just for reading and controlling the cooling.

 

Mark

 

 

 

 

 

From: Lott, Eva <eva.lott at helmholtz-berlin.de>
Sent: Monday, April 28, 2025 9:49 AM
To: Mark Rivers <rivers at cars.uchicago.edu>; tech-talk at aps.anl.gov
Subject: Re: Problems setting up MCA BrukerQM100

 

Hi Mark,

 

Many thanks for the fast response! That makes sense, I'm nearly there with the following st.cmd:

 

                < envPaths

                epicsEnvSet(STARTUP, $(TOP)\iocBoot\$(IOC))

 

                dbLoadDatabase("..\..\dbd\mcaBrukerQM100.dbd", 0, 0)

                mcaBrukerQM100_registerRecordDeviceDriver(pdbbase)

 

                BrukerQM100Config(L0, "edx", "redacted_password", "Local server", 1)

 

                # =========== Works after manually adding "$(BUSY)/dbd/busySupport.dbd" to Makefile ==========================

                dbLoadRecords("..\..\mcaApp\Db\mca.db","P=XFLASH:,M=mca1,NCHAN=1024,DTYP=asynMCA,INP=@asyn(L0)")

                # ==============================================================================================

 

 

                dbLoadRecords("$(ASYN)\db\asynRecord.db","P=XFLASH:,R=L0,PORT=L0,ADDR=0,OMAX=256,IMAX=256")

 

 

                # ======== init the ioc ========

                iocInit()

                # < ..\save_restore.cmd

 

 

                # ======== save settings every thirty seconds

                # create_monitor_set("auto_settings.req",30,"P=XFLASH:")




1)

The error I get with this is


       (BrukerQM100Config) Unable to find function OpenClient

       (BrukerQM100Config) Unable to find function SendRCLCommand

       (BrukerQM100Config) Unable to find function ReadSpectrum

       (BrukerQM100Config) Unable to find function GetSpectrum

       (roentecServer) Unable to find function StartSpectrumMeasurement

       (roentecServer) Unable to find function StartSpectrumLifeTimeMeasurement

       (roentecServer) Unable to find function StartSpectrumCounterMeasurement

       (roentecServer) Unable to find function StopSpectrumMeasurement


... which I assume is because I compiled for 64 bit and the Makefile specification is

 

        BIN_INSTALLS_WIN32 += RTPCI.dll

 

However this happens when trying to use the 64 bit control driver too. I'm assuming that the 64 bit driver is currently unsupported?


2)

RontecXFlash.db requires the asynOctet interface on the given port. I assume this db would have to be rewritten for the port from BrukerQM100Config?


Best wishes,
Eva


From: Mark Rivers <rivers at cars.uchicago.edu>
Sent: 28 April 2025 14:29:04
To: tech-talk at aps.anl.gov; Lott, Eva
Subject: Re: Problems setting up MCA BrukerQM100

 

Hi Eva,

 

  • My problem is that this ioc doesn't link `drvIPPortConfigure` - I need an IP port for running `BrukerQM100Config`. 

 

That is not correct.  The BrukerQM100Config command is defined here:

 

 

It is 

               int BrukerQM100Config(const char *portName, char *user, char *passwd, char *server, int spuno)

 

The portName argument to that command is the name of the asyn port to create for this driver.  It is not the name of a drvAsynIPPort.

 

You don't need to build your IOC with drvAsynIPPort.  The IP communication is done using their DLL, not with asyn.

 

Mark

 


From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Lott, Eva via Tech-talk <tech-talk at aps.anl.gov>
Sent: Monday, April 28, 2025 4:14 AM
To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov>
Subject: Problems setting up MCA BrukerQM100

 

Hi,

I've been trying to set up an MCA ioc for the Bruker XFlash. I've built `mcaBrukerQM100.exe` (linking the hardware control dll), and am now in the process of writing the iocBoot for it.

My problem is that this ioc doesn't link `drvIPPortConfigure` - I need an IP port for running `BrukerQM100Config`. I've tried linking drvAsynIPPort.dbd in https://github.com/epics-modules/mca/blob/master/mcaApp/RontecSrc/mcaBrukerQM100Include.dbd to no avail.

 

Does anyone have any examples of a production mcaBrukerQM100 support module that I can look at?


Eva

 

 



Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den*die Absender*in und vernichten Sie diese Mail. Das unerlaubte Kopieren, die Veröffentlichung sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This email may contain confidential and/or proprietary information. If you have received this e-mail in error, please inform the sender immediately and destroy this e-mail. Unauthorized copying, publishing or distribution of this e-mail is not permitted.

 



Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

Mitglied der Hermann von Helmholtz-Gemeinschaft Deutscher Forschungszentren e.V.

Aufsichtsrat: Vorsitzender Dr. Volkmar Dietz, stv. Vorsitzende Dr. Jutta Koch-Unterseher
Geschäftsführung: Prof. Dr. Bernd Rech, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
14109 Berlin
Deutschland

Diese E-Mail kann vertrauliche und/oder rechtlich geschützte Informationen enthalten. Wenn Sie diese E-Mail irrtümlich erhalten haben, informieren Sie bitte sofort den*die Absender*in und vernichten Sie diese Mail. Das unerlaubte Kopieren, die Veröffentlichung sowie die unbefugte Weitergabe dieser Mail ist nicht gestattet.
This email may contain confidential and/or proprietary information. If you have received this e-mail in error, please inform the sender immediately and destroy this e-mail. Unauthorized copying, publishing or distribution of this e-mail is not permitted.


Replies:
Re: Problems setting up MCA BrukerQM100 Lott, Eva via Tech-talk
References:
Problems setting up MCA BrukerQM100 Lott, Eva via Tech-talk
Re: Problems setting up MCA BrukerQM100 Mark Rivers via Tech-talk
Re: Problems setting up MCA BrukerQM100 Lott, Eva via Tech-talk

Navigate by Date:
Prev: RE: FYI, the msys2 compilation approach is not working Wang, Andrew via Tech-talk
Next: RE: FYI, the msys2 compilation approach is not working Freddie Akeroyd - STFC UKRI 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  2020  2021  2022  2023  2024  <2025
Navigate by Thread:
Prev: Re: Problems setting up MCA BrukerQM100 Lott, Eva via Tech-talk
Next: Re: Problems setting up MCA BrukerQM100 Lott, Eva 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  2020  2021  2022  2023  2024  <2025
ANJ, 29 Apr 2025 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions ·
· Download · Search · IRMIS · Talk · Documents · Links · Licensing ·