ZmGetSignalOutputDelay


Function

Get the measurement signal output delay time.

Format

Ret = ZmGetSignalOutputDelay ( 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 signal output delay time. Get in msec unit.
If the measurement signal output 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 signal output delay function is disabled

Remarks

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

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

Example

Get the measurement signal output delay time for ChannelNo = 1.

VB.NET

Dim Ret As Integer

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

C, C++

long Ret;

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

C#

int Ret;

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

See Also

ZmSetSignalOutputDelay