Get the measurement range.
Ret = ZmGetRange ( 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#: out ushort ]
Specify the variable address for storing the measurement range.
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. |
The others (See also: Details of Error Code)
3 : 4nF
Get the measurement range.
The measurement range is gotten for each channel.
Get the measurement range for ChannelNo = 1.
VB.NET |
Dim Ret As Integer Dim Range As UShort |
C, C++ |
long Ret; unsigned short Range; |
C# |
int Ret; |