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  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: CAC problem between RTEMS and vxWorks
From: Benjamin Franksen <[email protected]>
To: <[email protected]>
Date: Thu, 27 Sep 2012 21:34:10 +0200
Am Dienstag, 25. September 2012, 23:10:28 schrieb Benjamin Franksen:
> I think we are closing in. I should have looked at the program Wes sent to
> me, which I did not at first. I did now and it is obvious (to me) now that
> it cannot work as expected. Specifically, doing
>
>         pvAssign(vidOutputStat, pvName);
>         ...
>         pvPut(vidOutputSel);

Sorry, cut'n'paste error. I mean this part of your program (quoted literally):

                        printf("pvAssign Status:  %d\n",
                                pvAssign(vidOutputStat, pvName));
                        pvGet(vwrName[ii]);
/*                        strcpy(vidOutputStat, vwrName[ii]);*/
                        sprintf(vidOutputStat, "%s", vwrName[ii]);
                        printf("pvPut Status:     %d\n",
                                pvPut(vidOutputStat));

where you first

        pvAssign(vidOutputStat, pvName)

and then almost immediately afterwards (i.e. w/o waiting for the PV to be
connected)

        pvPut(vidOutputStat)

Cheers
--
Ben Franksen
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments

________________________________

Helmholtz-Zentrum Berlin für Materialien und Energie GmbH

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

Aufsichtsrat: Vorsitzender Prof. Dr. Dr. h.c. mult. Joachim Treusch, stv. Vorsitzende Dr. Beatrix Vierkorn-Rudolph
Geschäftsführung: Prof. Dr. Anke Rita Kaysser-Pyzalla, Thomas Frederking

Sitz Berlin, AG Charlottenburg, 89 HRB 5583

Postadresse:
Hahn-Meitner-Platz 1
D-14109 Berlin

http://www.helmholtz-berlin.de


Replies:
Re: CAC problem between RTEMS and vxWorks Wesley Moore
References:
Re: CAC problem between RTEMS and vxWorks Wesley Moore
Re: CAC problem between RTEMS and vxWorks Benjamin Franksen

Navigate by Date:
Prev: RE: How can I collect data values Mark Rivers
Next: Loading modbus waveform record from acalcout record (or caput) jon
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: RE: CAC problem between RTEMS and vxWorks Hill, Jeff
Next: Re: CAC problem between RTEMS and vxWorks Wesley Moore
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  <20122013  2014  2015  2016  2017  2018  2019  2020  2021  2022  2023  2024 
ANJ, 18 Nov 2013 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·