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
On Tue, May 26, 2020 at 3:36 PM Mostafa, Jalal (IPE)
<jalal.mostafa at kit.edu <mailto:jalal.mostafa at kit.edu>> wrote:
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
------------------------------------------------------------------------
*From:* Paul Sichta <psichta at pppl.gov <mailto:psichta at pppl.gov>>
*Sent:* Tuesday, May 26, 2020 9:28:39 PM
*To:* Mostafa, Jalal (IPE)
*Cc:* tech-talk at aps.anl.gov <mailto:tech-talk at aps.anl.gov>
*Subject:* Re: SoftIOC and Labview
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
On Tue, May 26, 2020 at 3:18 PM Mostafa, Jalal (IPE) via Tech-talk
<tech-talk at aps.anl.gov <mailto:tech-talk at aps.anl.gov>> wrote:
Hi All!
I am trying to write an array of doubles from a LabView EPICS
Client using EPICS Client I/O Server
<http://joule.ni.com/nidu/cds/view/p/id/2533/lang/en> 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