Specifications
528 Chapter 18
COM Interface Reference
Conventions of COM Interface
Conventions of COM Interface
Explanation
The section titled “Explanation” describes the method of controlling the E4991A with the
COM interface.
VB Syntax
The section titled “VB Syntax” describes the format to use for writing programs in Visual
Basic.
Parameter
The section titled “Parameter” describes the parameters required for the methods of COM
object.
Data types
Generally, the following data types can be used for the variables of an argument in COM
object. The data type of each variable can be declared before using the variable. If the data
type of a variable is not declared, it automatically becomes variant.
Data type Name
Memory
requirement
Range
Integer Integer type 2 bytes -32768 to 32767
Long Long integer
type
4 bytes -2147483648 to 2147483647
Single Single
precision
floating-point
type
4 bytes • In the case of negative value
-3.402823E38 to
-1.401298E-45
• In the case of positive value
1.401298E-45 to
3.402823E38
Double Double
precision
floating-point
type
8 bytes • In the case of negative value
-1.79769313486232E308 to
-4.94065645841247E-324
• In the case of positive value
-1.79769313486232E308 to
-4.94065645841247E-324
Boolean Boolean type 2 bytes 1 (True) or 0 (false)