conmbkrds.3alc - Man Page

converts MBK connector to RDS rectangle

Synopsis

 #include "rfmnnn.h"
  rdsrec_list ∗conmbkrds( Figure, Connector )
    rdsfig_list ∗Figure;
    phcon_list  ∗Connector;

Parameter

Figure

Rds Figure which has to receive the connector.

Connector

MBK connector to convert to RDS format.

Description

The conmbkrds function creates a RDS rectangle (connector) with a connector from MBK structure phcon_list. The RDS rectangle is added to the figure defined in parameter of the function.

Return Value

The pointer to the RDS rectangle created.

Errors

"Rds202: rdsalloc error, can't continue !"

it's impossible to allocate the memory size desired

Example

        #include "mphnnn.h"
        #include "mutnnn.h"
        #include "rdsnnn.h"
        #include "rfmnnn.h"
        #include "rtlnnn.h"
        typedef struct UserStruct
         {
           char ∗STRING;
           void ∗USER1;
         } UserStruct;
        main()
          {
            phfig_list  ∗MbkFigure;
            rdsfig_list ∗RdsFigure;
            rdsrec_list ∗Con;
            mbkenv();
            rdsenv();
            loadrdsparam();
            RdsFigure = addrdsfig ("core",sizeof ( UserStruct ) );
            MbkFigure->PHCON =
                addphcon ( MbkFigure,NORTH, "in_1", 9, 15, ALU1, 2);
            Con = conmbkrds (RdsFigure, MbkFigure->PHCON);
            . . .
          }

See Also

librfm, viewrfmcon, loadrdsparam

Info

October 1, 1997 ASIM/LIP6 RDS PHYSICAL FUNCTIONS