Difference between revisions of "IXTdata source"
Jump to navigation
Jump to search
m |
|||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | |||
− | |||
The IXTdata_source object is designed to store the path of specific files (.txt .nvs .xml etc.) which can be used to populate any object in the data structure. Or even to store characteristics such as the type of instrument being populated (in this instance the path variable is irrelevant). | The IXTdata_source object is designed to store the path of specific files (.txt .nvs .xml etc.) which can be used to populate any object in the data structure. Or even to store characteristics such as the type of instrument being populated (in this instance the path variable is irrelevant). | ||
The elements of the object are as follows: | The elements of the object are as follows: | ||
− | + | {| {{Tablestyle}} | |
− | | | + | |- |
− | | | + | ! {{Headcellstyle}} | Element |
− | | | + | !{{Headcellstyle}} | Type |
− | | | + | ! {{Headcellstyle}} | Description |
− | + | |- | |
+ | | '''path (:)''' | ||
+ | | char (allocatable) | ||
+ | | file path to data file | ||
+ | |- | ||
+ | | ''' datatype (:)''' | ||
+ | | char (allocatable) | ||
+ | | type of data being stored in file | ||
+ | |- | ||
+ | | '''object_name(:)''' | ||
+ | | char (allocatable) | ||
+ | | name of object | ||
+ | |- | ||
+ | | '''counter''' | ||
+ | | int | ||
+ | | the number of items stored in the object | ||
+ | |} | ||
Line 25: | Line 39: | ||
The following operations may be performed on this data type: | The following operations may be performed on this data type: | ||
− | *[General Operations] | + | *[[General Operations]] |
− | *[Special Subroutines] | + | *[[Special Subroutines]] |
Class Specific Operations | Class Specific Operations | ||
− | * [IXFadditem_data_source] | + | * [[IXFadditem_data_source]] |
− | * [IXFdelitem_dat_source] | + | * [[IXFdelitem_dat_source]] |
− | * [IXFfindpath_data_source] | + | * [[IXFfindpath_data_source]] |
Latest revision as of 13:47, 4 August 2008
The IXTdata_source object is designed to store the path of specific files (.txt .nvs .xml etc.) which can be used to populate any object in the data structure. Or even to store characteristics such as the type of instrument being populated (in this instance the path variable is irrelevant).
The elements of the object are as follows:
Element | Type | Description |
---|---|---|
path (:) | char (allocatable) | file path to data file |
datatype (:) | char (allocatable) | type of data being stored in file |
object_name(:) | char (allocatable) | name of object |
counter | int | the number of items stored in the object |
F90 syntax
use IXMdata_source type(IXTdata_source):: dso type(IXTstatus):: status
The following operations may be performed on this data type:
Class Specific Operations