Set the measurement signal level.
Ret = ZmSetLevel ( Id , ChannelNo , Level )
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.
Level [
VB.NET: UShort ] [ C, C++: unsigned short ] [ C#: ushort ]
Specify the measurement signal level.
Definition |
Value |
Description |
ZM_LEVEL_0_5_V |
0 |
Level 500mV |
ZM_LEVEL_1_V |
1 |
Level 1V |
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_LEVEL |
20102 |
Level is out of the settable range. |
The others (See also: Details of Error Code)
0 : Level 500mV
Set the measurement signal level.
The measurement signal level can be set for each channel.
Set the measurement signal level to "1 : Level 1V" for ChannelNo = 1.
VB.NET |
Dim Ret As Integer |
C, C++ |
long Ret; |
C# |
int Ret; |