Set the equivalent circuit mode.
Ret = ZmSetCircuit ( Id , ChannelNo , Circuit )
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.
Circuit
[ VB.NET: UShort ] [ C, C++: unsigned short ] [ C#: ushort ]
Specify the equivalent circuit mode.
Definition |
Value |
Description |
ZM_CIRCUIT_AUTO |
0 |
Equivalent circuit mode AUTO |
ZM_CIRCUIT_SERIAL |
1 |
Equivalent circuit mode Serial equivalent circuit |
ZM_CIRCUIT_PARALLEL |
2 |
Equivalent circuit mode Parallel equivalent circuit |
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_CIRCUIT |
20105 |
Circuit is out of the settable range. |
The others (See also: Details of Error Code)
0 : Equivalent circuit mode AUTO
Set the equivalent circuit mode.
The equivalent circuit mode can be set for each channel.
When the equivalent circuit mode is set to auto, the equivalent circuit mode is automatically set according to the conditions for the correction.
For details about equivalent circuit mode, please refer to the glossary "Equivalent Circuit Mode".
Set ChannelNo = 1 to "1 : Equivalent circuit mode Serial equivalent circuit".
VB.NET |
Dim Ret As Integer |
C, C++ |
long Ret; |
C# |
int Ret; |