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: Some questions about CaLab (Dariush Hampai) |
From: | Kathryn Baker - STFC UKRI via Tech-talk <tech-talk at aps.anl.gov> |
To: | "tech-talk at aps.anl.gov" <tech-talk at aps.anl.gov> |
Date: | Mon, 23 Jun 2025 10:17:57 +0000 |
Hi Dariush,
I know I'm not Carsten, but I've used his software in LabVIEW. I'm not sure I understand what you are trying to achieve, so apologies if I over explain things, I'd rather ensure the fundamentals are clear in our minds so that we can communicate clearly.
As regards the array version of the VI, it is a different VI to the single one and is using an overloading pattern which means it looks the same, but isn't, whether you send it an array or a direct item. So the act of sending it an array is the same effect
as doing one then then other.
The LabVIEW architecture will not be having any influence here as the programs are talking via channel access, which is one of the EPICS protocols, neither program knows about the other, they just have these tokens on a channel and they use those to do other
things with them.
The above means that the IOC needs to be running to see anything. So for an array, the code to send it would actually make it two sends. using the example that Carsten gave it would send:
caput mm4006:m11.HOME 12
caput mm4006:m11.MOVN 24
I'm struggling to understand what you are trying to do with the second part, what is the workflow you have? From a quick look at the VI CaLab Info caches the data, as it isn't data to retrieve regularly in most use cases. Knowing what you are trying to achieve,
not just the problem, will help people provide good information and answers.
Regards, Kathryn
I have Long Covid, and work an adapted pattern to allow me to give my best to work, please respond to any emails as fits your own working patterns, and I will respond within my own as soon as I am able. I am Autistic, and this can impact my communication with others, please be patient with me.
From: Tech-talk <tech-talk-bounces at aps.anl.gov> on behalf of Dariush Hampai via Tech-talk <tech-talk at aps.anl.gov>
Sent: 23 June 2025 10:11 To: tech-talk at aps.anl.gov <tech-talk at aps.anl.gov> Subject: Re: Some questions about CaLab (Dariush Hampai) Hi Carsten, Il 23/06/2025 07:31, Carsten Winkler ha scritto:
|