COM Object Reference
Variable
Variable
Part with heading “Variable” describes necessary variables when using the object. It gives the description, data type, allowable range, preset value, unit, resolution, and notes for variable (italic) shown in the syntax.
Variables declared as the string data type (String) are case insensitive. For variables of the string type that indicate arguments (written as Param in the syntax), you can omit
The data types of the E5061A/E5062A COM objects include 5 types as shown in Table
Table | Data type |
| ||
|
|
|
|
|
Data type | Name |
| Consumed | Range |
|
|
| memory |
|
|
|
|
|
|
Long | Long integer |
| 4 bytes | |
| type |
|
|
|
|
|
|
|
|
Double | Double |
| 8 bytes | For a negative value: |
| precision |
|
| |
| floating point |
|
| For a positive value: |
| type |
|
| |
|
|
| ||
|
|
|
| |
|
|
|
|
|
Boolean | Boolean type |
| 2 bytes | |
|
|
|
|
|
String | Character |
| 1 | Up to approximately 2 billion characters |
| string type *1 |
| byte/alphan |
|
|
|
| umeric |
|
|
|
| character |
|
|
|
|
|
|
Variant | Variant type |
| 16 bytes | No limitation |
|
|
|
|
|
*1.For a fixed length string, declare the number of characters.
Examples
Part with heading “Examples” describes a simple example of how to use the object for coding with E5061A/E5062A VBA.
Related Objects
Part with heading “Related objects” describes related objects when using the object.
Chapter 7 | 89 |