labview的數(shù)據(jù)類型----無所不在的類型描述符 TYPE DESCRIPTOR
下面給出完整的類型描述符表:
Data Types
The following tables list numeric and nonnumeric data types, type codes, and type descriptors.
Data Type | Type Code (numbers in hexadecimal) | Type Descriptor (numbers in hexadecimal |
8-bit Integer | 01 | 0004xx01 |
16-bit Integer | 02 | 0004xx02 |
32-bit Integer | 03 | 0004xx03 |
64-bit Integer | 04 | 0004xx04 |
Unsigned 8-bit Integer | 05 | 0004xx05 |
Unsigned 16-bit Integer | 06 | 0004xx06 |
Unsigned 32-bit Integer | 07 | 0004xx07 |
Unsigned 64-bit Integer | 08 | 0004xx08 |
Single-Precision Floating-Point Number | 09 | 0004xx09 |
Double-Precision Floating-Point Number | 0A | 0004xx0A |
Extended-Precision Floating-Point Number | 0B | 0004xx0B |
Single-Precision Complex Floating-Point Number | 0C | 0004xx0C |
Double-Precision Complex Floating-Point Number | 0D | 0004xx0D |
Extended-Precision Complex Floating-Point Number | 0E | 0004xx0E |
Enumerated 8-bit Integer | 15 | xx15 |
Enumerated 16-bit Integer | 16 | xx16 |
Enumerated 32-bit Integer | 17 | xx17 |
Single-Precision Physical Quantity | 19 | xx19 |
Double-Precision Physical Quantity | 1A | xx1A |
Extended-Precision Physical Quantity | 1B | xx1B |
Single-Precision Complex Physical Quantity | 1C | xx1C |
Double-Precision Complex Physical Quantity | 1D | xx1D |
Extended-Precision Complex Physical Quantity | 1E | xx1E |
n=length;x=reserved; k=number; k pstrs=number of Pascal strings; k base-exp=number ofbase-exponent pairs. |
Data Type | Type Code (numbers in hexadecimal) | Type Descriptor (numbers in hexadecimal) |
Boolean | 21 | 0004xx21 |
String | 30 | 0008xx30 |
Path | 32 | 0008xx32 |
Picture | 33 | 0008xx33 |
Array | 40 | xx40 |
Cluster | 50 | xx50 |
Waveform | 54 | xx54 |
Refnum | 70 | |
Variant | 53 | xx53 |
n=length;x=reserved; k=number; k pstrs=number of Pascal strings; k base-exp=number of base-exponent pairs. A dim is a 32-bit integer. The following sections provide examples of data and type descriptors. |
OPENG中提供了大量的利用類型描述符的功能節(jié)點(diǎn),并且源代碼是完全開放的,仔細(xì)跟蹤它的程序設(shè)計(jì)方法對(duì)我們更好地理解LABVIEW非常有幫助.
評(píng)論