EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  <19971998  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  Index 1994  1995  1996  <19971998  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 
<== Date ==> <== Thread ==>

Subject: Allen-Bradley serial support
From: Peregrine McGehee <[email protected]>
To: [email protected]
Cc: [email protected]
Date: Wed, 12 Nov 1997 08:40:07 -1000
William Rambold writes:
 > task: 0Xfaabb8 tShell
 > Error status (module 1001, number 3) not in symbol table
 > Unable to install AB serial word IO
 > 0xfaabb8 (tShell): iocInit: All initialization complete
 > value = 0 = 0x0
 > 
This may be related to what I see in my drvNode (simple version of
drvAscii with support multiple delimiters) software although my
initialization seems to work in spite of the error message.

Gory details follow -

>From the vxWorks startup:

# Create NODEs - device support uses these names

VILINK = drvNodeInit("/tyGS/0/2")
task: 0Xedf0c8 tShell
Error status (module 1000, number 4) not in symbol table

new symbol "VILINK" added to symbol table.
VILINK = 0xd73e40: value = 13893168 = 0xd3fe30
COMMON = drvNodeInit("/tyGS/0/3")
new symbol "COMMON" added to symbol table.
COMMON = 0xd322d8: value = 13855296 = 0xd36a40


The init routine:

DRV_NODE*
drvNodeInit(char* nameStr)
{
    int i;
    int status;
    DRV_NODE *pNode;
    
    /*
     * Initialize drvSerial
     */
    status = drvSerialInitSts();
    
    if (status == S_drvSerial_noInit) {
        status = drvSerialInit();
        assert(status == OK);
    }
   
    status = drvSerialAttachLink( nameStr,
                                  drvNodeStreamIn,
                                  (void **)&pNode);
    
    if (status == S_drvSerial_noneAttached) {
        if ((pNode = (DRV_NODE *)malloc(sizeof(DRV_NODE))) != NULL) {
            for (i=0; i < NDELIMITERS; i++) {
                pNode->delimiter[i].valid_delimiter = 0;
                pNode->delimiter[i].in_dpos = 0;
            }
            pNode->bytes_remaining = 0;
            pNode->current_pos = (char *)NULL;
            
            status = drvSerialCreateLink( nameStr, drvNodeStreamIn,
                                          pNode, &(pNode->sioId));
            if (status != OK) {
                free(pNode);
                pNode = NULL;
            }
        }
    }
    return (pNode);
}

References:
Allen-Bradley serial support William Rambold

Navigate by Date:
Prev: Allen-Bradley serial support William Rambold
Next: RE: Allen-Bradley serial support Jeff Hill
Index: 1994  1995  1996  <19971998  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: Allen-Bradley serial support William Rambold
Next: RE: Allen-Bradley serial support Jeff Hill
Index: 1994  1995  1996  <19971998  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, 10 Aug 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·