Opens a dialog box to define a logic gate.
The argument is a real array of length 3 and defines the initial settings for the box controls as follows:
Index | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|
0 | Number of inputs | ||||||||
1 | Propagation delay | ||||||||
2 |
Gate type:
|
Number | Type | Compulsory | Default | Description |
---|---|---|---|---|
1 |
real array |
Yes |
|
initial settings |
Return type: real array
The function returns a real array of length 3 with the same format as the argument described above. If the user selects Cancel the function returns an empty vector.
|