ZmSetSignalOutputDelay


Function

Set the measurement signal output delay time.

Format

Ret = ZmSetSignalOutputDelay ( 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 signal output 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 signal output 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 signal output delay function is disabled

Remarks

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

This setting is valid only when trigger synchronous output is enabled.
To enable trigger synchronous output, please refer to the ZmSetTriggerSyncEnable function.

For details about measurement signal output delay, please refer to the glossary "Various Delays".
For details about trigger synchronous output, please refer to the glossary "Trigger Synchronous Output".

Example

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

VB.NET

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

C, C++

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

C#

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

See Also

ZmGetSignalOutputDelay ZmSetTriggerSyncEnable