Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

setlores(3) [debian man page]

SETLORES(3)						       MBK LOGICAL FUNCTIONS						       SETLORES(3)

NAME
setlores - set the resistance value of a logical resistor ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "mlo.h" void setlores(ptfig,name,newresi) lofig_list *ptfig ; const char *name ; double newresi ; PARAMETERS
ptfig Pointer to the figure in which the resistor should be seeked name Instance name of the resistor newresi New resistance value DESCRIPTION
setlores looks in the list of resistors of the logical model pointed to by ptfig for a resistor identified by its instance name and set the RESI field to the newresi value. RETURN VALUE
None ERRORS
"*** mbk error *** setlores impossible : resistor name doesn't exist in figure ptfig -> NAME" No resistor matches the name. EXAMPLE
#include "mlo.h" void set_lores_value(char *figname,char *resname,double newresi) { setlores(getlofig(figname,'A'),resname,newresi) ; } SEE ALSO
mbk(1), lofig(3), lores(3), addlores(3), getlores(3), dellores(3). BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 August 14, 2002 SETLORES(3)

Check Out this Related Man Page

GENLIB_SET_LORES(3)					       MBK LOGICAL FUNCTIONS					       GENLIB_SET_LORES(3)

NAME
GENLIB_SET_LORES - set the resistance value of a logical resistor, after its creation. ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "mlo.h" void GENLIB_SET_LORES(figname,resname,newresi) char *figname ; char *resname ; double newresi ; PARAMETERS
figname Name of the logical figure resname Instance name of the resistor newresi New resistance value DESCRIPTION
GENLIB_SET_LORES looks in the list of resistors of the logical model figname for a resistor identified by its instance resname and set the RESI field to the newresi value. RETURN VALUE
None ERRORS
"*** mbk error *** getlores impossible : resistor name doesn't exist in figure ptfig -> NAME" No resistor matches the name. EXAMPLE
#include <genlib.h> int main(int argc,char *argv[]) { /* Create a figure to work on, a parallel resistor */ GENLIB_DEF_LOFIG("parallel_res") ; /* Define interface */ GENLIB_LOCON("i",IN,"input") ; GENLIB_LOCON("f",OUT,"output") ; /* Add resistors */ GENLIB_LORES(RESMIM,5.1,"input","output","res1") ; GENLIB_LORES(RESMIM,5.2,"input","output","res2") ; /* Modify resistors value */ GENLIB_SET_LORES("parallel_res","res1",6.2) ; GENLIB_SET_LORES("parallel_res","res2",6.3) ; /* Save all that on disk */ GENLIB_SAVE_LOFIG() ; return 0 ; } SEE ALSO
mbk(1), GENLIB_DEF_LOFIG(3), GENLIB_LORES(3) BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 August 14, 2002 GENLIB_SET_LORES(3)
Man Page