ZmGetSignalOutputDelay


Function

Get the measurement signal output delay time.

Format

Ret = ZmGetSignalOutputDelay ( Id , ChannelNo , Time )

Parameters

Id [ C, C++: short ] [ Python: ctypes.c_short ]
Specify the device ID retrieved from ZmInit.

ChannelNo [ C, C++ : unsigned short ] [ Python: ctypes.c_ushort ]
Specify the channel number.

Time [ C, C++:  float * ] [ Python: ctypes.POINTER(ctypes.c_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 [ C, C++: long ] [ Python: ctypes.c_long ]

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.

C, C++

long Ret;

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

Python

Ret = ctypes.c_long()

Time = ctypes.c_float()
Ret.value = czm.ZmGetSignalOutputDelay ( Id , 1 , ctypes.byref(Time) )
 

See Also

ZmSetSignalOutputDelay