ZmGetStartDelay


Function

Get the measurement start delay time.

Format

Ret = ZmGetStartDelay ( 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#: out float ]
Specify the variable address for storing the measurement start delay time. Get in msec unit.
If the measurement start delay function is disabled, this will be 0.0.

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.

The others (See also: Details of Error Code)

Initial Value

0.0 : Measurement start delay function is disabled

Remarks

Get the measurement start delay time.
Measurement start delay time is gotten for each channel.

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

Example

Gets the measurement start delay time for ChannelNo = 1.

VB.NET

Dim Ret As Integer

Dim Time As Single
Ret = ZmGetStartDelay ( Id , 1 , Time )
 

C, C++

long Ret;

float Time;
Ret = ZmGetStartDelay ( Id , 1 , &Time );
 

C#

int Ret;

float Time;
Ret = zm.GetStartDelay ( Id , 1 , out Time );
 

See Also

ZmSetStartDelay