NAME
wire_unit -- create unit to ..
PROTOTYPE
unitptr wire_unit( unitptr u1, unitptr u2, field *psField1, field *psField2, int iColor, int iMode, unitptr uHost)
ARGUMENTS
- unitptr u1
- icon unit where wire starts
- unitptr u2
- icon unit where wire ends
- field *psField1
- field where wire starts
- field *psField2
- field where wire ends
- int iColor
- color of wire
- int iMode
- operating mode: 0: no initial connections 1: initial connections between matching fields & display in WireEditWdw 2: full set of connections 1. if iMode>=0, wire will be set up with initial connections between matching fields, and color for wire will be taken as iMode. Formed connections will be displayed in WireEditWdw. 2. If iMode< 0, no initial connections will be formed, no drawing in WireEditWdw will occur, and color will be taken as abs(iMode). Important: When loading wires, use case 2! [Mode 1 would "invent" additional connections!]
- unitptr uHost
- host unit
RETURN VALUE:
A pointer to the created unit or NULL in the case of an error.
INTERFACE OF CREATED UNIT:
- X_in[]:
- (packed input field 0)
- Y_in[]:
- (packed input field 1)
- Z_in[]:
- (packed input field 2)
- in_3[]:
- (packed input field 3)
- CTL_in[]:
- (control field)
- X_out[]:
- (packed output field 0)
- Y_out[]:
- (packed output field 1)
- Z_out[]:
- (packed output field 2)
- out_3[]:
- (packed output field 3)
EXECUTION OF CREATED UNIT:
INITIALIZATION:
DESCRIPTION:
CONTROL MODES:
EXAMPLES:
STATUS:
Preliminary.
SEE ALSO:
FILE
/local/homes/rhaschke/nst7/man/../o.linx86//../neosrc/neo3-1.c