Header menu logo issie

LoadedComponent Type

Static data describing a schematic sheet loaded as a custom component. Every sheet is always identified with a file from which it is loaded/saved. Name is human readable (and is the filename - without extension) and identifies sheet. File path is the sheet directory and name (with extension). InputLabels, OutputLabels are the I/O connections. The I/O connection integers are bus widths. The I/O connection strings are human readable. The strings are guaranteed to be unique in the I/O connection list. I.e. An input label may be the same as an output label, but two input (or output) labels cannot be the same. The position in the I/O connections list is important as it implicitly indicates the port number. For example, the first element in the InputLabels list is related to the Component's Port with PortNumber 0. Two instances of a loaded component have the same LoadedComponent data.

Record fields

Record Field Description

CanvasState

Full Usage: CanvasState

Field type: CanvasState

F# equivalent of Diagram components and connections including layout

Field type: CanvasState

Description

Full Usage: Description

Field type: string option
Field type: string option

FilePath

Full Usage: FilePath

Field type: string

Complete file path, including name and dgm extension

Field type: string

Form

Full Usage: Form

Field type: CCForm option
Field type: CCForm option

InputLabels

Full Usage: InputLabels

Field type: (string * int) list

Input port names, and port numbers in any created custom component

Field type: (string * int) list

LCParameterSlots

Full Usage: LCParameterSlots

Field type: ParameterDefs option
Field type: ParameterDefs option

LoadedComponentIsOutOfDate

Full Usage: LoadedComponentIsOutOfDate

Field type: bool

If component needs saving to disk

Field type: bool

Name

Full Usage: Name

Field type: string

File name without extension = sheet name

Field type: string

OutputLabels

Full Usage: OutputLabels

Field type: (string * int) list

Output port names, and port numbers in any created custom component

Field type: (string * int) list

TimeStamp

Full Usage: TimeStamp

Field type: DateTime

When the component was last saved

Field type: DateTime

WaveInfo

Full Usage: WaveInfo

Field type: SavedWaveInfo option

Info on WaveSim settings

Field type: SavedWaveInfo option

Type something to start searching.