ZmSetStartDelay


Function

Set the measurement start delay time.

Format

Ret = ZmSetStartDelay ( Id , ChannelNo , Time )

Parameters

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.

Time [ VB.NET: Single ] [ C, C++: float ] [ C#: float ]
Specify the measurement start delay time in msec unit.
The setting range is 0.0 to 10.0. Valid up to the first decimal place.

If 0.0 is specified, the measurement start delay function will be disabled.

Return Value

Ret [ VB.NET: Integer ] [ C, C++: long ] [ C#: int ]

Definition

Value
[Dec]

Description

ZM_ERR_SUCCESS

0

Normality completion

ZM_ERR_SYS_CHANNEL_NO

20100

Channel No is out of the settable range.

ZM_ERR_SYS_TIME

20112

Time is out of the settable range.

The others (See also: Details of Error Code)

Initial Value

0.0 : Measurement start delay function is disabled

Remarks

Set the measurement start delay time.
Measurement start delay time can be set for each channel.

For details about measurement start delay, please refer to the glossary "Various Delays".

Example

Set the measurement start delay time to "0.1 msec" for ChannelNo = 1.

VB.NET

Dim Ret As Integer
Ret = ZmSetStartDelay ( Id , 1 , 0.1 )
 

C, C++

long Ret;
Ret = ZmSetStartDelay ( Id , 1 , 0.1 );
 

C#

int Ret;
Ret = zm.SetStartDelay ( Id , 1 , 0.1F );
 

See Also

ZmGetStartDelay