GenStopOperation


Function

Stop to output the waveform by C-WaveformGenerator.

Format

Ret = GenStopOperation ( AppId )

Parameters

AppId [ VB.NET: Short ] [ C++: short ] [ C#: short ] 

Specify Application ID retrieved by GenOpenApplication.

Return Value

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

Definition

Return Value

Description

GEN_ERR_SUCCESS

0

Normal completed

GEN_ERR_DEVICE_STOP

10009

Operation stop error occurred.

GEN_ERR_DEVICE

24001

Device condition error occurred.

GEN_ERR_RELAY

24002

Relay error occurred.

The others (See also: Error Code List)

Remarks

This function cannot be used with devices that are not supported by C-WaveformGenerator.

This function can be performed while the device is in operation.

Example

Stop the output of C-WaveformGenerator.

VB.NET

Dim Ret As Integer

Ret = GenStopOperation(AppId)

 

C++

long  Ret;

Ret = GenStopOperation(AppId);

 

C#

int Ret;

Ret = gen.StopOperation(AppId);

 

See Also

GenStartOperation