db_next_port()

Returns handle to the next port on the symbol for traversing the symbol; NULL if end of the list.

Syntax:

db_next_port (portHandle);

where

portHandle is a handle to a port. Note that a pin and port Handle are interchangeable. Use db_get_pin_attribute() to retrieve attributes relevant to pins or ports.

Example:
decl pHandle;
decl symHandle;
pHandle = db_get_symbol_attribute( symHandle, SYMB_PORT_HEAD);
while( pHandle )
{
   // do something with the handle
   pHandle = db_next_port(pHandle);
}
Where Used:

Schematic, Layout

 

Privacy Statement  | Terms of Use  | Legal | Contact Us  | © Agilent 2000-2008 

Contents
Additional Resources