Trees | Indices | Help |
|
---|
|
object --+ | RTDBItem
The RTDBItem class contains all the information known about a particular RTDB item. This information is made available via the object's properties. Some properties are common to all items: Name CVTType PointType NumElements MetaFlags (see NOTE1) Other properties are optional: LoggingPeriod A B EUMin EUMax EUMsgPeriod Units Description DefaultValue (see NOTE2) ColMajor (see NOTE2) Dimensions (see NOTE2) When a property is not defined for an item it will be set to None. NOTE1: MetaFlags bits are defined by the METAFL_* bit masks defined in the simwbConstants module. NOTE2: The Info dictionary contains these values as strings. For ease of use, they are returned as: Property String Return -------------------------------------------------- DefaultValue '[2.1 5.4 4.3]' -> [2.1, 5.4, 4.3] DefaultValue '6.9' -> 6.9 ColMajor '0' -> False ColMajor '1' -> True Dimensions '2x3x1' -> [2, 3, 1] Dimensions '7' -> 7
Instance Methods | |||
|
|||
|
|||
Inherited from |
Properties | |
A RTDB item EU scaling A in Ax+B (double) |
|
B RTDB item EU scaling B in Ax+B (double) |
|
CVTType RTDB item CVT type (string) |
|
ColMajor RTDB item is stored as column-major (bool) |
|
DefaultValue RTDB item default value (list, double) |
|
Description RTDB item description (string) |
|
Dimensions RTDB item dimension (list, int) |
|
EUMax RTDB item EU maximum value (double) |
|
EUMin RTDB item EU minimum value (double) |
|
EUMsgPeriod RTDB item EU out-of-bounds message period (int, cycles) |
|
Info RTDB item information (dictionary) |
|
LoggingPeriod RTDB item logging period (int, usec) |
|
MetaFlags RTDB item meta flags (int) |
|
Name RTDB item name (string) |
|
NumElements RTDB item number of elements (int) |
|
PointType RTDB item point type (string) |
|
Units RTDB item EU units (string) |
|
Value RTDB item current value (list, double) |
|
Inherited from |
Method Details |
x.__init__(...) initializes x; see help(type(x)) for signature
|
repr(x)
|
Property Details |
ARTDB item EU scaling A in Ax+B (double)
|
BRTDB item EU scaling B in Ax+B (double)
|
CVTTypeRTDB item CVT type (string)
|
ColMajorRTDB item is stored as column-major (bool)
|
DefaultValueRTDB item default value (list, double)
|
DescriptionRTDB item description (string)
|
DimensionsRTDB item dimension (list, int)
|
EUMaxRTDB item EU maximum value (double)
|
EUMinRTDB item EU minimum value (double)
|
EUMsgPeriodRTDB item EU out-of-bounds message period (int, cycles)
|
InfoRTDB item information (dictionary)
|
LoggingPeriodRTDB item logging period (int, usec)
|
MetaFlagsRTDB item meta flags (int)
|
NameRTDB item name (string)
|
NumElementsRTDB item number of elements (int)
|
PointTypeRTDB item point type (string)
|
UnitsRTDB item EU units (string)
|
ValueRTDB item current value (list, double)
|
Trees | Indices | Help |
|
---|
(c) Concurrent Real-Time | http://www.concurrent-rt.com |