DCO: Difference between revisions
Appearance
Mefistotelis (talk | contribs) initial page |
Mefistotelis (talk | contribs) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
''DCO'' stands for '''Data Controller Object'''. | ''DCO'' stands for '''Data Controller Object'''. | ||
''DCO''s are related to control of data flow within [[VI|VI files]]. They can be attached to [[DDO]]s in both [[Front Panel]] and [[Block Diagram]]. | ''DCO''s are related to control of data flow within [[VI|VI files]]. They can be attached to [[DDO]]s in both [[Front Panel]] and [[Block Diagram]]. | ||
Within [[VI|VI files]], ''DCO''s are stored as an array of [[Cluster]]s which is a part of [[Data Space]]. | |||
== DCO Cluster == | |||
Below are the [[Cluster]] fields which make up DCO within [[Data Space]]. | |||
{| class="wikitable" | |||
! Data Type | |||
! Field Name | |||
! Description | |||
|- | |||
|[[I16 data type|I16]] | |||
|dcoIndex | |||
|Index of the DCO currently being defined. DCOs are stored within VI files sorted by this index. | |||
|-- | |||
|[[U16 data type|U16]] | |||
|ipCon | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|syncDisplay | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|extraUsed | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|flat | |||
| | |||
|-- | |||
|[[I8 data type|I8]] | |||
|conNum | |||
| | |||
|-- | |||
|[[I32 data type|I32]] | |||
|flagDSO | |||
|[[Data Space]] Offset which is start of the data for the [[Type descriptor]] referenced by flagTMI. | |||
|-- | |||
|[[I32 data type|I32]] | |||
|flagTMI | |||
|Type Map Index which references [[Type descriptor]] containing flags. | |||
|-- | |||
|[[I32 data type|I32]] | |||
|defaultDataTMI | |||
|Type Map Index which references [[Type descriptor]] containing Default Data for the DCO. | |||
|-- | |||
|[[I32 data type|I32]] | |||
|extraDataTMI | |||
|Type Map Index which references [[Type descriptor]] containing Extra Data associated with the DCO. | |||
|-- | |||
|[[I32 data type|I32]] | |||
|dsSz | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|ddoWriteCode | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|ddoNeedsSubVIStartup | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|isIndicator | |||
|Boolean value which informs whether this DCO is a [[Control]] or an [[Indicator]]. | |||
|-- | |||
|[[U8 data type|U8]] | |||
|isScalar | |||
| | |||
|-- | |||
|[[I32 data type|I32]] | |||
|defaultDataOffset | |||
|Offset within the [[Data Space]] which is start of the data for the [[Type descriptor]] referenced by defaultDataTMI. | |||
|-- | |||
|[[I32 data type|I32]] | |||
|transferDataOffset | |||
| | |||
|-- | |||
|[[I32 data type|I32]] | |||
|extraDataOffset | |||
| | |||
|-- | |||
|[[I32 data type|I32]] | |||
|execDataPtrOffset | |||
| | |||
|-- | |||
|[[I32 data type|I32]] | |||
|eltDsSz | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|copyReq | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|local | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|feo | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|nDims | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|copyProcIdx | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|copyFromRtnIdx | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|misclFlags | |||
| | |||
|-- | |||
|[[U8 data type|U8]] | |||
|unusedFillerByte | |||
| | |||
|-- | |||
|[[I32 data type|I32]] | |||
|subTypeDSO | |||
| | |||
|-- | |||
|4 x [[U8 data type|U8]] | |||
|customCopyFromOffset | |||
| | |||
|-- | |||
|4 x [[U8 data type|U8]] | |||
|customCopyToOffset | |||
| | |||
|-- | |||
|4 x [[U8 data type|U8]] | |||
|customCopyOffset | |||
| | |||
|} | |||
[[Category:LabVIEW internals]] | [[Category:LabVIEW internals]] |
Latest revision as of 22:19, 5 August 2020
DCO stands for Data Controller Object. DCOs are related to control of data flow within VI files. They can be attached to DDOs in both Front Panel and Block Diagram.
Within VI files, DCOs are stored as an array of Clusters which is a part of Data Space.
DCO Cluster
Below are the Cluster fields which make up DCO within Data Space.
Data Type | Field Name | Description |
---|---|---|
I16 | dcoIndex | Index of the DCO currently being defined. DCOs are stored within VI files sorted by this index. |
U16 | ipCon | |
U8 | syncDisplay | |
U8 | extraUsed | |
U8 | flat | |
I8 | conNum | |
I32 | flagDSO | Data Space Offset which is start of the data for the Type descriptor referenced by flagTMI. |
I32 | flagTMI | Type Map Index which references Type descriptor containing flags. |
I32 | defaultDataTMI | Type Map Index which references Type descriptor containing Default Data for the DCO. |
I32 | extraDataTMI | Type Map Index which references Type descriptor containing Extra Data associated with the DCO. |
I32 | dsSz | |
U8 | ddoWriteCode | |
U8 | ddoNeedsSubVIStartup | |
U8 | isIndicator | Boolean value which informs whether this DCO is a Control or an Indicator. |
U8 | isScalar | |
I32 | defaultDataOffset | Offset within the Data Space which is start of the data for the Type descriptor referenced by defaultDataTMI. |
I32 | transferDataOffset | |
I32 | extraDataOffset | |
I32 | execDataPtrOffset | |
I32 | eltDsSz | |
U8 | copyReq | |
U8 | local | |
U8 | feo | |
U8 | nDims | |
U8 | copyProcIdx | |
U8 | copyFromRtnIdx | |
U8 | misclFlags | |
U8 | unusedFillerByte | |
I32 | subTypeDSO | |
4 x U8 | customCopyFromOffset | |
4 x U8 | customCopyToOffset | |
4 x U8 | customCopyOffset |