Experimental Physics and Industrial Control System
|
Thanks, Paul.
I solved it now. The real problem was that LabView does not support writing partial arrays. In other words, `NELM` in and waveform and the array size you need to write to the record from LabView must have the same value. Other clients like the official EPICS
tools (caput command) can do this even if the array size was not equal to NELM.
Best,
Jalal
From: Paul Sichta <psichta at pppl.gov>
Sent: Wednesday, May 27, 2020 4:47:07 PM
To: Mostafa, Jalal (IPE)
Cc: tech-talk at aps.anl.gov
Subject: Re: SoftIOC and Labview
Jalal,
I looked in my 3.14.12.5 IOC's database and I write DOUBLE from LabVIEW using the NI-supplied software. Here is my record;
grecord(waveform,"tc_nbBoard1_WF") {
field(DESC,"Temperatures array")
field(ASG,"OPEN")
field(PINI,"YES")
field(DTYP,"Soft Channel")
field(NELM,"80")
field(FTVL,"DOUBLE")
}
This worked with labview 2014 and 2016. Haven't tried newer versions.
-ps
Jalal,
I was able to r/w using U32 data to a waveform record.
I'd have to dig a little to resurrect the details, perhaps later.
-ps
Writing double scalar values to a ai record works great.
I tried both aai and waveform to write array values of doubles but no success.
I am using LabView 2018 SP1. Do you have a list of what's working and what's not?
Best,
Jalal
Jalal,
Can your labview write scalar values (e.g. to a longin record ) to your softioc?
Have you tried writing your labview array to a waveform record on the softioc?
Using earlier versions of the NI EPICS software, I seem to recall there were some data types that wouldn't work (I think double was OK). I haven't tried the 2020 version but glad to see it has been updated.
-ps
Hi All!
I am trying to write an array of doubles from a LabView EPICS Client using
EPICS Client I/O Server to a softIoc instance with the corresponding record:
record(aai, "dummy:array")
{
field(DTYP,"Soft Channel")
field(NELM, "10")
field(FTVL, "DOUBLE")
}
I can see the LabVIEW being connected to this record but no written values to
softIoc instance. The issue is only happening on LabView but not when using other clients like caput for instance.
What is the correct way to write array values from LabView to softIoc records?
Best,
Jalal
- References:
- SoftIOC and Labview Mostafa, Jalal (IPE) via Tech-talk
- Re: SoftIOC and Labview Paul Sichta via Tech-talk
- Re: SoftIOC and Labview Mostafa, Jalal (IPE) via Tech-talk
- Re: SoftIOC and Labview Paul Sichta via Tech-talk
- Re: SoftIOC and Labview Paul Sichta via Tech-talk
- Navigate by Date:
- Prev:
Re: Mirror Control Room Jemian, Pete R. via Tech-talk
- Next:
Minor issues building base 7.0.4 on Windows Mark Rivers 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
- Navigate by Thread:
- Prev:
Re: SoftIOC and Labview Paul Sichta via Tech-talk
- Next:
Re: SoftIOC and Labview Baily, Scott A 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
|
ANJ, 01 Jun 2020 |
·
Home
·
News
·
About
·
Base
·
Modules
·
Extensions
·
Distributions
·
Download
·
·
Search
·
EPICS V4
·
IRMIS
·
Talk
·
Bugs
·
Documents
·
Links
·
Licensing
·
|