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: SoftIOC and Labview
From: Gabriel Fedel via Tech-talk <tech-talk at aps.anl.gov>
To: <tech-talk at aps.anl.gov>
Date: Wed, 27 May 2020 08:26:43 +0200
Jalal,

I had the same problem with older versions of Labview. As soon I know the waveform implementation on Labview is wrong, so you shouldn't trust on it.

An alternative is CALab (https://www.helmholtz-berlin.de/zentrum/locations/it/software/exsteuer/calab/index_en.html), I've tried once and it looks much better than NI solution.

Best Regards

On 5/26/20 10:55 PM, Paul Sichta via Tech-talk wrote:
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


--
Gabriel Fedel

Ship 8, Floor 2.
EPICS Integrator
Integrated Control System Division
The European Spallation Souce
Odarslövsvägen 113
224 84 Lund

mobile Sweden: 0723356030
mobile International: +46723356030

Replies:
Re: SoftIOC and Labview Ralph Lange via Tech-talk
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

Navigate by Date:
Prev: Re: SoftIOC and Labview Paul Sichta via Tech-talk
Next: Re: Unpredictable behaviour with PyEpics Simon Rose 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: SoftIOC and Labview Paul Sichta via Tech-talk
Next: Re: SoftIOC and Labview Ralph Lange 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, 27 May 2020 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·