StopOperation


Function

Stop the application's input and output.

Format

Ret = StopOperation (Arg1)

Parameters

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

Fixed to 0. (Reserved)

Return Value

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

Return Value

Description

0

Normal completed

24001

Device condition error occurred.

24002

Relay error occurred.

24003

Operation start 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 Long

Ret = c_fgen.StopOperation(0)

 

C++

long  Ret;

ICWaveformGeneratorPtr c_fgen;

Ret = c_fgen->StopOperation(0);

 

C#

int Ret;

Ret = c_fgen.StopOperation(0);

 

See Also

StartOperation