Overview
Type:
|
Function
|
Available as of:
|
SystemInterface_1.32.6.0
|
Versions:
|
Current version
|
Task
Finding a symbol using the symbol name.
Description
Call: FC_SysSymFindByName(pszName); look up a symbol by name
Function: This routine searches a symbol table for a symbol matching a specified name. If the symbol is found, its value is returned. If multiple symbols have the same name but differ in type, the routine chooses the matching symbol most recently added to the symbol table.
Result: symbol value or -1
NOTE: This is an interface to VxWorks call symFindByName().
Interface
Input
|
Data type
|
Description
|
i_sName
|
STRING[80]
|
Name of the symbol searched for
|
Return Value
Data type
|
Description
|
DINT
|
-1: symbol was not found
Otherwise: address of the symbol
|