diff --git a/src/dev/devAiDvx2502.c b/src/dev/devAiDvx2502.c index 571a56bdf..44c7ece3c 100644 --- a/src/dev/devAiDvx2502.c +++ b/src/dev/devAiDvx2502.c @@ -2,6 +2,39 @@ /* share/src/dev $Id$ */ /* devAiDvx2502.c - Device Support Routines */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 3/6/91 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ + #include diff --git a/src/dev/devAiSoft.c b/src/dev/devAiSoft.c index 82fd3739a..d936f46ef 100644 --- a/src/dev/devAiSoft.c +++ b/src/dev/devAiSoft.c @@ -2,6 +2,39 @@ /* share/src/dev $Id$ */ /* devAiSoft.c - Device Support Routines for soft Analog Input Records*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 3/6/91 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ + #include @@ -46,6 +79,7 @@ static long init_record(pai) switch (pai->inp.type) { case (CONSTANT) : pai->val = pai->inp.value.value; + pai->udf = FALSE; break; case (PV_LINK) : break; @@ -84,7 +118,7 @@ static long read_ai(pai) pai->nsev = VALID_ALARM; pai->nsta = LINK_ALARM; } - } + } else pai->udf = FALSE; break; case (CA_LINK) : break; diff --git a/src/dev/devAiSoftRaw.c b/src/dev/devAiSoftRaw.c index 6469e3fae..2c11f8d30 100644 --- a/src/dev/devAiSoftRaw.c +++ b/src/dev/devAiSoftRaw.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devAiSoftRaw.c - Device Support Routines for soft Analog Input Records*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devAiTestAsyn.c b/src/dev/devAiTestAsyn.c index f903878b7..34a63b48c 100644 --- a/src/dev/devAiTestAsyn.c +++ b/src/dev/devAiTestAsyn.c @@ -2,7 +2,38 @@ /* share/src/dev $Id$ */ /* devAiTestAsyn.c - Device Support Routines for testing asynchronous processing*/ - +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include #include @@ -82,6 +113,7 @@ static long init_record(pai,process) pcallback->wd_id = wdCreate(); pcallback->process = process; pai->val = pai->inp.value.value; + pai->udf = FALSE; break; default : strcpy(message,pai->name); diff --git a/src/dev/devAiXy566Di.c b/src/dev/devAiXy566Di.c index 305ac55b6..d841221fe 100644 --- a/src/dev/devAiXy566Di.c +++ b/src/dev/devAiXy566Di.c @@ -2,7 +2,38 @@ /* share/src/dev $Id$ */ /* devAiXy566Di.c - Device Support Routines */ - +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include #include diff --git a/src/dev/devAiXy566DiL.c b/src/dev/devAiXy566DiL.c index 2f70b3582..2af22bb56 100644 --- a/src/dev/devAiXy566DiL.c +++ b/src/dev/devAiXy566DiL.c @@ -2,7 +2,38 @@ /* share/src/dev $Id$ */ /* devAiXy566DiL.c - Device Support Routines */ - +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include #include diff --git a/src/dev/devAiXy566Se.c b/src/dev/devAiXy566Se.c index 0597ae2c0..863d339dd 100644 --- a/src/dev/devAiXy566Se.c +++ b/src/dev/devAiXy566Se.c @@ -2,7 +2,38 @@ /* share/src/dev $Id$ */ /* devAiXy566Se.c - Device Support Routines */ - +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include #include diff --git a/src/dev/devAoSoft.c b/src/dev/devAoSoft.c index 1cc8e0d32..b4800d8ea 100644 --- a/src/dev/devAoSoft.c +++ b/src/dev/devAoSoft.c @@ -2,7 +2,38 @@ /* share/src/dev $Id$ */ /* Device Support Routines for soft Analog Output Records*/ - +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include #include diff --git a/src/dev/devAoTestAsyn.c b/src/dev/devAoTestAsyn.c index 74297bf83..0fbf176ca 100644 --- a/src/dev/devAoTestAsyn.c +++ b/src/dev/devAoTestAsyn.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devAoTestAsyn.c - Device Support Routines for testing asynchronous processing*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include @@ -87,7 +119,7 @@ static long init_record(pao,process) errMessage(S_db_badField,message); return(S_db_badField); } - return(0); + return(2); } static long write_ao(pao) @@ -103,7 +135,7 @@ static long write_ao(pao) case (CONSTANT) : if(pao->pact) { printf("%s Completed\n",pao->name); - return(0); /* don`t convert*/ + return(0); } else { wait_time = (int)(pao->disv * vxTicksPerSecond); if(wait_time<=0) return(0); diff --git a/src/dev/devAoVmiVme4100.c b/src/dev/devAoVmiVme4100.c index 384db9cbc..53d618123 100644 --- a/src/dev/devAoVmiVme4100.c +++ b/src/dev/devAoVmiVme4100.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* Device Support Routines for VMI4100 analog output*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devBiMpv910.c b/src/dev/devBiMpv910.c index 51ee282bc..d88c24205 100644 --- a/src/dev/devBiMpv910.c +++ b/src/dev/devBiMpv910.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devBiMpv910.c - Device Support Routines for Burr Brown MPV 910 Binary input */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devBiSoft.c b/src/dev/devBiSoft.c index a82a029fb..c7520a133 100644 --- a/src/dev/devBiSoft.c +++ b/src/dev/devBiSoft.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devBiSoft.c - Device Support Routines for Soft Binary Input*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include @@ -46,6 +78,7 @@ static long init_record(pbi) switch (pbi->inp.type) { case (CONSTANT) : pbi->val = pbi->inp.value.value; + pbi->udf = FALSE; break; case (PV_LINK) : break; @@ -82,7 +115,7 @@ static long read_bi(pbi) pbi->nsev = VALID_ALARM; pbi->nsta = LINK_ALARM; } - } + } else pbi->udf = FALSE; break; case (CA_LINK) : break; diff --git a/src/dev/devBiSoftRaw.c b/src/dev/devBiSoftRaw.c index 4797d01cc..5e866e6b7 100644 --- a/src/dev/devBiSoftRaw.c +++ b/src/dev/devBiSoftRaw.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devBiSoftRaw.c - Device Support Routines for Soft Binary Input*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devBiTestAsyn.c b/src/dev/devBiTestAsyn.c index 39c02853c..6ddb31206 100644 --- a/src/dev/devBiTestAsyn.c +++ b/src/dev/devBiTestAsyn.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devBiTestAsyn.c - Device Support Routines for testing asynchronous processing*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include @@ -81,6 +113,7 @@ static long init_record(pbi,process) pcallback->wd_id = wdCreate(); pcallback->process = process; pbi->val = pbi->inp.value.value; + pbi->udf = FALSE; break; default : strcpy(message,pbi->name); diff --git a/src/dev/devBiXVme210.c b/src/dev/devBiXVme210.c index ccdc15b64..26da4aa44 100644 --- a/src/dev/devBiXVme210.c +++ b/src/dev/devBiXVme210.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devBiXVme210.c - Device Support Routines for XYcom 32 bit binary input*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devBoMpv902.c b/src/dev/devBoMpv902.c index bf6199cfd..447ef3b4c 100644 --- a/src/dev/devBoMpv902.c +++ b/src/dev/devBoMpv902.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devBoMpv902.c - Device Support Routines for Burr Brown MPV 902 Binary output */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devBoSoft.c b/src/dev/devBoSoft.c index ab8dcebed..182e27b99 100644 --- a/src/dev/devBoSoft.c +++ b/src/dev/devBoSoft.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devBoSoft.c - Device Support Routines for Soft Binary Output*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devBoTestAsyn.c b/src/dev/devBoTestAsyn.c index 05cc7815b..d9d773fad 100644 --- a/src/dev/devBoTestAsyn.c +++ b/src/dev/devBoTestAsyn.c @@ -2,6 +2,39 @@ /* share/src/dev $Id$ */ /* devBoTestAsyn.c - Device Support Routines for testing asynchronous processing*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ + #include @@ -87,7 +120,7 @@ static long init_record(pbo,process) errMessage(S_db_badField,message); return(S_db_badField); } - return(0); + return(2); } static long write_bo(pbo) diff --git a/src/dev/devBoXVme220.c b/src/dev/devBoXVme220.c index de54fb123..9cc661488 100644 --- a/src/dev/devBoXVme220.c +++ b/src/dev/devBoXVme220.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devBoXVme220.c - Device Support Routines for XYcom 32 bit binary output*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devMbbiMpv910.c b/src/dev/devMbbiMpv910.c index 4237ceb8c..b9b204639 100644 --- a/src/dev/devMbbiMpv910.c +++ b/src/dev/devMbbiMpv910.c @@ -3,6 +3,38 @@ /* devMbbiMpv910.c - Device Support Routines*/ /* Burr Brown MPV 910 Multibit Binary input */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devMbbiSoft.c b/src/dev/devMbbiSoft.c index f9f380d94..4a0ea759e 100644 --- a/src/dev/devMbbiSoft.c +++ b/src/dev/devMbbiSoft.c @@ -2,6 +2,38 @@ /* share/src/dev @(#)devMbbiSoft.c 1.2 11/30/90 */ /* devMbbiSoft.c - Device Support Routines for Soft Multibit Binary Input*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include @@ -45,6 +77,7 @@ static long init_record(pmbbi) switch (pmbbi->inp.type) { case (CONSTANT) : pmbbi->val = pmbbi->inp.value.value; + pmbbi->udf = FALSE; break; case (PV_LINK) : break; @@ -81,7 +114,7 @@ static long read_mbbi(pmbbi) pmbbi->nsev = VALID_ALARM; pmbbi->nsta = LINK_ALARM; } - } + } else pmbbi->udf = FALSE; break; case (CA_LINK) : break; diff --git a/src/dev/devMbbiSoftRaw.c b/src/dev/devMbbiSoftRaw.c index 40306ce3b..ce038632d 100644 --- a/src/dev/devMbbiSoftRaw.c +++ b/src/dev/devMbbiSoftRaw.c @@ -1,8 +1,39 @@ - /* devMbbiSoftRaw.c */ /* share/src/dev $Id$ */ /* devMbbiSoftRaw.c - Device Support Routines for Soft Multibit Binary Input*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devMbbiTestAsyn.c b/src/dev/devMbbiTestAsyn.c index c8b705e8b..150735d9e 100644 --- a/src/dev/devMbbiTestAsyn.c +++ b/src/dev/devMbbiTestAsyn.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devMbbiTestAsyn.c - Device Support Routines for testing asynchronous processing*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include @@ -81,6 +113,7 @@ static long init_record(pmbbi,process) pcallback->wd_id = wdCreate(); pcallback->process = process; pmbbi->val = pmbbi->inp.value.value; + pmbbi->udf = FALSE; break; default : strcpy(message,pmbbi->name); diff --git a/src/dev/devMbbiXVme210.c b/src/dev/devMbbiXVme210.c index 7cfad34dd..93f893855 100644 --- a/src/dev/devMbbiXVme210.c +++ b/src/dev/devMbbiXVme210.c @@ -3,6 +3,38 @@ /* devMbbiXVme210.c - Device Support Routines */ /* XYcom 32 bit Multibit binary input */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devMbboMpv902.c b/src/dev/devMbboMpv902.c index 3907ab326..1e16871e6 100644 --- a/src/dev/devMbboMpv902.c +++ b/src/dev/devMbboMpv902.c @@ -3,6 +3,38 @@ /* devMbboMpv902.c - Device Support Routines */ /* Burr Brown MPV 902 */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devMbboSoft.c b/src/dev/devMbboSoft.c index 42ab6b43a..a9a9cafaa 100644 --- a/src/dev/devMbboSoft.c +++ b/src/dev/devMbboSoft.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devMbboSoft.c - Device Support Routines for Soft Multibit Binary Output*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devMbboTestAsyn.c b/src/dev/devMbboTestAsyn.c index 176fc2e47..68085cc53 100644 --- a/src/dev/devMbboTestAsyn.c +++ b/src/dev/devMbboTestAsyn.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devMbboTestAsyn.c - Device Support Routines for testing asynchronous processing*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include @@ -87,7 +119,7 @@ static long init_record(pmbbo,process) errMessage(S_db_badField,message); return(S_db_badField); } - return(0); + return(2); } static long write_mbbo(pmbbo) diff --git a/src/dev/devMbboXVme220.c b/src/dev/devMbboXVme220.c index 8bbf85aab..00e18b178 100644 --- a/src/dev/devMbboXVme220.c +++ b/src/dev/devMbboXVme220.c @@ -3,6 +3,38 @@ /* devMbboXVme220.c - Device Support Routines */ /* XYcom 32 bit binary output */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devWfJoergerVtr1.c b/src/dev/devWfJoergerVtr1.c index 25d8a50da..73e8a76e3 100644 --- a/src/dev/devWfJoergerVtr1.c +++ b/src/dev/devWfJoergerVtr1.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devWfJoergerVtr1.c - Device Support Routines */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devWfSoft.c b/src/dev/devWfSoft.c index 314b055fb..9f9a420b4 100644 --- a/src/dev/devWfSoft.c +++ b/src/dev/devWfSoft.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devWfSoft.c - Device Support Routines for soft Waveform Records*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devWfTestAsyn.c b/src/dev/devWfTestAsyn.c index 1938a76c0..2a7a14183 100644 --- a/src/dev/devWfTestAsyn.c +++ b/src/dev/devWfTestAsyn.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devWfTestAsyn.c - Device Support Routines for testing asynchronous processing*/ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include diff --git a/src/dev/devWfXy566Sc.c b/src/dev/devWfXy566Sc.c index 512fc2090..403bea54c 100644 --- a/src/dev/devWfXy566Sc.c +++ b/src/dev/devWfXy566Sc.c @@ -2,6 +2,38 @@ /* share/src/dev $Id$ */ /* devWfXy566Sc.c - Device Support Routines */ +/* + * Original Author: Bob Dalesio + * Current Author: Marty Kraimer + * Date: 6-1-90 + * + * Experimental Physics and Industrial Control System (EPICS) + * + * Copyright 1991, the Regents of the University of California, + * and the University of Chicago Board of Governors. + * + * This software was produced under U.S. Government contracts: + * (W-7405-ENG-36) at the Los Alamos National Laboratory, + * and (W-31-109-ENG-38) at Argonne National Laboratory. + * + * Initial development by: + * The Controls and Automation Group (AT-8) + * Ground Test Accelerator + * Accelerator Technology Division + * Los Alamos National Laboratory + * + * Co-developed with + * The Controls and Computing Group + * Accelerator Systems Division + * Advanced Photon Source + * Argonne National Laboratory + * + * Modification Log: + * ----------------- + * .01 mm-dd-yy iii Comment + * .02 mm-dd-yy iii Comment + * ... + */ #include