Set the measurement range.
Ret = ZmSetRange ( Id , ChannelNo , Range )
Id
[ VB.NET: Short ] [ C, C++: short ] [ C#: short ]
Specify the device ID retrieved from ZmInit.
ChannelNo
[ VB.NET: UShort ] [ C, C++: unsigned short ] [ C#: ushort ]
Specify the channel number.
Range [
VB.NET: UShort ] [ C, C++: unsigned short ] [ C#: ushort ]
Specify the measurement range.
Definition |
Value |
Description |
ZM_RANGE_4_NANO_F |
3 |
Range 4nF |
ZM_RANGE_40_NANO_F |
4 |
Range 40nF |
ZM_RANGE_400_NANO_F |
5 |
Range 400nF |
ZM_RANGE_4_MICRO_F |
6 |
Range 4uF |
ZM_RANGE_40_MICRO_F |
7 |
Range 40uF |
ZM_RANGE_400_MICRO_F |
8 |
Range 400uF |
ZM_RANGE_1_4_MILLI_F |
9 |
Range 1.4mF |
Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ]
Definition |
Value |
Description |
ZM_ERR_SUCCESS |
0 |
Normality completion |
ZM_ERR_SYS_CHANNEL_NO |
20100 |
Channel No is out of the settable range. |
ZM_ERR_SYS_RANGE |
20106 |
Range is out of the settable range. |
The others (See also: Details of Error Code)
3 : Range 4nF
Set the measurement range.
The measurement range can be set for each channel.
Set the measurement range to "3 : Range 4nF" for ChannelNo = 1. ChannelNo = 1の測定レンジを「3:レンジ4nF」に設定します。
VB.NET |
Dim Ret As Integer |
C, C++ |
long Ret; |
C# |
int Ret; |